Pipe Inpection Robot / Mbed OS capstone_finish

Dependencies:   BufferedSerial motor_sn7544

Embed: (wiki syntax)

« Back to documentation index

LStream Struct Reference

LStream Struct Reference

Length stream. More...

#include <serialization.h>

Public Member Functions

template<typename T >
ROS_FORCE_INLINE void next (const T &t)
 Add the length of an item to this length stream.
ROS_FORCE_INLINE uint32_t advance (uint32_t len)
 increment the length by len
uint32_t getLength ()
 Get the total length of this tream.

Detailed Description

Length stream.

LStream is not what you would normally think of as a stream, but it is used in order to support allinone serializers.

Definition at line 765 of file serialization.h.


Member Function Documentation

ROS_FORCE_INLINE uint32_t advance ( uint32_t  len )

increment the length by len

Definition at line 785 of file serialization.h.

uint32_t getLength (  )

Get the total length of this tream.

Definition at line 795 of file serialization.h.

ROS_FORCE_INLINE void next ( const T &  t )

Add the length of an item to this length stream.

Definition at line 777 of file serialization.h.