#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... | |
|
inline |
Constructor.
References EventConnection< T >::on.
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().