Pipe Inpection Robot / Mbed OS capstone_finish

Dependencies:   BufferedSerial motor_sn7544

Embed: (wiki syntax)

« Back to documentation index

IStream Struct Reference

IStream Struct Reference

Input stream. More...

#include <serialization.h>

Inherits ros::serialization::Stream.

Public Member Functions

template<typename T >
ROS_FORCE_INLINE void next (T &t)
 Deserialize an item from this input stream.
ROS_FORCE_INLINE uint8_t * advance (uint32_t len)
 Advances the stream, checking bounds, and returns a pointer to the position before it was advanced.
uint32_t getLength ()
 Returns the amount of space left in the stream.

Detailed Description

Input stream.

Definition at line 705 of file serialization.h.


Member Function Documentation

ROS_FORCE_INLINE uint8_t* advance ( uint32_t  len ) [inherited]

Advances the stream, checking bounds, and returns a pointer to the position before it was advanced.

Exceptions:
StreamOverrunExceptionif len would take this stream past the end of its buffer

Definition at line 673 of file serialization.h.

uint32_t getLength (  ) [inherited]

Returns the amount of space left in the stream.

Definition at line 689 of file serialization.h.

ROS_FORCE_INLINE void next ( T &  t )

Deserialize an item from this input stream.

Definition at line 717 of file serialization.h.