Pyrogenesis
13997
|
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) |
![]() | |
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:
Definition at line 36 of file NetStats.h.
CNetStatsTable::CNetStatsTable | ( | ) |
Definition at line 45 of file NetStats.cpp.
CNetStatsTable::CNetStatsTable | ( | const ENetPeer * | peer | ) |
Definition at line 40 of file NetStats.cpp.
|
virtual |
GetCellText.
row | Row index (the first row has index 0). |
col | Column index (the first column has index 0). |
Implements AbstractProfileTable.
Definition at line 86 of file NetStats.cpp.
|
virtual |
GetChild: Return a row's child table if the child is expandable.
row | Row index (the first row has index 0). |
Implements AbstractProfileTable.
Definition at line 122 of file NetStats.cpp.
|
virtual |
GetColumnDescriptions.
Implements AbstractProfileTable.
Definition at line 68 of file NetStats.cpp.
|
virtual |
GetName: Short descriptive name of this table (should be static).
Implements AbstractProfileTable.
Definition at line 50 of file NetStats.cpp.
|
virtual |
GetNumberRows.
Implements AbstractProfileTable.
Definition at line 63 of file NetStats.cpp.
|
virtual |
GetTitle: Longer, explanatory text (can be dynamic).
Implements AbstractProfileTable.
Definition at line 55 of file NetStats.cpp.
void CNetStatsTable::LatchHostState | ( | const ENetHost * | host | ) |
Definition at line 127 of file NetStats.cpp.
|
private |
|
private |
Definition at line 54 of file NetStats.h.
|
private |
Definition at line 57 of file NetStats.h.
|
private |
Definition at line 56 of file NetStats.h.
|
private |
Definition at line 53 of file NetStats.h.