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

Constructor & Destructor Documentation

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

Definition at line 709 of file serialization.h.

Member Function Documentation

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

Deserialize an item from this input stream.

Definition at line 717 of file serialization.h.

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

Definition at line 723 of file serialization.h.

Member Data Documentation

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

Definition at line 707 of file serialization.h.


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


roscpp_serialization
Author(s): Josh Faust
autogenerated on Mon Aug 6 2018 02:22:29