Public Types | Public Member Functions | List of all members
variant_topic_tools::MessageVariable::ImplT< T > Class Template Referenceabstract

Message variable implementation (version templated on the message type) More...

#include <MessageVariable.h>

Inheritance diagram for variant_topic_tools::MessageVariable::ImplT< T >:
Inheritance graph
[legend]

Public Types

typedef type_traits::MessageType< T >::ValueType ValueType
 Definition of the value type. More...
 

Public Member Functions

 BOOST_STATIC_ASSERT (type_traits::IsMessage< T >::value)
 
virtual Variant createVariant (const Pointer< ValueType > &message) const =0
 Create a variant from this variable message member (abstract declaration) More...
 
 ImplT (const std::string &name, const DataType &type)
 Constructor. More...
 
virtual ~ImplT ()
 Destructor. More...
 
- Public Member Functions inherited from variant_topic_tools::MessageVariable::Impl
const DataTypegetType () const
 Retrieve the type of this message member (implementation) More...
 
 Impl (const std::string &name, const DataType &type)
 Constructor. More...
 
void write (std::ostream &stream) const
 Write the message member to a stream (implementation) More...
 
virtual ~Impl ()
 Destructor. More...
 
- Public Member Functions inherited from variant_topic_tools::MessageMember::Impl
 Impl (const std::string &name)
 Constructor. More...
 

Additional Inherited Members

- Public Attributes inherited from variant_topic_tools::MessageVariable::Impl
DataType type
 The data type of this message variable. More...
 
- Public Attributes inherited from variant_topic_tools::MessageMember::Impl
std::string name
 The name of this message member. More...
 

Detailed Description

template<typename T>
class variant_topic_tools::MessageVariable::ImplT< T >

Message variable implementation (version templated on the message type)

Definition at line 86 of file MessageVariable.h.

Member Typedef Documentation

Definition of the value type.

Definition at line 93 of file MessageVariable.h.

Constructor & Destructor Documentation

template<typename T>
variant_topic_tools::MessageVariable::ImplT< T >::ImplT ( const std::string &  name,
const DataType type 
)

Constructor.

template<typename T>
virtual variant_topic_tools::MessageVariable::ImplT< T >::~ImplT ( )
virtual

Destructor.

Member Function Documentation

template<typename T>
variant_topic_tools::MessageVariable::ImplT< T >::BOOST_STATIC_ASSERT ( type_traits::IsMessage< T >::value  )
template<typename T>
virtual Variant variant_topic_tools::MessageVariable::ImplT< T >::createVariant ( const Pointer< ValueType > &  message) const
pure virtual

Create a variant from this variable message member (abstract declaration)

Implemented in variant_topic_tools::MessageVariable::ImplM< T, M >.


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


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