Public Member Functions | Public Attributes | List of all members
variant_topic_tools::MessageDataType::Impl Class Referenceabstract

Message data type implementation. More...

#include <MessageDataType.h>

Inheritance diagram for variant_topic_tools::MessageDataType::Impl:
Inheritance graph
[legend]

Public Member Functions

virtual void addConstantMember (const MessageConstant &member)=0
 Add a constant member to this message data type (abstract declaration) More...
 
virtual void addVariableMember (const MessageVariable &member)=0
 Add a variable member to this message data type (abstract declaration) More...
 
virtual const std::string & getDefinition () const =0
 Retrieve the definition this message data type (abstract declaration) More...
 
virtual std::string getMD5Sum () const =0
 Retrieve the MD5 sum of this message data type (abstract declaration) More...
 
 Impl (const MessageFieldCollection< MessageConstant > &constantMembers, const MessageFieldCollection< MessageVariable > &variableMembers)
 Constructor (overloaded version taking a collection of constant members and a collection of variable members) More...
 
 Impl (const std::string &identifier, const std::string &definition)
 Constructor (overloaded version taking a definition) More...
 
virtual ~Impl ()
 Destructor. More...
 
- Public Member Functions inherited from variant_topic_tools::DataType::Impl
virtual Serializer createSerializer (const DataType &type) const =0
 Create a serializer for this data type (abstract declaration) More...
 
virtual Variant createVariant (const DataType &type) const =0
 Create a variant from this data type (abstract declaration) More...
 
virtual const std::string & getIdentifier () const =0
 Retrieve the identifier representing this data type (abstract declaration) More...
 
virtual size_t getSize () const =0
 Retrieve the size of the instances of this data type (abstract declaration) More...
 
virtual const std::type_info & getTypeInfo () const
 Retrieve the type information associated with this data type. More...
 
 Impl ()
 Constructor. More...
 
virtual bool isFixedSize () const =0
 True, if this data type represents a fixed-size data type (abstract declaration) More...
 
virtual bool isSimple () const =0
 True, if this data type represents a simple data type (abstract declaration) More...
 

Public Attributes

MessageFieldCollection< MessageConstantconstantMembers
 The constant members of this message data type. More...
 
MessageFieldCollection< MessageVariablevariableMembers
 The variable members of this message data type. More...
 

Detailed Description

Message data type implementation.

Definition at line 168 of file MessageDataType.h.

Constructor & Destructor Documentation

variant_topic_tools::MessageDataType::Impl::Impl ( const MessageFieldCollection< MessageConstant > &  constantMembers,
const MessageFieldCollection< MessageVariable > &  variableMembers 
)

Constructor (overloaded version taking a collection of constant members and a collection of variable members)

Definition at line 66 of file MessageDataType.cpp.

variant_topic_tools::MessageDataType::Impl::Impl ( const std::string &  identifier,
const std::string &  definition 
)

Constructor (overloaded version taking a definition)

Definition at line 80 of file MessageDataType.cpp.

variant_topic_tools::MessageDataType::Impl::~Impl ( )
virtual

Destructor.

Reimplemented from variant_topic_tools::DataType::Impl.

Definition at line 151 of file MessageDataType.cpp.

Member Function Documentation

virtual void variant_topic_tools::MessageDataType::Impl::addConstantMember ( const MessageConstant member)
pure virtual

Add a constant member to this message data type (abstract declaration)

Implemented in variant_topic_tools::MessageDataType::ImplT< T >, and variant_topic_tools::MessageDataType::ImplV.

virtual void variant_topic_tools::MessageDataType::Impl::addVariableMember ( const MessageVariable member)
pure virtual

Add a variable member to this message data type (abstract declaration)

Implemented in variant_topic_tools::MessageDataType::ImplT< T >, and variant_topic_tools::MessageDataType::ImplV.

virtual const std::string& variant_topic_tools::MessageDataType::Impl::getDefinition ( ) const
pure virtual

Retrieve the definition this message data type (abstract declaration)

Implemented in variant_topic_tools::MessageDataType::ImplT< T >, and variant_topic_tools::MessageDataType::ImplV.

virtual std::string variant_topic_tools::MessageDataType::Impl::getMD5Sum ( ) const
pure virtual

Retrieve the MD5 sum of this message data type (abstract declaration)

Implemented in variant_topic_tools::MessageDataType::ImplT< T >, and variant_topic_tools::MessageDataType::ImplV.

Member Data Documentation

MessageFieldCollection<MessageConstant> variant_topic_tools::MessageDataType::Impl::constantMembers

The constant members of this message data type.

Definition at line 207 of file MessageDataType.h.

MessageFieldCollection<MessageVariable> variant_topic_tools::MessageDataType::Impl::variableMembers

The variable members of this message data type.

Definition at line 211 of file MessageDataType.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