iFun Engine API  1.0.0-b5008
Great Technology for Great Games
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

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