Classes | Static Public Member Functions | Static Private Attributes | List of all members
ublox::Message< T > Class Template Reference

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. More...
 
static bool canDecode (uint8_t class_id, uint8_t message_id)
 Can this message type decode a u-blox message with the given ID? More...
 

Static Private Attributes

static std::vector< std::pair< uint8_t, uint8_t > > keys_
 

Detailed Description

template<typename T>
class ublox::Message< T >

Keeps track of which class and message IDs can be decoded by a given message type.

Definition at line 103 of file serialization.h.

Member Function Documentation

template<typename T >
static void ublox::Message< T >::addKey ( uint8_t  class_id,
uint8_t  message_id 
)
inlinestatic

Indicate that this message type can decode u-blox messages with the given ID.

Parameters
class_idthe class ID of the u-blox message
message_idthe message ID of the u-blox message

Definition at line 122 of file serialization.h.

template<typename T >
static bool ublox::Message< T >::canDecode ( uint8_t  class_id,
uint8_t  message_id 
)
inlinestatic

Can this message type decode a u-blox message with the given ID?

Parameters
class_idthe class ID of the u-blox message
message_idthe message ID of the u-blox message
Returns
whether or not this message type decode the u-blox message

Definition at line 111 of file serialization.h.

Member Data Documentation

template<typename T >
std::vector<std::pair<uint8_t,uint8_t> > ublox::Message< T >::keys_
staticprivate

Definition at line 134 of file serialization.h.


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


ublox_serialization
Author(s): Johannes Meyer
autogenerated on Thu Jan 28 2021 03:13:50