client-cpp  0.10.0
kaa::KaaObservable< Signature, Key, Function > Class Template Reference

#include <KaaObservable.hpp>

Public Member Functions

 KaaObservable ()
 
 ~KaaObservable ()
 
bool addCallback (const Key &key, const Function &f)
 
void removeCallback (const Key &key)
 
template<typename... Args>
void operator() (Args &&...args)
 
bool isEmpty ()
 

Detailed Description

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

Definition at line 32 of file KaaObservable.hpp.

Constructor & Destructor Documentation

template<class Signature, class Key, class Function = std::function<Signature>>
kaa::KaaObservable< Signature, Key, Function >::KaaObservable ( )
inline

Definition at line 35 of file KaaObservable.hpp.

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

Definition at line 36 of file KaaObservable.hpp.

Member Function Documentation

template<class Signature, class Key, class Function = std::function<Signature>>
bool kaa::KaaObservable< Signature, Key, Function >::addCallback ( const Key &  key,
const Function &  f 
)
inline

Definition at line 38 of file KaaObservable.hpp.

template<class Signature, class Key, class Function = std::function<Signature>>
bool kaa::KaaObservable< Signature, Key, Function >::isEmpty ( )
inline

Definition at line 112 of file KaaObservable.hpp.

template<class Signature, class Key, class Function = std::function<Signature>>
template<typename... Args>
void kaa::KaaObservable< Signature, Key, Function >::operator() ( Args &&...  args)
inline

Definition at line 81 of file KaaObservable.hpp.

template<class Signature, class Key, class Function = std::function<Signature>>
void kaa::KaaObservable< Signature, Key, Function >::removeCallback ( const Key &  key)
inline

Definition at line 59 of file KaaObservable.hpp.


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