22 #ifndef INCLUDED_PROFILE_VIEWER 23 #define INCLUDED_PROFILE_VIEWER 71 virtual CStr GetName() = 0;
78 virtual CStr GetTitle() = 0;
86 virtual size_t GetNumberRows() = 0;
93 virtual const std::vector<ProfileColumn>& GetColumns() = 0;
103 virtual CStr GetCellText(
size_t row,
size_t col) = 0;
194 void ShowTable(
const CStr& table);
200 #define g_ProfileViewer CProfileViewer::GetSingleton()
Definition: ProfileViewer.cpp:40
Class AbstractProfileTable: Profile table data model.
Definition: ProfileViewer.h:61
Class CProfileViewer: Manage and display profiling tables.
Definition: ProfileViewer.h:131
#define UNUSED2(param)
mark a function local variable or parameter as unused and avoid the corresponding compiler warning...
Definition: code_annotation.h:56
Definition: Canvas2D.h:35
CProfileViewerInternals * m
Definition: ProfileViewer.h:197
ProfileColumn(const CStr &t, size_t w)
Definition: ProfileViewer.h:44
Struct ProfileColumn: Describes one column of an AbstractProfileTable.
Definition: ProfileViewer.h:36
CStr title
Title of the column.
Definition: ProfileViewer.h:39
Template base class for singletons.
Definition: Singleton.h:33
virtual bool IsHighlightRow(size_t row)
IsHighlightRow.
Definition: ProfileViewer.h:122
size_t width
Recommended width of the column, in pixels.
Definition: ProfileViewer.h:42