$search

ros::serialization Namespace Reference

Namespaces

namespace  stream_types
 

Enum.


Classes

struct  ArraySerializer
 Array serializer, default implementation does nothing. More...
struct  ArraySerializer< T, N, typename boost::disable_if< mt::IsFixedSize< T > >::type >
 Array serializer, specialized for non-fixed-size, non-simple types. More...
struct  ArraySerializer< T, N, typename boost::enable_if< mpl::and_< mt::IsFixedSize< T >, mpl::not_< mt::IsSimple< T > > > >::type >
 Array serializer, specialized for fixed-size, non-simple types. More...
struct  ArraySerializer< T, N, typename boost::enable_if< mt::IsSimple< T > >::type >
 Array serializer, specialized for fixed-size, simple types. More...
struct  IStream
 Input stream. More...
struct  LStream
 Length stream. More...
struct  OStream
 Output stream. More...
struct  Serializer
 Templated serialization class. Default implementation provides backwards compatibility with old message types. More...
struct  Serializer< bool >
 Serializer specialized for bool (serialized as uint8). More...
struct  Serializer< ros::Duration >
 Serializer specialized for ros::Duration. More...
struct  Serializer< ros::Time >
 Serializer specialized for ros::Time. More...
struct  Serializer< std::basic_string< char, std::char_traits< char >, ContainerAllocator > >
 Serializer specialized for std::string. More...
struct  Stream
 Stream base-class, provides common functionality for IStream and OStream. More...
class  StreamOverrunException
struct  VectorSerializer
 Vector serializer. Default implementation does nothing. More...
struct  VectorSerializer< T, ContainerAllocator, typename boost::disable_if< mt::IsFixedSize< T > >::type >
 Vector serializer, specialized for non-fixed-size, non-simple types. More...
struct  VectorSerializer< T, ContainerAllocator, typename boost::enable_if< mpl::and_< mt::IsFixedSize< T >, mpl::not_< mt::IsSimple< T > > > >::type >
 Vector serializer, specialized for fixed-size non-simple types. More...
struct  VectorSerializer< T, ContainerAllocator, typename boost::enable_if< mt::IsSimple< T > >::type >
 Vector serializer, specialized for fixed-size simple types. More...

Typedefs

typedef stream_types::StreamType StreamType

Functions

template<typename T , size_t N, typename Stream >
void deserialize (Stream &stream, boost::array< T, N > &t)
 deserialize version for boost::array
template<typename T , class ContainerAllocator , typename Stream >
void deserialize (Stream &stream, std::vector< T, ContainerAllocator > &t)
 deserialize version for std::vector
template<typename T , typename Stream >
void deserialize (Stream &stream, T &t)
 Deserialize an object. Stream here should normally be a ros::serialization::IStream.
template<typename M >
void deserializeMessage (const SerializedMessage &m, M &message)
 Deserialize a message. If includes_length is true, skips the first 4 bytes.
 ROS_CREATE_SIMPLE_SERIALIZER (double)
 ROS_CREATE_SIMPLE_SERIALIZER (float)
 ROS_CREATE_SIMPLE_SERIALIZER (int64_t)
 ROS_CREATE_SIMPLE_SERIALIZER (uint64_t)
 ROS_CREATE_SIMPLE_SERIALIZER (int32_t)
 ROS_CREATE_SIMPLE_SERIALIZER (uint32_t)
 ROS_CREATE_SIMPLE_SERIALIZER (int16_t)
 ROS_CREATE_SIMPLE_SERIALIZER (uint16_t)
 ROS_CREATE_SIMPLE_SERIALIZER (int8_t)
 ROS_CREATE_SIMPLE_SERIALIZER (uint8_t)
template<typename T , size_t N>
uint32_t serializationLength (const boost::array< T, N > &t)
 serializationLength version for boost::array
template<typename T , class ContainerAllocator >
uint32_t serializationLength (const std::vector< T, ContainerAllocator > &t)
 serializationLength version for std::vector
template<typename T >
uint32_t serializationLength (const T &t)
 Determine the serialized length of an object.
template<typename T , size_t N, typename Stream >
void serialize (Stream &stream, const boost::array< T, N > &t)
 serialize version for boost::array
template<typename T , class ContainerAllocator , typename Stream >
void serialize (Stream &stream, const std::vector< T, ContainerAllocator > &t)
 serialize version for std::vector
