A callback handler for a u-blox message. More...
#include <callback.h>
Public Member Functions | |
virtual void | handle (ublox::Reader &reader)=0 |
Decode the u-blox message. | |
bool | wait (const boost::posix_time::time_duration &timeout) |
Wait for on the condition. | |
Protected Attributes | |
boost::condition_variable | condition_ |
Condition for the handler lock. | |
boost::mutex | mutex_ |
Lock for the handler. |
A callback handler for a u-blox message.
Definition at line 43 of file callback.h.
virtual void ublox_gps::CallbackHandler::handle | ( | ublox::Reader & | reader | ) | [pure virtual] |
Decode the u-blox message.
Implemented in ublox_gps::CallbackHandler_< T >.
bool ublox_gps::CallbackHandler::wait | ( | const boost::posix_time::time_duration & | timeout | ) | [inline] |
Wait for on the condition.
Definition at line 53 of file callback.h.
boost::condition_variable ublox_gps::CallbackHandler::condition_ [protected] |
Condition for the handler lock.
Definition at line 60 of file callback.h.
boost::mutex ublox_gps::CallbackHandler::mutex_ [protected] |
Lock for the handler.
Definition at line 59 of file callback.h.