![]() |
Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
ENet connection statistics profiler table. More...
#include <NetStats.h>


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