#include <serialization.h>
Public Types | |
typedef const uint8_t * | iterator |
Public Member Functions | |
uint16_t | checksum () |
uint8_t | classId () |
const uint8_t * | data () |
iterator | end () |
bool | found () |
template<typename T > | |
bool | hasType () |
bool | isMessage (uint8_t class_id, uint8_t message_id) |
uint32_t | length () |
uint8_t | messageId () |
iterator | next () |
iterator | pos () |
template<typename T > | |
bool | read (typename boost::call_traits< T >::reference message, bool search=false) |
Reader (const uint8_t *data, uint32_t count, const Options &options=Options()) | |
iterator | search () |
Private Attributes | |
uint32_t | count_ |
const uint8_t * | data_ |
bool | found_ |
Options | options_ |
Definition at line 77 of file serialization.h.
typedef const uint8_t* ublox::Reader::iterator |
Definition at line 81 of file serialization.h.
ublox::Reader::Reader | ( | const uint8_t * | data, |
uint32_t | count, | ||
const Options & | options = Options() |
||
) | [inline] |
Definition at line 79 of file serialization.h.
uint16_t ublox::Reader::checksum | ( | ) | [inline] |
Definition at line 126 of file serialization.h.
uint8_t ublox::Reader::classId | ( | ) | [inline] |
Definition at line 122 of file serialization.h.
const uint8_t* ublox::Reader::data | ( | ) | [inline] |
Definition at line 125 of file serialization.h.
iterator ublox::Reader::end | ( | ) | [inline] |
Definition at line 118 of file serialization.h.
bool ublox::Reader::found | ( | ) | [inline] |
Definition at line 94 of file serialization.h.
bool ublox::Reader::hasType | ( | ) | [inline] |
Definition at line 145 of file serialization.h.
bool ublox::Reader::isMessage | ( | uint8_t | class_id, |
uint8_t | message_id | ||
) | [inline] |
Definition at line 151 of file serialization.h.
uint32_t ublox::Reader::length | ( | ) | [inline] |
Definition at line 124 of file serialization.h.
uint8_t ublox::Reader::messageId | ( | ) | [inline] |
Definition at line 123 of file serialization.h.
iterator ublox::Reader::next | ( | ) | [inline] |
Definition at line 105 of file serialization.h.
iterator ublox::Reader::pos | ( | ) | [inline] |
Definition at line 114 of file serialization.h.
bool ublox::Reader::read | ( | typename boost::call_traits< T >::reference | message, |
bool | search = false |
||
) | [inline] |
Definition at line 129 of file serialization.h.
iterator ublox::Reader::search | ( | ) | [inline] |
Definition at line 83 of file serialization.h.
uint32_t ublox::Reader::count_ [private] |
Definition at line 159 of file serialization.h.
const uint8_t* ublox::Reader::data_ [private] |
Definition at line 158 of file serialization.h.
bool ublox::Reader::found_ [private] |
Definition at line 160 of file serialization.h.
Options ublox::Reader::options_ [private] |
Definition at line 161 of file serialization.h.