Public Types | Public Member Functions | Public Attributes | List of all members
variant_topic_tools::MessageVariable::ImplM< T, M > Class Template Reference

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

#include <MessageVariable.h>

Inheritance diagram for variant_topic_tools::MessageVariable::ImplM< T, M >:
Inheritance graph
[legend]

Public Types

typedef ImplT< T >::ValueType ValueType
 Definition of the value type. More...
 
- Public Types inherited from variant_topic_tools::MessageVariable::ImplT< T >
typedef type_traits::MessageType< T >::ValueType ValueType
 Definition of the value type. More...
 

Public Member Functions

Variant createVariant (const Pointer< ValueType > &message) const
 Create a variant from this variable message member (implementation) More...
 
 ImplM (const std::string &name, const DataType &type, size_t offset)
 Constructor. More...
 
virtual ~ImplM ()
 Destructor. More...
 
- Public Member Functions inherited from variant_topic_tools::MessageVariable::ImplT< T >
 BOOST_STATIC_ASSERT (type_traits::IsMessage< T >::value)
 
 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...
 

Public Attributes

size_t offset
 The memory offset of this message variable. More...
 
- 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, typename M>
class variant_topic_tools::MessageVariable::ImplM< T, M >

Message variable implementation (version templated on the message type and the member type)

Definition at line 113 of file MessageVariable.h.

Member Typedef Documentation

template<typename T , typename M >
typedef ImplT<T>::ValueType variant_topic_tools::MessageVariable::ImplM< T, M >::ValueType

Definition of the value type.

Definition at line 118 of file MessageVariable.h.

Constructor & Destructor Documentation

template<typename T , typename M >
variant_topic_tools::MessageVariable::ImplM< T, M >::ImplM ( const std::string &  name,
const DataType type,
size_t  offset 
)

Constructor.

template<typename T , typename M >
virtual variant_topic_tools::MessageVariable::ImplM< T, M >::~ImplM ( )
virtual

Destructor.

Member Function Documentation

template<typename T , typename M >
Variant variant_topic_tools::MessageVariable::ImplM< T, M >::createVariant ( const Pointer< ValueType > &  message) const
virtual

Create a variant from this variable message member (implementation)

Implements variant_topic_tools::MessageVariable::ImplT< T >.

Member Data Documentation

template<typename T , typename M >
size_t variant_topic_tools::MessageVariable::ImplM< T, M >::offset

The memory offset of this message variable.

Definition at line 135 of file MessageVariable.h.


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