All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends Defines
Public Types | Public Member Functions | Private Attributes
ublox::Reader Class Reference

#include <serialization.h>

List of all members.

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_

Detailed Description

Definition at line 77 of file serialization.h.


Member Typedef Documentation

typedef const uint8_t* ublox::Reader::iterator

Definition at line 81 of file serialization.h.


Constructor & Destructor Documentation

ublox::Reader::Reader ( const uint8_t *  data,
uint32_t  count,
const Options options = Options() 
) [inline]

Definition at line 79 of file serialization.h.


Member Function Documentation

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.

Definition at line 118 of file serialization.h.

bool ublox::Reader::found ( ) [inline]

Definition at line 94 of file serialization.h.

template<typename T >
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.

Definition at line 105 of file serialization.h.

Definition at line 114 of file serialization.h.

template<typename T >
bool ublox::Reader::read ( typename boost::call_traits< T >::reference  message,
bool  search = false 
) [inline]

Definition at line 129 of file serialization.h.

Definition at line 83 of file serialization.h.


Member Data Documentation

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.

Definition at line 161 of file serialization.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends Defines


ublox_serialization
Author(s): Johannes Meyer
autogenerated on Mon Jul 15 2013 16:51:26