Class CallbackHandler

Inheritance Relationships

Derived Type

Class Documentation

class CallbackHandler

A callback handler for a u-blox message.

Subclassed by ublox_gps::CallbackHandler_< T >

Public Functions

virtual void handle(ublox::Reader &reader) = 0

Decode the u-blox message.

inline bool wait(const std::chrono::milliseconds &timeout)

Wait for on the condition.

Protected Attributes

std::mutex mutex_

Lock for the handler.

std::condition_variable condition_

Condition for the handler lock.