Message serializer implementation (variant-typed version) More...
#include <MessageSerializer.h>
Public Member Functions | |
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) | |
ImplV (const MessageFieldCollection< Serializer > &memberSerializers=MessageFieldCollection< Serializer >()) | |
Constructor. | |
void | serialize (ros::serialization::OStream &stream, const Variant &value) |
Serialize a variant value (implementation) | |
virtual | ~ImplV () |
Destructor. | |
Public Attributes | |
MessageFieldCollection < Serializer > | memberSerializers |
The message member serializers. |
Message serializer implementation (variant-typed version)
Definition at line 71 of file MessageSerializer.h.
variant_topic_tools::MessageSerializer::ImplV::ImplV | ( | const MessageFieldCollection< Serializer > & | memberSerializers = MessageFieldCollection<Serializer>() | ) |
Constructor.
Definition at line 55 of file MessageSerializer.cpp.
variant_topic_tools::MessageSerializer::ImplV::~ImplV | ( | ) | [virtual] |
Destructor.
Definition at line 60 of file MessageSerializer.cpp.
void variant_topic_tools::MessageSerializer::ImplV::deserialize | ( | ros::serialization::IStream & | stream, |
Variant & | value | ||
) | [virtual] |
Deserialize a variant value (implementation)
Implements variant_topic_tools::Serializer::Impl.
Definition at line 91 of file MessageSerializer.cpp.
size_t variant_topic_tools::MessageSerializer::ImplV::getSerializedLength | ( | const Variant & | value | ) | const [virtual] |
Retrieve the serialized length of a variant value (implementation)
Implements variant_topic_tools::Serializer::Impl.
Definition at line 67 of file MessageSerializer.cpp.
void variant_topic_tools::MessageSerializer::ImplV::serialize | ( | ros::serialization::OStream & | stream, |
const Variant & | value | ||
) | [virtual] |
Serialize a variant value (implementation)
Implements variant_topic_tools::Serializer::Impl.
Definition at line 83 of file MessageSerializer.cpp.
The message member serializers.
Definition at line 99 of file MessageSerializer.h.