EventConnection< T > Class Template Reference

#include <Event.hh>

Public Member Functions

 EventConnection (const bool _on, boost::function< T > *_cb)
 Constructor. More...
 

Public Attributes

std::shared_ptr< boost::function< T > > callback
 Callback function. More...
 
std::atomic_bool on
 On/off value for the event callback. More...
 

Constructor & Destructor Documentation

§ EventConnection()

EventConnection ( const bool  _on,
boost::function< T > *  _cb 
)
inline

Constructor.

Member Data Documentation

§ callback

std::shared_ptr<boost::function<T> > callback

Callback function.

§ on

std::atomic_bool on

On/off value for the event callback.


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