Pipe Inpection Robot / Mbed OS capstone_finish

Dependencies:   BufferedSerial motor_sn7544

Embed: (wiki syntax)

« Back to documentation index

OStream Struct Reference

OStream Struct Reference

Output stream. More...

#include <serialization.h>

Inherits ros::serialization::Stream.

Public Member Functions

template<typename T >
ROS_FORCE_INLINE void next (const T &t)
 Serialize an item to this output 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

Output stream.

Definition at line 733 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 ( const T &  t )

Serialize an item to this output stream.

Definition at line 745 of file serialization.h.