iFun Engine API  1.0.0-b6053
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_path, const int32_t &value)
 
FUNAPI_DLL_VISIBILITY void fun::DecreaseCounterBy (const string &counter_type, const string &counter_path, const int64_t &value)
 
FUNAPI_DLL_VISIBILITY void fun::DecreaseCounterBy (const string &counter_type, const string &counter_path, const double &value)
 
FUNAPI_DLL_VISIBILITY void fun::IncreaseCounterBy (const string &counter_type, const string &counter_path, const int32_t &value)
 
FUNAPI_DLL_VISIBILITY void fun::IncreaseCounterBy (const string &counter_type, const string &counter_path, const int64_t &value)
 
FUNAPI_DLL_VISIBILITY void fun::IncreaseCounterBy (const string &counter_type, const string &counter_path, const double &value)
 
FUNAPI_DLL_VISIBILITY void fun::MonitorCounter (const string &counter_type, const string &counter_path, double threshold)
 
FUNAPI_DLL_VISIBILITY Json fun::ReadAllCounters ()
 
FUNAPI_DLL_VISIBILITY double fun::ReadCounterAsDouble (const string &counter_type, const string &counter_path)
 
FUNAPI_DLL_VISIBILITY int64_t fun::ReadCounterAsInteger (const string &counter_type, const string &counter_path)
 
FUNAPI_DLL_VISIBILITY string fun::ReadCounterAsString (const string &counter_type, const string &counter_path)
 
FUNAPI_DLL_VISIBILITY void fun::RegisterCallableCounter (const string &counter_type, const string &counter_path, const string &desc, const CounterCallback &value_cb)
 
FUNAPI_DLL_VISIBILITY void fun::UpdateCounter (const string &counter_type, const string &counter_path, const int32_t &value)
 
FUNAPI_DLL_VISIBILITY void fun::UpdateCounter (const string &counter_type, const string &counter_path, const int64_t &value)
 
FUNAPI_DLL_VISIBILITY void fun::UpdateCounter (const string &counter_type, const string &counter_path, const double &value)
 
FUNAPI_DLL_VISIBILITY void fun::UpdateCounter (const string &counter_type, const string &counter_path, const string &value)
 
FUNAPI_DLL_VISIBILITY void fun::UpdateCounter (const string &counter_type, const string &counter_path, const string &description, const int32_t &value)
 
FUNAPI_DLL_VISIBILITY void fun::UpdateCounter (const string &counter_type, const string &counter_path, const string &description, const int64_t &value)
 
FUNAPI_DLL_VISIBILITY void fun::UpdateCounter (const string &counter_type, const string &counter_path, const string &description, const double &value)
 
FUNAPI_DLL_VISIBILITY void fun::UpdateCounter (const string &counter_type, const string &counter_path, const string &description, const string &value)