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 ContainerAllocator::template rebind< T >::other > 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 383 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 387 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 386 of file serialization.h.

◆ VecType

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

Definition at line 385 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 402 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 415 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 390 of file serialization.h.


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


roscpp_serialization
Author(s): Josh Faust
autogenerated on Mon Jan 27 2020 03:43:02