ROSaic
|
Derived class operating on a mosaic message level. 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) |
![]() | |
bool | wait (const boost::posix_time::time_duration &timeout) |
Private Attributes | |
Callback | func_ |
T | message_ |
Additional Inherited Members | |
![]() | |
boost::mutex | mutex_ |
boost::condition_variable | condition_ |
Derived class operating on a mosaic message level.
Definition at line 119 of file callbackhandlers.hpp.
typedef boost::function<void(const T&)> io_comm_mosaic::CallbackHandler_< T >::Callback |
Definition at line 121 of file callbackhandlers.hpp.
|
inline |
Definition at line 123 of file callbackhandlers.hpp.
|
inlinevirtual |
Definition at line 125 of file callbackhandlers.hpp.
Referenced by io_comm_mosaic::CallbackHandlers::poll().
|
inlinevirtual |
Implements io_comm_mosaic::CallbackHandler.
Definition at line 127 of file callbackhandlers.hpp.
References io_comm_mosaic::CallbackHandler::condition_, io_comm_mosaic::mosaicMessage::MessageID(), io_comm_mosaic::CallbackHandler::mutex_, and io_comm_mosaic::mosaicMessage::read().
|
private |
Definition at line 153 of file callbackhandlers.hpp.
|
private |
Definition at line 154 of file callbackhandlers.hpp.