Message constant implementation. More...
#include <MessageConstant.h>
Public Member Functions | |
const DataType & | getType () const |
Retrieve the type of this message member (implementation) More... | |
Impl (const std::string &name, const Variant &value) | |
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 | |
Variant | value |
The value of this message constant. More... | |
Public Attributes inherited from variant_topic_tools::MessageMember::Impl | |
std::string | name |
The name of this message member. More... | |
Message constant implementation.
Definition at line 60 of file MessageConstant.h.
variant_topic_tools::MessageConstant::Impl::Impl | ( | const std::string & | name, |
const Variant & | value | ||
) |
Constructor.
Definition at line 67 of file MessageConstant.cpp.
|
virtual |
Destructor.
Reimplemented from variant_topic_tools::MessageMember::Impl.
Definition at line 74 of file MessageConstant.cpp.
|
virtual |
Retrieve the type of this message member (implementation)
Implements variant_topic_tools::MessageMember::Impl.
Definition at line 90 of file MessageConstant.cpp.
|
virtual |
Write the message member to a stream (implementation)
Implements variant_topic_tools::MessageMember::Impl.
Definition at line 98 of file MessageConstant.cpp.
Variant variant_topic_tools::MessageConstant::Impl::value |
The value of this message constant.
Definition at line 81 of file MessageConstant.h.