#include <C4Network2Stats.h>
Public Member Functions | |
C4Network2Stats () | |
~C4Network2Stats () override | |
void | ExecuteFrame () |
void | ExecuteSecond () |
void | ExecuteControlFrame () |
void | OnSec1Timer () override |
C4Graph * | GetGraphByName (const StdStrBuf &rszName, bool &rfIsTemp) |
Protected Attributes | |
C4GraphCollection | statPings |
C4GraphCollection | statControls |
C4GraphCollection | statActions |
int | SecondCounter |
int | ControlCounter |
Friends | |
class | C4Player |
class | C4Network2Client |
Definition at line 163 of file C4Network2Stats.h.
C4Network2Stats::C4Network2Stats | ( | ) |
Definition at line 300 of file C4Network2Stats.cpp.
References StdScheduler::Add(), C4GraphCollection::AddGraph(), Application, C4Network2::Clients, ControlCounter, C4Network2Client::CreateGraphs(), C4PlayerList::First, C4Network2ClientList::GetNextClient(), LoadResStr(), Network, C4Player::Next, Players, SecondCounter, C4GraphCollection::SetAverageTime(), C4Graph::SetColorDw(), C4Graph::SetTitle(), statActions, and statControls.
|
override |
Definition at line 323 of file C4Network2Stats.cpp.
References Application, C4Network2Client::ClearGraphs(), C4Network2::Clients, C4PlayerList::First, C4Network2ClientList::GetNextClient(), Network, C4Player::Next, Players, and StdScheduler::Remove().
void C4Network2Stats::ExecuteControlFrame | ( | ) |
Definition at line 353 of file C4Network2Stats.cpp.
References Control, ControlCounter, C4GameControl::ControlRate, C4PlayerList::First, C4Player::Next, Players, C4GraphCollection::SetMultiplier(), statActions, and statControls.
void C4Network2Stats::ExecuteFrame | ( | ) |
Definition at line 331 of file C4Network2Stats.cpp.
References C4ObjectList::ObjectCount(), Objects, and C4TableGraph::RecordValue().
void C4Network2Stats::ExecuteSecond | ( | ) |
Definition at line 336 of file C4Network2Stats.cpp.
References C4Network2::Clients, C4Game::FPS, Game, C4Network2IOConnection::getLag(), C4Network2Client::getMsgConn(), C4Network2ClientList::GetNextClient(), C4Network2IO::getProtIRate(), C4Network2IO::getProtORate(), C4Network2Client::getStatPing(), C4Network2::NetIO, Network, P_TCP, P_UDP, C4TableGraph::RecordValue(), and SecondCounter.
Referenced by OnSec1Timer().
Definition at line 375 of file C4Network2Stats.cpp.
References StdStrBuf::getData(), SEqualNoCase(), statActions, statControls, and statPings.
|
inlineoverridevirtual |
Implements C4ApplicationSec1Timer.
Definition at line 199 of file C4Network2Stats.h.
References ExecuteSecond().
|
friend |
Definition at line 188 of file C4Network2Stats.h.
|
friend |
Definition at line 187 of file C4Network2Stats.h.
|
protected |
Definition at line 185 of file C4Network2Stats.h.
Referenced by C4Network2Stats(), and ExecuteControlFrame().
|
protected |
Definition at line 184 of file C4Network2Stats.h.
Referenced by C4Network2Stats(), and ExecuteSecond().
|
protected |
Definition at line 182 of file C4Network2Stats.h.
Referenced by C4Network2Stats(), ExecuteControlFrame(), and GetGraphByName().
|
protected |
Definition at line 181 of file C4Network2Stats.h.
Referenced by C4Network2Stats(), ExecuteControlFrame(), and GetGraphByName().
|
protected |
Definition at line 178 of file C4Network2Stats.h.
Referenced by GetGraphByName().