This message is used by clients to query the current control state of this service. More...
#include <querycontrol.h>
Public Member Functions | |
QueryControl (const Address &dest=Address(), const Address &src=Address()) | |
Constructor, initializes default values. | |
QueryControl (const QueryControl &message) | |
Copy constructor. | |
~QueryControl () | |
Destructor. | |
virtual bool | IsCommand () const |
virtual int | WriteMessageBody (Packet &packet) const |
Writes message payload to the packet. | |
virtual int | ReadMessageBody (const Packet &packet) |
Reads message payload from the packet. | |
virtual Message * | Clone () const |
virtual UInt | GetPresenceVector () const |
virtual UInt | GetPresenceVectorSize () const |
virtual UInt | GetPresenceVectorMask () const |
virtual UShort | GetMessageCodeOfResponse () const |
virtual std::string | GetMessageName () const |
virtual void | ClearMessageBody () |
Clears message payload data. | |
virtual bool | IsLargeDataSet (const unsigned int maxPayloadSize=1437) const |
virtual int | RunTestCase () const |
Runs a test case to validate the message class. | |
QueryControl & | operator= (const QueryControl &message) |
Sets equal to. |
This message is used by clients to query the current control state of this service.
Definition at line 55 of file querycontrol.h.
Constructor, initializes default values.
[in] | src | Source ID of message sender. |
[in] | dest | Destination ID of message. |
Definition at line 53 of file querycontrol.cpp.
QueryControl::QueryControl | ( | const QueryControl & | message ) |
Copy constructor.
Definition at line 63 of file querycontrol.cpp.
QueryControl::~QueryControl | ( | ) |
Destructor.
Definition at line 74 of file querycontrol.cpp.
void QueryControl::ClearMessageBody | ( | ) | [virtual] |
Clears message payload data.
Implements JAUS::Message.
Definition at line 118 of file querycontrol.cpp.
virtual Message* JAUS::QueryControl::Clone | ( | ) | const [inline, virtual] |
Implements JAUS::Message.
Definition at line 64 of file querycontrol.h.
virtual UShort JAUS::QueryControl::GetMessageCodeOfResponse | ( | ) | const [inline, virtual] |
Implements JAUS::Message.
Definition at line 68 of file querycontrol.h.
virtual std::string JAUS::QueryControl::GetMessageName | ( | ) | const [inline, virtual] |
Implements JAUS::Message.
Definition at line 69 of file querycontrol.h.
virtual UInt JAUS::QueryControl::GetPresenceVector | ( | ) | const [inline, virtual] |
Implements JAUS::Message.
Definition at line 65 of file querycontrol.h.
virtual UInt JAUS::QueryControl::GetPresenceVectorMask | ( | ) | const [inline, virtual] |
Implements JAUS::Message.
Definition at line 67 of file querycontrol.h.
virtual UInt JAUS::QueryControl::GetPresenceVectorSize | ( | ) | const [inline, virtual] |
Implements JAUS::Message.
Definition at line 66 of file querycontrol.h.
virtual bool JAUS::QueryControl::IsCommand | ( | ) | const [inline, virtual] |
Implements JAUS::Message.
Definition at line 61 of file querycontrol.h.
virtual bool JAUS::QueryControl::IsLargeDataSet | ( | const unsigned int | maxPayloadSize = 1437 ) |
const [inline, virtual] |
Implements JAUS::Message.
Definition at line 71 of file querycontrol.h.
QueryControl & QueryControl::operator= | ( | const QueryControl & | message ) |
Sets equal to.
Definition at line 152 of file querycontrol.cpp.
int QueryControl::ReadMessageBody | ( | const Packet & | packet ) | [virtual] |
Reads message payload from the packet.
Message contents are read from the packet following the JAUS standard.
[in] | packet | Packet containing message payload data to read. |
Implements JAUS::Message.
Definition at line 107 of file querycontrol.cpp.
int QueryControl::RunTestCase | ( | ) | const [virtual] |
Runs a test case to validate the message class.
Reimplemented from JAUS::Message.
Definition at line 130 of file querycontrol.cpp.
int QueryControl::WriteMessageBody | ( | Packet & | packet ) | const [virtual] |
Writes message payload to the packet.
Message contents are written to the packet following the JAUS standard.
[out] | packet | Packet to write payload to. |
Implements JAUS::Message.
Definition at line 90 of file querycontrol.cpp.