Public Member Functions | Static Public Attributes | Private Attributes | List of all members
roswrap::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 808 of file serialization.h.

Constructor & Destructor Documentation

◆ LStream()

roswrap::serialization::LStream::LStream ( )
inline

Definition at line 812 of file serialization.h.

Member Function Documentation

◆ advance()

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

increment the length by len

Definition at line 828 of file serialization.h.

◆ getLength()

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

Get the total length of this tream.

Definition at line 838 of file serialization.h.

◆ next()

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

Add the length of an item to this length stream.

Definition at line 820 of file serialization.h.

Member Data Documentation

◆ count_

uint32_t roswrap::serialization::LStream::count_
private

Definition at line 841 of file serialization.h.

◆ stream_type

const StreamType roswrap::serialization::LStream::stream_type = stream_types::Length
static

Definition at line 810 of file serialization.h.


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


sick_scan_xd
Author(s): Michael Lehning , Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:19