Public Types | Static Public Member Functions | List of all members
ros::serialization::VectorSerializer< T, ContainerAllocator, typename boost::enable_if< mt::IsSimple< T > >::type > Struct Template Reference

Vector serializer, specialized for fixed-size simple types. More...

#include <serialization.h>

Public Types

typedef VecType::const_iterator ConstIteratorType
 
typedef VecType::iterator IteratorType
 
typedef std::vector< T, typename std::allocator_traits< ContainerAllocator >::template rebind_alloc< T > > VecType
 

Static Public Member Functions

template<typename Stream >
static void read (Stream &stream, VecType &v)
 
static uint32_t serializedLength (const VecType &v)
 
template<typename Stream >
static void write (Stream &stream, const VecType &v)
 

Detailed Description

template<typename T, class ContainerAllocator>
struct ros::serialization::VectorSerializer< T, ContainerAllocator, typename boost::enable_if< mt::IsSimple< T > >::type >

Vector serializer, specialized for fixed-size simple types.

Definition at line 391 of file serialization.h.

Member Typedef Documentation

◆ ConstIteratorType

template<typename T , class ContainerAllocator >
typedef VecType::const_iterator ros::serialization::VectorSerializer< T, ContainerAllocator, typename boost::enable_if< mt::IsSimple< T > >::type >::ConstIteratorType

Definition at line 395 of file serialization.h.

◆ IteratorType

template<typename T , class ContainerAllocator >
typedef VecType::iterator ros::serialization::VectorSerializer< T, ContainerAllocator, typename boost::enable_if< mt::IsSimple< T > >::type >::IteratorType

Definition at line 394 of file serialization.h.

◆ VecType

template<typename T , class ContainerAllocator >
typedef std::vector<T, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<T> > ros::serialization::VectorSerializer< T, ContainerAllocator, typename boost::enable_if< mt::IsSimple< T > >::type >::VecType

Definition at line 393 of file serialization.h.

Member Function Documentation

◆ read()

template<typename T , class ContainerAllocator >
template<typename Stream >
static void ros::serialization::VectorSerializer< T, ContainerAllocator, typename boost::enable_if< mt::IsSimple< T > >::type >::read ( Stream stream,
VecType v 
)
inlinestatic

Definition at line 410 of file serialization.h.

◆ serializedLength()

template<typename T , class ContainerAllocator >
static uint32_t ros::serialization::VectorSerializer< T, ContainerAllocator, typename boost::enable_if< mt::IsSimple< T > >::type >::serializedLength ( const VecType v)
inlinestatic

Definition at line 423 of file serialization.h.

◆ write()

template<typename T , class ContainerAllocator >
template<typename Stream >
static void ros::serialization::VectorSerializer< T, ContainerAllocator, typename boost::enable_if< mt::IsSimple< T > >::type >::write ( Stream stream,
const VecType v 
)
inlinestatic

Definition at line 398 of file serialization.h.


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


roscpp_serialization
Author(s): Josh Faust, Dirk Thomas
autogenerated on Sat Jun 17 2023 02:32:40