iFun Engine API  1.0.0-b2601
Great Technology for Great Games
 All Classes Files Functions Variables Typedefs Macros
Typedefs | Functions
counter.h File Reference
#include <boost/asio/ip/address.hpp>
#include <funapi/common/json.h>
#include <funapi/network/http_util.h>
#include <funapi/types.h>

Go to the source code of this file.

Typedefs

typedef boost::function
< http::StatusCode(const
string &, const string &, Json *)> 
fun::CounterCallback
 

Functions

void fun::DecreaseCounterBy (const string &counter_type, const string &counter_id, const int32_t &value)
 
void fun::DecreaseCounterBy (const string &counter_type, const string &counter_id, const int64_t &value)
 
void fun::DecreaseCounterBy (const string &counter_type, const string &counter_id, const double &value)
 
void fun::IncreaseCounterBy (const string &counter_type, const string &counter_id, const int32_t &value)
 
void fun::IncreaseCounterBy (const string &counter_type, const string &counter_id, const int64_t &value)
 
void fun::IncreaseCounterBy (const string &counter_type, const string &counter_id, const double &value)
 
void fun::MonitorCounter (const string &counter_type, const string &counter_id, double threshold)
 
double fun::ReadCounterAsDouble (const string &counter_type, const string &counter_id)
 
int64_t fun::ReadCounterAsInteger (const string &counter_type, const string &counter_id)
 
string fun::ReadCounterAsString (const string &counter_type, const string &counter_id)
 
void fun::RegisterCallableCounter (const string &counter_type, const string &counter_id, const string &desc, const CounterCallback &value_cb)
 
void fun::UpdateCounter (const string &counter_type, const string &counter_id, const int32_t &value)
 
void fun::UpdateCounter (const string &counter_type, const string &counter_id, const int64_t &value)
 
void fun::UpdateCounter (const string &counter_type, const string &counter_id, const double &value)
 
void fun::UpdateCounter (const string &counter_type, const string &counter_id, const string &value)
 
void fun::UpdateCounter (const string &counter_type, const string &counter_id, const string &description, const int32_t &value)
 
void fun::UpdateCounter (const string &counter_type, const string &counter_id, const string &description, const int64_t &value)
 
void fun::UpdateCounter (const string &counter_type, const string &counter_id, const string &description, const double &value)
 
void fun::UpdateCounter (const string &counter_type, const string &counter_id, const string &description, const string &value)