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. More... | |
bool | wait (const boost::posix_time::time_duration &timeout) |
Wait for on the condition. More... | |
Protected Attributes | |
boost::condition_variable | condition_ |
Condition for the handler lock. More... | |
boost::mutex | mutex_ |
Lock for the handler. More... | |
A callback handler for a u-blox message.
Definition at line 43 of file callback.h.
|
pure virtual |
Decode the u-blox message.
Implemented in ublox_gps::CallbackHandler_< T >.
|
inline |
Wait for on the condition.
Definition at line 53 of file callback.h.
|
protected |
Condition for the handler lock.
Definition at line 60 of file callback.h.
|
protected |
Lock for the handler.
Definition at line 59 of file callback.h.