Public Member Functions | Static Public Attributes | Private Attributes
ros::serialization::LStream Struct Reference

Length stream. More...

#include <serialization.h>

List of all members.

Public Member Functions

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

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


Constructor & Destructor Documentation

Definition at line 809 of file serialization.h.


Member Function Documentation

ROS_FORCE_INLINE uint32_t ros::serialization::LStream::advance ( uint32_t  len) [inline]

increment the length by len

Definition at line 825 of file serialization.h.

Get the total length of this tream.

Definition at line 835 of file serialization.h.

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

Add the length of an item to this length stream.

Definition at line 817 of file serialization.h.


Member Data Documentation

Definition at line 838 of file serialization.h.

Definition at line 807 of file serialization.h.


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


roscpp_serialization
Author(s): Josh Faust
autogenerated on Sat Jun 8 2019 20:30:28