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

Length stream. More...

#include <serialization.h>

Public Member Functions

ROS_FORCE_INLINE uint32_t advance (uint32_t len)
 increment the length by len More...
 
uint32_t getLength ()
 Get the total length of this tream. More...
 
 LStream ()
 
template<typename T >
ROS_FORCE_INLINE void next (const T &t)
 Add the length of an item to this length stream. More...
 

Static Public Attributes

static const StreamType stream_type = stream_types::Length
 

Private Attributes

uint32_t count_
 

Detailed Description

Length stream.

LStream is not what you would normally think of as a stream, but it is used in order to support allinone serializers.

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

Constructor & Destructor Documentation

rs2rosinternal::serialization::LStream::LStream ( )
inline

Member Function Documentation

ROS_FORCE_INLINE uint32_t rs2rosinternal::serialization::LStream::advance ( uint32_t  len)
inline

increment the length by len

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

uint32_t rs2rosinternal::serialization::LStream::getLength ( )
inline

Get the total length of this tream.

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

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

Add the length of an item to this length stream.

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

Member Data Documentation

uint32_t rs2rosinternal::serialization::LStream::count_
private
const StreamType rs2rosinternal::serialization::LStream::stream_type = stream_types::Length
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