Public Member Functions | Public Attributes | List of all members
gazebo::event::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

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

Constructor.

Member Data Documentation

template<typename T >
std::shared_ptr<boost::function<T> > gazebo::event::EventConnection< T >::callback

Callback function.

template<typename T >
std::atomic_bool gazebo::event::EventConnection< T >::on

On/off value for the event callback.


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