Base class for a binary message.
More...
#include <UBX.hh>
|
const Class_ID | cls (void) const |
| Getter method for the message class. More...
|
|
const uint8_t | id (void) const |
| Getter method for the message ID. More...
|
|
virtual | ~Message () |
| Virtual destructor to force polymorphism. More...
|
|
template<typename T > |
bool | isa (void) const |
| Check the type of an object. More...
|
|
template<typename T > |
T * | cast_as (void) |
| Recast this object to another type. More...
|
|
Base class for a binary message.
Definition at line 130 of file UBX.hh.
UBX::Message::Message |
( |
Class_ID |
cls, |
|
|
uint8_t |
id |
|
) |
| |
|
inlineprotected |
Constructor.
- Parameters
-
cls | Class for this message |
id | ID for this message |
Definition at line 140 of file UBX.hh.
const Class_ID UBX::Message::cls |
( |
void |
| ) |
const |
|
inline |
Getter method for the message class.
Definition at line 146 of file UBX.hh.
const uint8_t UBX::Message::id |
( |
void |
| ) |
const |
|
inline |
Getter method for the message ID.
Definition at line 149 of file UBX.hh.
uint8_t UBX::Message::_id |
|
protected |
The documentation for this class was generated from the following file: