Class nptool::Counter
Inherited by the following classes: nptool::Application
Public Functions
| Type | Name |
|---|---|
| Counter () |
|
| std::shared_ptr< uint64_t > | CreateCounter (std::string token, std::string name, std::string unit="") |
| std::shared_ptr< uint64_t > | GetCounter (std::string token) |
| std::string & | GetString (const std::string & token) |
| void | IncrementCounter (const std::string & token) |
| void | UpdateCounter (const std::string & token, const unsigned long long & val) |
| void | UpdateProgress (double val) |
| ~Counter () |
Public Functions Documentation
function Counter
inline nptool::Counter::Counter ()
function CreateCounter
std::shared_ptr< uint64_t > nptool::Counter::CreateCounter (
std::string token,
std::string name,
std::string unit=""
)
function GetCounter
inline std::shared_ptr< uint64_t > nptool::Counter::GetCounter (
std::string token
)
function GetString
inline std::string & nptool::Counter::GetString (
const std::string & token
)
function IncrementCounter
inline void nptool::Counter::IncrementCounter (
const std::string & token
)
function UpdateCounter
inline void nptool::Counter::UpdateCounter (
const std::string & token,
const unsigned long long & val
)
function UpdateProgress
inline void nptool::Counter::UpdateProgress (
double val
)
function ~Counter
inline nptool::Counter::~Counter ()
The documentation for this class was generated from the following file src/core/NPCounter.h