Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
Class AbstractProfileTable: Profile table data model. More...
#include <ProfileViewer.h>
Public Member Functions | |
virtual | ~AbstractProfileTable () |
virtual CStr | GetName ()=0 |
GetName: Short descriptive name of this table (should be static). More... | |
virtual CStr | GetTitle ()=0 |
GetTitle: Longer, explanatory text (can be dynamic). More... | |
virtual size_t | GetNumberRows ()=0 |
GetNumberRows. More... | |
virtual const std::vector< ProfileColumn > & | GetColumns ()=0 |
GetColumnDescriptions. More... | |
virtual CStr | GetCellText (size_t row, size_t col)=0 |
GetCellText. More... | |
virtual AbstractProfileTable * | GetChild (size_t row)=0 |
GetChild: Return a row's child table if the child is expandable. More... | |
virtual bool | IsHighlightRow (size_t row) |
IsHighlightRow. More... | |
Class AbstractProfileTable: Profile table data model.
Clients that wish to display debug information in the profile viewer have to implement this class and hook it into CProfileViewer.
Note that the profiling system is robust against deletion of object instances in the sense that it will automatically remove an AbstractProfileTable instance from its internal records when you delete it. Conversely, deleting an AbstractProfileTable instance is the responsibility of its creator.
|
virtual |
|
pure virtual |
GetCellText.
row | Row index (the first row has index 0). |
col | Column index (the first column has index 0). |
Implemented in CNetStatsTable, CProfileNodeTable, anonymous_namespace{Renderer.cpp}::CRendererStatsTable, and CScriptStatsTable.
|
pure virtual |
GetChild: Return a row's child table if the child is expandable.
row | Row index (the first row has index 0). |
Implemented in CNetStatsTable, CProfileNodeTable, anonymous_namespace{Renderer.cpp}::CRendererStatsTable, and CScriptStatsTable.
|
pure virtual |
GetColumnDescriptions.
Implemented in CNetStatsTable, CProfileNodeTable, anonymous_namespace{Renderer.cpp}::CRendererStatsTable, and CScriptStatsTable.
|
pure virtual |
GetName: Short descriptive name of this table (should be static).
Implemented in CNetStatsTable, CProfileNodeTable, anonymous_namespace{Renderer.cpp}::CRendererStatsTable, and CScriptStatsTable.
|
pure virtual |
GetNumberRows.
Implemented in CNetStatsTable, CProfileNodeTable, anonymous_namespace{Renderer.cpp}::CRendererStatsTable, and CScriptStatsTable.
|
pure virtual |
GetTitle: Longer, explanatory text (can be dynamic).
Implemented in CNetStatsTable, CProfileNodeTable, anonymous_namespace{Renderer.cpp}::CRendererStatsTable, and CScriptStatsTable.
|
inlinevirtual |
IsHighlightRow.
row | Row index (the first row has index 0). |
Reimplemented in CProfileNodeTable.