My Project
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
mcrt_dataio::telemetry::LayoutBase Class Referenceabstract
Inheritance diagram for mcrt_dataio::telemetry::LayoutBase:
mcrt_dataio::telemetry::LayoutUtil mcrt_dataio::telemetry::LayoutCorePerf mcrt_dataio::telemetry::LayoutDevel

Public Types

using Arg = scene_rdl2::grid_util::Arg
 
using Parser = scene_rdl2::grid_util::Parser
 

Public Member Functions

 LayoutBase (std::shared_ptr< Overlay > overlay, std::shared_ptr< Font > font)
 
virtual const char * getName () const =0
 
virtual void drawMain (const DisplayInfo &info)=0
 
Parser & getParser ()
 

Protected Member Functions

void parserConfigure ()
 
std::string colFg (const C3 &c) const
 
std::string colBg (const C3 &c) const
 
std::string colReset () const
 
std::string strFps (float v) const
 
std::string strPct (float fraction) const
 
std::string strSec (float sec) const
 
std::string strMillisec (float millisec) const
 
std::string strByte (size_t size) const
 
std::string strBps (float bps) const
 
std::string strBar (unsigned barWidth, unsigned fontStepX, const std::string &title, float fraction, bool usageMode, unsigned *barStartOffsetPixX=nullptr, unsigned *barEndOffsetPixX=nullptr, unsigned *barHeight=nullptr) const
 
std::string strBool (bool flag) const
 
std::string strFrameStatus (const mcrt::BaseFrame::Status &status, const float renderPrepProgress) const
 
std::string strPassStatus (bool isCoarsePass) const
 
std::string strExecMode (const McrtNodeInfo::ExecMode &execMode) const
 
void drawBoxBar (unsigned leftX, unsigned leftY, unsigned barStartOffsetPixX, unsigned barEndOffsetPixX, unsigned barHeight, float fraction, const C3 &c, unsigned char alpha)
 
std::string showC3 (const C3 &c) const
 
unsigned char getArgC0255 (Arg &arg) const
 
C3 getArgC3 (Arg &arg) const
 

Protected Attributes

C3 mCharFg {255, 255, 255}
 
C3 mCharBg {0, 0, 0}
 
C3 mPanelBg {32, 32, 32}
 
float mPanelBgAlpha {200}
 
std::shared_ptr< OverlaymOverlay
 
std::shared_ptr< FontmFont
 
unsigned mMaxYLines {0}
 
unsigned mOffsetBottomPixY {0}
 
unsigned mStepPixY {0}
 
std::string mError
 
Parser mParser
 

The documentation for this class was generated from the following files: