Keeps track of which class and message IDs can be decoded by a given message type. More...
#include <serialization.h>
Classes | |
struct | StaticKeyInitializer |
Static Public Member Functions | |
static void | addKey (uint8_t class_id, uint8_t message_id) |
Indicate that this message type can decode u-blox messages with the given ID. | |
static bool | canDecode (uint8_t class_id, uint8_t message_id) |
Can this message type decode a u-blox message with the given ID? | |
Static Private Attributes | |
static std::vector< std::pair < uint8_t, uint8_t > > | keys_ |
Keeps track of which class and message IDs can be decoded by a given message type.
Definition at line 103 of file serialization.h.
static void ublox::Message< T >::addKey | ( | uint8_t | class_id, |
uint8_t | message_id | ||
) | [inline, static] |
Indicate that this message type can decode u-blox messages with the given ID.
class_id | the class ID of the u-blox message |
message_id | the message ID of the u-blox message |
Definition at line 122 of file serialization.h.
static bool ublox::Message< T >::canDecode | ( | uint8_t | class_id, |
uint8_t | message_id | ||
) | [inline, static] |
Can this message type decode a u-blox message with the given ID?
class_id | the class ID of the u-blox message |
message_id | the message ID of the u-blox message |
Definition at line 111 of file serialization.h.
std::vector<std::pair<uint8_t,uint8_t> > ublox::Message< T >::keys_ [static, private] |
Definition at line 134 of file serialization.h.