Public Member Functions | Static Public Attributes | List of all members
ros::serialization::OStream Struct Reference

Output stream. More...

#include <serialization.h>

Inheritance diagram for ros::serialization::OStream:
Inheritance graph

Public Member Functions

template<typename T >
ROS_FORCE_INLINE void next (const T &t)
 Serialize an item to this output stream. More...
template<typename T >
ROS_FORCE_INLINE OStreamoperator<< (const T &t)
 OStream (uint8_t *data, uint32_t count)
- Public Member Functions inherited from ros::serialization::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. More...
uint8_t * getData ()
uint32_t getLength ()
 Returns the amount of space left in the stream. More...

Static Public Attributes

static const StreamType stream_type = stream_types::Output

Additional Inherited Members

- Protected Member Functions inherited from ros::serialization::Stream
 Stream (uint8_t *_data, uint32_t _count)

Detailed Description

Output stream.

Definition at line 773 of file serialization.h.

Constructor & Destructor Documentation

ros::serialization::OStream::OStream ( uint8_t *  data,
uint32_t  count 

Definition at line 777 of file serialization.h.

Member Function Documentation

template<typename T >
ROS_FORCE_INLINE void ros::serialization::OStream::next ( const T &  t)

Serialize an item to this output stream.

Definition at line 785 of file serialization.h.

template<typename T >
ROS_FORCE_INLINE OStream& ros::serialization::OStream::operator<< ( const T &  t)

Definition at line 791 of file serialization.h.

Member Data Documentation

const StreamType ros::serialization::OStream::stream_type = stream_types::Output

Definition at line 775 of file serialization.h.

The documentation for this struct was generated from the following file:

Author(s): Josh Faust
autogenerated on Sat Feb 3 2018 03:22:40