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

Input stream. More...

#include <serialization.h>

Inheritance diagram for rs2rosinternal::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 rs2rosinternal::serialization::Stream
ROS_FORCE_INLINE uint8_tadvance (uint32_t len)
 Advances the stream, checking bounds, and returns a pointer to the position before it was advanced. More...
 
uint8_tgetData ()
 
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 rs2rosinternal::serialization::Stream
 Stream (uint8_t *_data, uint32_t _count)
 

Detailed Description

Input stream.

Definition at line 744 of file third-party/realsense-file/rosbag/roscpp_serialization/include/ros/serialization.h.

Constructor & Destructor Documentation

rs2rosinternal::serialization::IStream::IStream ( uint8_t data,
uint32_t  count 
)
inline

Member Function Documentation

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

Deserialize an item from this input stream.

Definition at line 756 of file third-party/realsense-file/rosbag/roscpp_serialization/include/ros/serialization.h.

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

Member Data Documentation

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

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


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:42