Classes | Static Public Member Functions | Static Private Attributes
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>

List of all members.

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_

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 
) [inline, static]

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 
) [inline, static]

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_ [static, private]

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 Fri Aug 11 2017 02:31:03