Classes | Public Member Functions | Protected Member Functions | Static Protected Member Functions | Friends | List of all members
variant_topic_tools::ArraySerializer Class Reference

Array serializer. More...

#include <ArraySerializer.h>

Inheritance diagram for variant_topic_tools::ArraySerializer:
Inheritance graph
[legend]

Classes

class  Impl
 Array serializer implementation. More...
 
class  ImplT
 Array serializer implementation (templated strong-typed version) More...
 
class  ImplV
 Array serializer implementation (variant-typed version) More...
 

Public Member Functions

 ArraySerializer ()
 Default constructor. More...
 
 ArraySerializer (const ArraySerializer &src)
 Copy constructor. More...
 
 ArraySerializer (const Serializer &src)
 Copy constructor (overloaded version taking a serializer) More...
 
 ~ArraySerializer ()
 Destructor. More...
 
- Public Member Functions inherited from variant_topic_tools::Serializer
void advance (ros::serialization::Stream &stream, const Variant &value)
 Advance a stream by the length of a serialized value. More...
 
void clear ()
 Clear the serializer. More...
 
void deserialize (ros::serialization::IStream &stream, Variant &value)
 Deserialize a variant value from an input stream. More...
 
size_t getSerializedLength (const Variant &value) const
 Retrieve the serialized length of a variant value. More...
 
bool isValid () const
 True, if this serializer is valid. More...
 
 operator void * () const
 Void pointer conversion. More...
 
void serialize (ros::serialization::OStream &stream, const Variant &value)
 Serialize a variant value to an output stream. More...
 
 Serializer ()
 Default constructor. More...
 
 Serializer (const DataType &dataType)
 Constructor (overloaded version taking a data type) More...
 
 Serializer (const Serializer &src)
 Copy constructor. More...
 
 ~Serializer ()
 Destructor. More...
 

Protected Member Functions

 ArraySerializer (const Serializer &memberSerializer, size_t numMembers)
 Constructor (overloaded version taking a member serializer and a number of members) More...
 

Static Protected Member Functions

template<typename T >
static ArraySerializer create ()
 Create an array serializer. More...
 

Friends

class ArrayDataType
 
class ArrayVariant
 

Additional Inherited Members

- Protected Types inherited from variant_topic_tools::Serializer
typedef boost::shared_ptr< ImplImplPtr
 Declaration of the serializer implementation pointer type. More...
 
typedef boost::weak_ptr< ImplImplWPtr
 Declaration of the serializer implementation weak pointer type. More...
 
- Protected Attributes inherited from variant_topic_tools::Serializer
ImplPtr impl
 The serializer's implementation. More...
 

Detailed Description

Array serializer.

Definition at line 33 of file ArraySerializer.h.

Constructor & Destructor Documentation

variant_topic_tools::ArraySerializer::ArraySerializer ( )

Default constructor.

Definition at line 28 of file ArraySerializer.cpp.

variant_topic_tools::ArraySerializer::ArraySerializer ( const ArraySerializer src)

Copy constructor.

Definition at line 36 of file ArraySerializer.cpp.

variant_topic_tools::ArraySerializer::ArraySerializer ( const Serializer src)

Copy constructor (overloaded version taking a serializer)

Definition at line 40 of file ArraySerializer.cpp.

variant_topic_tools::ArraySerializer::~ArraySerializer ( )

Destructor.

Definition at line 46 of file ArraySerializer.cpp.

variant_topic_tools::ArraySerializer::ArraySerializer ( const Serializer memberSerializer,
size_t  numMembers 
)
protected

Constructor (overloaded version taking a member serializer and a number of members)

Definition at line 31 of file ArraySerializer.cpp.

Member Function Documentation

template<typename T >
static ArraySerializer variant_topic_tools::ArraySerializer::create ( )
staticprotected

Create an array serializer.

Friends And Related Function Documentation

friend class ArrayDataType
friend

Definition at line 35 of file ArraySerializer.h.

friend class ArrayVariant
friend

Definition at line 36 of file ArraySerializer.h.


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


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