Callback helper Template. More...
#include <transport/transport.hh>
Public Member Functions | |
CallbackHelperT (const boost::function< void(const M const > &)*&_cb) | |
Constructor. | |
std::string | GetMsgType () const |
Get the typename of the message that is handled. | |
virtual bool | HandleData (const std::string &_newdata) |
Process new incoming data. | |
virtual bool | IsLocal () const |
Is the callback local? | |
Public Member Functions inherited from gazebo::transport::CallbackHelper | |
CallbackHelper () | |
Constructor. | |
virtual | ~CallbackHelper () |
Destructor. | |
bool | GetLatching () const |
Is the callback latching? | |
Additional Inherited Members | |
Protected Attributes inherited from gazebo::transport::CallbackHelper | |
bool | latching |
Callback helper Template.
|
inline |
Constructor.
[in] | _cb | boost function to call on incoming messages |
|
inlinevirtual |
Get the typename of the message that is handled.
Reimplemented from gazebo::transport::CallbackHelper.
|
inlinevirtual |
Process new incoming data.
[in] | _newdata | Incoming data to be processed |
Implements gazebo::transport::CallbackHelper.
|
inlinevirtual |
Is the callback local?
Implements gazebo::transport::CallbackHelper.