Array serializer implementation (templated strong-typed version) More...
#include <ArraySerializer.h>
Public Types | |
typedef type_traits::ArrayType< T >::ValueType | ValueType |
Definition of the value type. More... | |
Public Member Functions | |
BOOST_STATIC_ASSERT (type_traits::IsArray< 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::ArraySerializer::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... | |
Array serializer implementation (templated strong-typed version)
Definition at line 109 of file ArraySerializer.h.
typedef type_traits::ArrayType<T>::ValueType variant_topic_tools::ArraySerializer::ImplT< T >::ValueType |
Definition of the value type.
Definition at line 116 of file ArraySerializer.h.
variant_topic_tools::ArraySerializer::ImplT< T >::ImplT | ( | ) |
Default constructor.
|
virtual |
Destructor.
variant_topic_tools::ArraySerializer::ImplT< T >::BOOST_STATIC_ASSERT | ( | type_traits::IsArray< T >::value | ) |
|
virtual |
Deserialize a variant value (implementation)
Implements variant_topic_tools::Serializer::Impl.
|
virtual |
Retrieve the serialized length of a variant value (implementation)
Implements variant_topic_tools::Serializer::Impl.
|
virtual |
Serialize a variant value (implementation)
Implements variant_topic_tools::Serializer::Impl.