Built-in serializer implementation (templated strong-typed version) More...
#include <BuiltinSerializer.h>
Public Types | |
typedef type_traits::BuiltinType< T > ::ValueType | ValueType |
Declaration of the value type. | |
Public Member Functions | |
BOOST_STATIC_ASSERT (type_traits::IsBuiltin< T >::value) | |
void | deserialize (ros::serialization::IStream &stream, Variant &value) |
Deserialize a variant value (implementation) | |
size_t | getSerializedLength (const Variant &value) const |
Retrieve the serialized length of a variant value (implementation) | |
ImplT () | |
Default constructor. | |
void | serialize (ros::serialization::OStream &stream, const Variant &value) |
Serialize a variant value (implementation) | |
virtual | ~ImplT () |
Destructor. |
Built-in serializer implementation (templated strong-typed version)
Definition at line 71 of file BuiltinSerializer.h.
typedef type_traits::BuiltinType<T>::ValueType variant_topic_tools::BuiltinSerializer::ImplT< T >::ValueType |
Declaration of the value type.
Definition at line 78 of file BuiltinSerializer.h.
variant_topic_tools::BuiltinSerializer::ImplT< T >::ImplT | ( | ) |
Default constructor.
virtual variant_topic_tools::BuiltinSerializer::ImplT< T >::~ImplT | ( | ) | [virtual] |
Destructor.
variant_topic_tools::BuiltinSerializer::ImplT< T >::BOOST_STATIC_ASSERT | ( | type_traits::IsBuiltin< T >::value | ) |
void variant_topic_tools::BuiltinSerializer::ImplT< T >::deserialize | ( | ros::serialization::IStream & | stream, |
Variant & | value | ||
) | [virtual] |
Deserialize a variant value (implementation)
Implements variant_topic_tools::Serializer::Impl.
size_t variant_topic_tools::BuiltinSerializer::ImplT< T >::getSerializedLength | ( | const Variant & | value | ) | const [virtual] |
Retrieve the serialized length of a variant value (implementation)
Implements variant_topic_tools::Serializer::Impl.
void variant_topic_tools::BuiltinSerializer::ImplT< T >::serialize | ( | ros::serialization::OStream & | stream, |
const Variant & | value | ||
) | [virtual] |
Serialize a variant value (implementation)
Implements variant_topic_tools::Serializer::Impl.