client-cpp  0.6.3
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)
 

Detailed Description

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

Definition at line 30 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 33 of file KaaObservable.hpp.

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

Definition at line 34 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 36 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 71 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 53 of file KaaObservable.hpp.


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