Message variable implementation (version templated on the message type and the member type) More...
#include <MessageVariable.h>
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 DataType & | getType () 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... | |
Message variable implementation (version templated on the message type and the member type)
Definition at line 113 of file MessageVariable.h.
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.
variant_topic_tools::MessageVariable::ImplM< T, M >::ImplM | ( | const std::string & | name, |
const DataType & | type, | ||
size_t | offset | ||
) |
Constructor.
|
virtual |
Destructor.
|
virtual |
Create a variant from this variable message member (implementation)
Implements variant_topic_tools::MessageVariable::ImplT< T >.
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.