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 ( const bool  _on,
boost::function< T > *  _cb 
)
inline

Constructor.

References EventConnection< T >::on.

Member Data Documentation

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

Callback function.

std::atomic_bool on

On/off value for the event callback.

Referenced by EventConnection< T >::EventConnection().


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