Template Struct UbloxSerializer

Struct Documentation

template<typename T, typename Enabled = void>
struct UbloxSerializer

Templated serialization class. Default implementation provides backwards compatibility with old message types.

Specializing the UbloxSerializer class is the only thing you need to do to get the ROS serialization system to work with a type.

Public Static Functions

template<typename Stream>
static inline void write(Stream &stream, const T &t)

Write an object to the stream. Normally the stream passed in here will be a UbloxOStream.

template<typename Stream>
static inline void read(Stream &stream, T &t)

Read an object from the stream. Normally the stream passed in here will be a UbloxIStream.

static inline uint32_t serializedLength(const T &t)

Determine the serialized length of an object.