Public Member Functions | Protected Attributes
ublox_gps::CallbackHandler Class Reference

A callback handler for a u-blox message. More...

#include <callback.h>

Inheritance diagram for ublox_gps::CallbackHandler:
Inheritance graph
[legend]

List of all members.

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.

Detailed Description

A callback handler for a u-blox message.

Definition at line 43 of file callback.h.


Member Function Documentation

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.


Member Data Documentation

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.


The documentation for this class was generated from the following file:


ublox_gps
Author(s): Johannes Meyer
autogenerated on Fri Jun 14 2019 19:26:13