template<typename T , typename Stream >
void serialize (Stream &stream, const T &t)
 Serialize an object. Stream here should normally be a ros::serialization::OStream.
template<typename M >
SerializedMessage serializeMessage (const M &message)
 Serialize a message.
template<typename M >
SerializedMessage serializeServiceResponse (bool ok, const M &message)
 Serialize a service response.
ROSCPP_SERIALIZATION_DECL void throwStreamOverrun ()

Typedef Documentation

Definition at line 654 of file serialization.h.


Function Documentation

template<typename T , size_t N, typename Stream >
void ros::serialization::deserialize ( Stream &  stream,
boost::array< T, N > &  t 
) [inline]

deserialize version for boost::array

Definition at line 628 of file serialization.h.

template<typename T , class ContainerAllocator , typename Stream >
void ros::serialization::deserialize ( Stream &  stream,
std::vector< T, ContainerAllocator > &  t 
) [inline]

deserialize version for std::vector

Definition at line 480 of file serialization.h.

template<typename T , typename Stream >
void ros::serialization::deserialize ( Stream &  stream,
T &  t 
) [inline]

Deserialize an object. Stream here should normally be a ros::serialization::IStream.

Definition at line 159 of file serialization.h.

template<typename M >
void ros::serialization::deserializeMessage ( const SerializedMessage &  m,
M &  message 
) [inline]

Deserialize a message. If includes_length is true, skips the first 4 bytes.

Definition at line 852 of file serialization.h.

ros::serialization::ROS_CREATE_SIMPLE_SERIALIZER ( double   ) 
ros::serialization::ROS_CREATE_SIMPLE_SERIALIZER ( float   ) 
ros::serialization::ROS_CREATE_SIMPLE_SERIALIZER ( int64_t   ) 
ros::serialization::ROS_CREATE_SIMPLE_SERIALIZER ( uint64_t   ) 
ros::serialization::ROS_CREATE_SIMPLE_SERIALIZER ( int32_t   ) 
ros::serialization::ROS_CREATE_SIMPLE_SERIALIZER ( uint32_t   ) 
ros::serialization::ROS_CREATE_SIMPLE_SERIALIZER ( int16_t   ) 
ros::serialization::ROS_CREATE_SIMPLE_SERIALIZER ( uint16_t   ) 
ros::serialization::ROS_CREATE_SIMPLE_SERIALIZER ( int8_t   ) 
ros::serialization::ROS_CREATE_SIMPLE_SERIALIZER ( uint8_t   ) 
template<typename T , size_t N>
uint32_t ros::serialization::serializationLength ( const boost::array< T, N > &  t  )  [inline]

serializationLength version for boost::array

Definition at line 637 of file serialization.h.

template<typename T , class ContainerAllocator >
uint32_t ros::serialization::serializationLength ( const std::vector< T, ContainerAllocator > &  t  )  [inline]

serializationLength version for std::vector

Definition at line 489 of file serialization.h.

template<typename T >
uint32_t ros::serialization::serializationLength ( const T &  t  )  [inline]

Determine the serialized length of an object.

Definition at line 168 of file serialization.h.

template<typename T , size_t N, typename Stream >
void ros::serialization::serialize ( Stream &  stream,
const boost::array< T, N > &  t 
) [inline]

serialize version for boost::array

Definition at line 619 of file serialization.h.

template<typename T , class ContainerAllocator , typename Stream >
void ros::serialization::serialize ( Stream &  stream,
const std::vector< T, ContainerAllocator > &  t 
) [inline]

serialize version for std::vector

Definition at line 471 of file serialization.h.

template<typename T , typename Stream >
void ros::serialization::serialize ( Stream &  stream,
const T &  t 
) [inline]

Serialize an object. Stream here should normally be a ros::serialization::OStream.

Definition at line 150 of file serialization.h.

template<typename M >
SerializedMessage ros::serialization::serializeMessage ( const M &  message  )  [inline]

Serialize a message.

Definition at line 802 of file serialization.h.

template<typename M >
SerializedMessage ros::serialization::serializeServiceResponse ( bool  ok,
const M &  message 
) [inline]

Serialize a service response.

Definition at line 821 of file serialization.h.

void ros::serialization::throwStreamOverrun (  ) 

Definition at line 34 of file serialization.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


roscpp_serialization
Author(s): Josh Faust
autogenerated on Sat Mar 2 13:22:48 2013