#include <MessageMember.h>
Classes | |
class | Impl |
Message member implementation. More... | |
Public Member Functions | |
const std::string & | getName () const |
Retrieve the name of this message member. More... | |
const DataType & | getType () const |
Retrieve the type of this message member. More... | |
bool | isConstant () const |
True, if this message member is a constant member. More... | |
bool | isValid () const |
True, if this message member is valid. More... | |
bool | isVariable () const |
True, if this message member is a variable member. More... | |
MessageMember () | |
Default constructor. More... | |
MessageMember (const MessageMember &src) | |
Copy constructor. More... | |
operator void * () const | |
Void pointer conversion. More... | |
void | write (std::ostream &stream) const |
Write the message member to a stream. More... | |
~MessageMember () | |
Destructor. More... | |
Protected Types | |
typedef boost::shared_ptr< Impl > | ImplPtr |
Declaration of the message member implementation pointer type. More... | |
typedef boost::weak_ptr< Impl > | ImplWPtr |
Declaration of the message member implementation weak pointer type. More... | |
Protected Attributes | |
ImplPtr | impl |
The message member's implementation. More... | |
Friends | |
class | MessageDataType |
Message member.
Definition at line 31 of file MessageMember.h.
|
protected |
Declaration of the message member implementation pointer type.
Definition at line 105 of file MessageMember.h.
|
protected |
Declaration of the message member implementation weak pointer type.
Definition at line 110 of file MessageMember.h.
variant_topic_tools::MessageMember::MessageMember | ( | ) |
Default constructor.
Definition at line 30 of file MessageMember.cpp.
variant_topic_tools::MessageMember::MessageMember | ( | const MessageMember & | src | ) |
Copy constructor.
Definition at line 33 of file MessageMember.cpp.
variant_topic_tools::MessageMember::~MessageMember | ( | ) |
Destructor.
Definition at line 37 of file MessageMember.cpp.
const std::string & variant_topic_tools::MessageMember::getName | ( | ) | const |
Retrieve the name of this message member.
Definition at line 51 of file MessageMember.cpp.
const DataType & variant_topic_tools::MessageMember::getType | ( | ) | const |
Retrieve the type of this message member.
Definition at line 60 of file MessageMember.cpp.
bool variant_topic_tools::MessageMember::isConstant | ( | ) | const |
True, if this message member is a constant member.
Definition at line 76 of file MessageMember.cpp.
bool variant_topic_tools::MessageMember::isValid | ( | ) | const |
True, if this message member is valid.
Definition at line 83 of file MessageMember.cpp.
bool variant_topic_tools::MessageMember::isVariable | ( | ) | const |
True, if this message member is a variable member.
Definition at line 69 of file MessageMember.cpp.
|
inline |
Void pointer conversion.
Definition at line 72 of file MessageMember.h.
void variant_topic_tools::MessageMember::write | ( | std::ostream & | stream | ) | const |
Write the message member to a stream.
Definition at line 91 of file MessageMember.cpp.
|
friend |
Definition at line 32 of file MessageMember.h.
|
protected |
The message member's implementation.
Definition at line 114 of file MessageMember.h.