|
ROSaic
|
Abstract class representing a generic callback handler, includes high-level functionality such as wait. More...
#include <callbackhandlers.hpp>


Public Types | |
| typedef boost::function< void(const T &)> | Callback |
Public Member Functions | |
| CallbackHandler (const Callback &func=Callback()) | |
| virtual const T & | Get () |
| void | Handle (mosaicMessage &mMessage, std::string message_key) |
Public Member Functions inherited from io_comm_mosaic::AbstractCallbackHandler | |
| bool | Wait (const boost::posix_time::time_duration &timeout) |
Private Attributes | |
| Callback | func_ |
| T | message_ |
Additional Inherited Members | |
Protected Attributes inherited from io_comm_mosaic::AbstractCallbackHandler | |
| boost::mutex | mutex_ |
| boost::condition_variable | condition_ |
Abstract class representing a generic callback handler, includes high-level functionality such as wait.
Derived class operating on a ROS message level.
Definition at line 133 of file callbackhandlers.hpp.
| typedef boost::function<void(const T&)> io_comm_mosaic::CallbackHandler< T >::Callback |
Definition at line 136 of file callbackhandlers.hpp.
|
inline |
Definition at line 138 of file callbackhandlers.hpp.
|
inlinevirtual |
Definition at line 140 of file callbackhandlers.hpp.
|
inlinevirtual |
Implements io_comm_mosaic::AbstractCallbackHandler.
Definition at line 142 of file callbackhandlers.hpp.
References io_comm_mosaic::AbstractCallbackHandler::condition_, io_comm_mosaic::mosaicMessage::MessageID(), io_comm_mosaic::AbstractCallbackHandler::mutex_, and io_comm_mosaic::mosaicMessage::Read().

|
private |
Definition at line 169 of file callbackhandlers.hpp.
|
private |
Definition at line 170 of file callbackhandlers.hpp.
1.8.13