Public Types | Public Member Functions | List of all members
variant_topic_tools::MessageSerializer::ImplT< T > Class Template Reference

Message serializer implementation (templated strong-typed version) More...

#include <MessageSerializer.h>

Inheritance diagram for variant_topic_tools::MessageSerializer::ImplT< T >:
Inheritance graph
[legend]

Public Types

typedef type_traits::MessageType< T >::ValueType ValueType
 Definition of the value type. More...
 

Public Member Functions

 BOOST_STATIC_ASSERT (type_traits::IsMessage< T >::value)
 
void deserialize (ros::serialization::IStream &stream, Variant &value)
 Deserialize a variant value (implementation) More...
 
size_t getSerializedLength (const Variant &value) const
 Retrieve the serialized length of a variant value (implementation) More...
 
 ImplT ()
 Default constructor. More...
 
void serialize (ros::serialization::OStream &stream, const Variant &value)
 Serialize a variant value (implementation) More...
 
virtual ~ImplT ()
 Destructor. More...
 
- Public Member Functions inherited from variant_topic_tools::MessageSerializer::Impl
 Impl ()
 Default constructor. More...
 
virtual ~Impl ()
 Destructor. More...
 
- Public Member Functions inherited from variant_topic_tools::Serializer::Impl
void advance (ros::serialization::Stream &stream, const Variant &value)
 Advance a stream by the length of a serialized value. More...
 
 Impl ()
 Default constructor. More...
 

Detailed Description

template<typename T>
class variant_topic_tools::MessageSerializer::ImplT< T >

Message serializer implementation (templated strong-typed version)

Definition at line 105 of file MessageSerializer.h.

Member Typedef Documentation

Definition of the value type.

Definition at line 112 of file MessageSerializer.h.

Constructor & Destructor Documentation

template<typename T >
variant_topic_tools::MessageSerializer::ImplT< T >::ImplT ( )

Default constructor.

template<typename T >
virtual variant_topic_tools::MessageSerializer::ImplT< T >::~ImplT ( )
virtual

Destructor.

Member Function Documentation

template<typename T >
variant_topic_tools::MessageSerializer::ImplT< T >::BOOST_STATIC_ASSERT ( type_traits::IsMessage< T >::value  )
template<typename T >
void variant_topic_tools::MessageSerializer::ImplT< T >::deserialize ( ros::serialization::IStream stream,
Variant value 
)
virtual

Deserialize a variant value (implementation)

Implements variant_topic_tools::Serializer::Impl.

template<typename T >
size_t variant_topic_tools::MessageSerializer::ImplT< T >::getSerializedLength ( const Variant value) const
virtual

Retrieve the serialized length of a variant value (implementation)

Implements variant_topic_tools::Serializer::Impl.

template<typename T >
void variant_topic_tools::MessageSerializer::ImplT< T >::serialize ( ros::serialization::OStream stream,
const Variant value 
)
virtual

Serialize a variant value (implementation)

Implements variant_topic_tools::Serializer::Impl.


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


variant_topic_tools
Author(s): Ralf Kaestner
autogenerated on Sat Jan 9 2021 03:56:50