MistServer
2.5.3-Pro-19-gf5e75b1 ( Generic_64)
|
#include <controller_statistics.h>
Public Member Functions | |
statLog & | getDataFor (unsigned long long) |
Returns a reference to the most current data available at timestamp t. More... | |
bool | hasDataFor (unsigned long long) |
Returns true if there is data available for timestamp t. More... | |
void | update (IPC::statExchange &data) |
This function is called by parseStatistics. More... | |
Data Fields | |
std::map< unsigned long long, statLog > | log |
Controller::statLog & Controller::statStorage::getDataFor | ( | unsigned long long | t | ) |
Returns a reference to the most current data available at timestamp t.
bool Controller::statStorage::hasDataFor | ( | unsigned long long | t | ) |
Returns true if there is data available for timestamp t.
void Controller::statStorage::update | ( | IPC::statExchange & | data | ) |
This function is called by parseStatistics.
It updates the internally saved statistics data.
std::map<unsigned long long, statLog> Controller::statStorage::log |