MistServer  2.5.3-Pro-19-gf5e75b1 ( Generic_64)
Public Member Functions | Data Fields
Controller::statStorage Class Reference

#include <controller_statistics.h>

Public Member Functions

statLoggetDataFor (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, statLoglog
 

Member Function Documentation

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.

Todo:
Remove least interesting data first.

Field Documentation

std::map<unsigned long long, statLog> Controller::statStorage::log

The documentation for this class was generated from the following files: