Public Member Functions | Protected Attributes | List of all members
ublox_gps::CallbackHandler Class Referenceabstract

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

#include <callback.h>

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

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...
 

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 Thu Jan 28 2021 03:13:52