Pyrogenesis
trunk
|
ENet connection statistics profiler table. More...
#include <NetStats.h>
Public Member Functions | |
CNetStatsTable () | |
CNetStatsTable (const ENetPeer *peer) | |
virtual CStr | GetName () |
GetName: Short descriptive name of this table (should be static). More... | |
virtual CStr | GetTitle () |
GetTitle: Longer, explanatory text (can be dynamic). More... | |
virtual size_t | GetNumberRows () |
GetNumberRows. More... | |
virtual const std::vector< ProfileColumn > & | GetColumns () |
GetColumnDescriptions. More... | |
virtual CStr | GetCellText (size_t row, size_t col) |
GetCellText. More... | |
virtual AbstractProfileTable * | GetChild (size_t row) |
GetChild: Return a row's child table if the child is expandable. More... | |
void | LatchHostState (const ENetHost *host) |
Public Member Functions inherited from AbstractProfileTable | |
virtual | ~AbstractProfileTable () |
virtual bool | IsHighlightRow (size_t row) |
IsHighlightRow. More... | |
Private Member Functions | |
NONCOPYABLE (CNetStatsTable) | |
Private Attributes | |
const ENetPeer * | m_Peer |
std::vector< ProfileColumn > | m_ColumnDescriptions |
CMutex | m_Mutex |
std::vector< std::vector< CStr > > | m_LatchedData |
ENet connection statistics profiler table.
Thread-safety:
CNetStatsTable::CNetStatsTable | ( | ) |
CNetStatsTable::CNetStatsTable | ( | const ENetPeer * | peer | ) |
|
virtual |
GetCellText.
row | Row index (the first row has index 0). |
col | Column index (the first column has index 0). |
Implements AbstractProfileTable.
|
virtual |
GetChild: Return a row's child table if the child is expandable.
row | Row index (the first row has index 0). |
Implements AbstractProfileTable.
|
virtual |
GetColumnDescriptions.
Implements AbstractProfileTable.
|
virtual |
GetName: Short descriptive name of this table (should be static).
Implements AbstractProfileTable.
|
virtual |
|
virtual |
GetTitle: Longer, explanatory text (can be dynamic).
Implements AbstractProfileTable.
void CNetStatsTable::LatchHostState | ( | const ENetHost * | host | ) |
|
private |
|
private |
|
private |
|
private |
|
private |