client-cpp  0.7.4
kaa::KaaTimer< Signature, Function > Class Template Reference

#include <KaaTimer.hpp>

Public Member Functions

 KaaTimer (const std::string &timerName)
 
 ~KaaTimer ()
 
void start (std::size_t seconds, const Function &callback)
 
void stop ()
 

Detailed Description

template<class Signature, class Function = std::function<Signature>>
class kaa::KaaTimer< Signature, Function >

Definition at line 33 of file KaaTimer.hpp.

Constructor & Destructor Documentation

template<class Signature, class Function = std::function<Signature>>
kaa::KaaTimer< Signature, Function >::KaaTimer ( const std::string &  timerName)
inline

Definition at line 36 of file KaaTimer.hpp.

template<class Signature, class Function = std::function<Signature>>
kaa::KaaTimer< Signature, Function >::~KaaTimer ( )
inline

Definition at line 41 of file KaaTimer.hpp.

Member Function Documentation

template<class Signature, class Function = std::function<Signature>>
void kaa::KaaTimer< Signature, Function >::start ( std::size_t  seconds,
const Function &  callback 
)
inline

Definition at line 58 of file KaaTimer.hpp.

template<class Signature, class Function = std::function<Signature>>
void kaa::KaaTimer< Signature, Function >::stop ( )
inline

Definition at line 84 of file KaaTimer.hpp.


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