This message shall cause the receiving component to reply to the requestor with a ID 440Ch: ReportGlobalWaypoint message. A logical AND shall be performed on the requested presence vector and that representing the available fields from the responder. The resulting message shall contain the fields indicated by the result of this logical AND operation. More...
#include <queryglobalwaypoint.h>
Classes | |
class | PresenceVector |
This class contains bit masks for bitwise operations on the presence vector for this message. More... | |
Public Member Functions | |
QueryGlobalWaypoint (const Address &dest=Address(), const Address &src=Address()) | |
Constructor, initializes default values. | |
QueryGlobalWaypoint (const QueryGlobalWaypoint &message) | |
Copy constructor. | |
~QueryGlobalWaypoint () | |
Destructor. | |
void | SetPresenceVector (const Byte presenceVector) |
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. | |
QueryGlobalWaypoint & | operator= (const QueryGlobalWaypoint &message) |
Sets equal to. | |
Protected Attributes | |
Byte | mPresenceVector |
Bit vector for fields present. |
This message shall cause the receiving component to reply to the requestor with a ID 440Ch: ReportGlobalWaypoint message. A logical AND shall be performed on the requested presence vector and that representing the available fields from the responder. The resulting message shall contain the fields indicated by the result of this logical AND operation.
Definition at line 59 of file queryglobalwaypoint.h.
QueryGlobalWaypoint::QueryGlobalWaypoint | ( | const Address & | dest = Address() , |
const Address & | src = Address() |
||
) |
Constructor, initializes default values.
[in] | src | Source ID of message sender. |
[in] | dest | Destination ID of message. |
Definition at line 53 of file queryglobalwaypoint.cpp.
QueryGlobalWaypoint::QueryGlobalWaypoint | ( | const QueryGlobalWaypoint & | message ) |
Copy constructor.
Definition at line 64 of file queryglobalwaypoint.cpp.
QueryGlobalWaypoint::~QueryGlobalWaypoint | ( | ) |
Destructor.
Definition at line 75 of file queryglobalwaypoint.cpp.
void QueryGlobalWaypoint::ClearMessageBody | ( | ) | [virtual] |
Clears message payload data.
Implements JAUS::Message.
Definition at line 129 of file queryglobalwaypoint.cpp.
virtual Message* JAUS::QueryGlobalWaypoint::Clone | ( | ) | const [inline, virtual] |
Implements JAUS::Message.
Definition at line 86 of file queryglobalwaypoint.h.
virtual UShort JAUS::QueryGlobalWaypoint::GetMessageCodeOfResponse | ( | ) | const [inline, virtual] |
Implements JAUS::Message.
Definition at line 90 of file queryglobalwaypoint.h.
virtual std::string JAUS::QueryGlobalWaypoint::GetMessageName | ( | ) | const [inline, virtual] |
Implements JAUS::Message.
Definition at line 91 of file queryglobalwaypoint.h.
virtual UInt JAUS::QueryGlobalWaypoint::GetPresenceVector | ( | ) | const [inline, virtual] |
Implements JAUS::Message.
Definition at line 87 of file queryglobalwaypoint.h.
virtual UInt JAUS::QueryGlobalWaypoint::GetPresenceVectorMask | ( | ) | const [inline, virtual] |
Implements JAUS::Message.
Definition at line 89 of file queryglobalwaypoint.h.
virtual UInt JAUS::QueryGlobalWaypoint::GetPresenceVectorSize | ( | ) | const [inline, virtual] |
Implements JAUS::Message.
Definition at line 88 of file queryglobalwaypoint.h.
virtual bool JAUS::QueryGlobalWaypoint::IsCommand | ( | ) | const [inline, virtual] |
Implements JAUS::Message.
Definition at line 83 of file queryglobalwaypoint.h.
virtual bool JAUS::QueryGlobalWaypoint::IsLargeDataSet | ( | const unsigned int | maxPayloadSize = 1437 ) |
const [inline, virtual] |
Implements JAUS::Message.
Definition at line 93 of file queryglobalwaypoint.h.
QueryGlobalWaypoint & QueryGlobalWaypoint::operator= | ( | const QueryGlobalWaypoint & | message ) |
Sets equal to.
Definition at line 166 of file queryglobalwaypoint.cpp.
int QueryGlobalWaypoint::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 113 of file queryglobalwaypoint.cpp.
int QueryGlobalWaypoint::RunTestCase | ( | ) | const [virtual] |
Runs a test case to validate the message class.
Reimplemented from JAUS::Message.
Definition at line 142 of file queryglobalwaypoint.cpp.
void JAUS::QueryGlobalWaypoint::SetPresenceVector | ( | const Byte | presenceVector ) | [inline] |
Definition at line 82 of file queryglobalwaypoint.h.
int QueryGlobalWaypoint::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 91 of file queryglobalwaypoint.cpp.
Byte JAUS::QueryGlobalWaypoint::mPresenceVector [protected] |
Bit vector for fields present.
Definition at line 97 of file queryglobalwaypoint.h.