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

Input stream. More...

#include <serialization.h>

Inheritance diagram for ros::serialization::IStream:
Inheritance graph
[legend]

Public Member Functions

 IStream (uint8_t *data, uint32_t count)
 
template<typename T >
ROS_FORCE_INLINE void next (T &t)
 Deserialize an item from this input stream. More...
 
template<typename T >
ROS_FORCE_INLINE IStreamoperator>> (T &t)
 
- 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::Input
 

Additional Inherited Members

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

Detailed Description

Input stream.

Definition at line 713 of file serialization.h.

Constructor & Destructor Documentation

◆ IStream()

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

Definition at line 717 of file serialization.h.

Member Function Documentation

◆ next()

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

Deserialize an item from this input stream.

Definition at line 725 of file serialization.h.

◆ operator>>()

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

Definition at line 731 of file serialization.h.

Member Data Documentation

◆ stream_type

const StreamType ros::serialization::IStream::stream_type = stream_types::Input
static

Definition at line 715 of file serialization.h.


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


roscpp_serialization
Author(s): Josh Faust, Dirk Thomas
autogenerated on Sat Jun 17 2023 02:32:40