Array serializer implementation (variant-typed version) More...
#include <ArraySerializer.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 Serializer &memberSerializer=Serializer(), size_t numMembers=0) | |
Default constructor. | |
void | serialize (ros::serialization::OStream &stream, const Variant &value) |
Serialize a variant value (implementation) | |
virtual | ~ImplV () |
Destructor. | |
Public Attributes | |
Serializer | memberSerializer |
The array member serializer. | |
size_t | numMembers |
The number of array members. |
Array serializer implementation (variant-typed version)
Definition at line 71 of file ArraySerializer.h.
variant_topic_tools::ArraySerializer::ImplV::ImplV | ( | const Serializer & | memberSerializer = Serializer() , |
size_t | numMembers = 0 |
||
) |
Default constructor.
Definition at line 55 of file ArraySerializer.cpp.
variant_topic_tools::ArraySerializer::ImplV::~ImplV | ( | ) | [virtual] |
Destructor.
Definition at line 61 of file ArraySerializer.cpp.
void variant_topic_tools::ArraySerializer::ImplV::deserialize | ( | ros::serialization::IStream & | stream, |
Variant & | value | ||
) | [virtual] |
Deserialize a variant value (implementation)
Implements variant_topic_tools::Serializer::Impl.
Definition at line 97 of file ArraySerializer.cpp.
size_t variant_topic_tools::ArraySerializer::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 68 of file ArraySerializer.cpp.
void variant_topic_tools::ArraySerializer::ImplV::serialize | ( | ros::serialization::OStream & | stream, |
const Variant & | value | ||
) | [virtual] |
Serialize a variant value (implementation)
Implements variant_topic_tools::Serializer::Impl.
Definition at line 86 of file ArraySerializer.cpp.
The array member serializer.
Definition at line 99 of file ArraySerializer.h.
The number of array members.
Definition at line 103 of file ArraySerializer.h.