KISSCPP
a C++ library for rapid application development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Static Public Member Functions | List of all members
kisscpp::StatsKeeper Class Reference

#include <statskeeper.hpp>

Public Member Functions

void start ()
 
void stop ()
 
 ~StatsKeeper ()
 
void setStatValue (std::string id, double value=0)
 
void increment (std::string id, double value=1)
 
void decrement (std::string id, double value=1)
 
void addStatableQueue (std::string id, sharedStatAbleQ ssq)
 
SharedStatsMapType getCurrentStats ()
 
SharedStatsMapType getLastGatheredStats ()
 
SharedStatsHistoryMapType getFullStatsHistory ()
 

Static Public Member Functions

static StatsKeeperinstance (unsigned long int gp=300, unsigned long int hl=12)
 

Constructor & Destructor Documentation

kisscpp::StatsKeeper::~StatsKeeper ( )
inline

Here is the call graph for this function:

Member Function Documentation

void kisscpp::StatsKeeper::addStatableQueue ( std::string  id,
sharedStatAbleQ  ssq 
)
void kisscpp::StatsKeeper::decrement ( std::string  id,
double  value = 1 
)
SharedStatsMapType kisscpp::StatsKeeper::getCurrentStats ( )
SharedStatsHistoryMapType kisscpp::StatsKeeper::getFullStatsHistory ( )
SharedStatsMapType kisscpp::StatsKeeper::getLastGatheredStats ( )
void kisscpp::StatsKeeper::increment ( std::string  id,
double  value = 1 
)
StatsKeeper * kisscpp::StatsKeeper::instance ( unsigned long int  gp = 300,
unsigned long int  hl = 12 
)
static

Here is the caller graph for this function:

void kisscpp::StatsKeeper::setStatValue ( std::string  id,
double  value = 0 
)
void kisscpp::StatsKeeper::start ( )
void kisscpp::StatsKeeper::stop ( )

Here is the caller graph for this function:


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