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
[legend]

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 733 of file serialization.h.

Constructor & Destructor Documentation

◆ OStream()

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

Definition at line 737 of file serialization.h.

Member Function Documentation

◆ next()

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

Serialize an item to this output stream.

Definition at line 745 of file serialization.h.

◆ operator<<()

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

Definition at line 751 of file serialization.h.

Member Data Documentation

◆ stream_type

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

Definition at line 735 of file serialization.h.


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


roscpp_serialization
Author(s): Josh Faust
autogenerated on Mon Feb 28 2022 23:31:39