Classes | Public Member Functions | Protected Attributes

JAUS::QueryLocalWaypoint Class Reference

This message shall cause the receiving component to reply to the requestor with a ID 440Dh: ReportLocalWaypoint 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 <querylocalwaypoint.h>

Inheritance diagram for JAUS::QueryLocalWaypoint:
JAUS::Message

List of all members.

Classes

class  PresenceVector
 This class contains bit masks for bitwise operations on the presence vector for this message. More...

Public Member Functions

 QueryLocalWaypoint (const Address &dest=Address(), const Address &src=Address())
 Constructor, initializes default values.
 QueryLocalWaypoint (const QueryLocalWaypoint &message)
 Copy constructor.
 ~QueryLocalWaypoint ()
 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 MessageClone () 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.
QueryLocalWaypointoperator= (const QueryLocalWaypoint &message)
 Sets equal to.

Protected Attributes

Byte mPresenceVector
 Bit vector for fields present.

Detailed Description

This message shall cause the receiving component to reply to the requestor with a ID 440Dh: ReportLocalWaypoint 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 querylocalwaypoint.h.


Constructor & Destructor Documentation

QueryLocalWaypoint::QueryLocalWaypoint ( const Address dest = Address(),
const Address src = Address() 
)

Constructor, initializes default values.

Parameters:
[in]srcSource ID of message sender.
[in]destDestination ID of message.

Definition at line 53 of file querylocalwaypoint.cpp.

QueryLocalWaypoint::QueryLocalWaypoint ( const QueryLocalWaypoint message )

Copy constructor.

Definition at line 64 of file querylocalwaypoint.cpp.

QueryLocalWaypoint::~QueryLocalWaypoint (  )

Destructor.

Definition at line 75 of file querylocalwaypoint.cpp.


Member Function Documentation

void QueryLocalWaypoint::ClearMessageBody (  ) [virtual]

Clears message payload data.

Implements JAUS::Message.

Definition at line 129 of file querylocalwaypoint.cpp.

virtual Message* JAUS::QueryLocalWaypoint::Clone (  ) const [inline, virtual]

Implements JAUS::Message.

Definition at line 86 of file querylocalwaypoint.h.

virtual UShort JAUS::QueryLocalWaypoint::GetMessageCodeOfResponse (  ) const [inline, virtual]

Implements JAUS::Message.

Definition at line 90 of file querylocalwaypoint.h.

virtual std::string JAUS::QueryLocalWaypoint::GetMessageName (  ) const [inline, virtual]

Implements JAUS::Message.

Definition at line 91 of file querylocalwaypoint.h.

virtual UInt JAUS::QueryLocalWaypoint::GetPresenceVector (  ) const [inline, virtual]

Implements JAUS::Message.

Definition at line 87 of file querylocalwaypoint.h.

virtual UInt JAUS::QueryLocalWaypoint::GetPresenceVectorMask (  ) const [inline, virtual]

Implements JAUS::Message.

Definition at line 89 of file querylocalwaypoint.h.

virtual UInt JAUS::QueryLocalWaypoint::GetPresenceVectorSize (  ) const [inline, virtual]

Implements JAUS::Message.

Definition at line 88 of file querylocalwaypoint.h.

virtual bool JAUS::QueryLocalWaypoint::IsCommand (  ) const [inline, virtual]

Implements JAUS::Message.

Definition at line 83 of file querylocalwaypoint.h.

virtual bool JAUS::QueryLocalWaypoint::IsLargeDataSet ( const unsigned int  maxPayloadSize = 1437 ) const [inline, virtual]

Implements JAUS::Message.

Definition at line 93 of file querylocalwaypoint.h.

QueryLocalWaypoint & QueryLocalWaypoint::operator= ( const QueryLocalWaypoint message )

Sets equal to.

Definition at line 166 of file querylocalwaypoint.cpp.

int QueryLocalWaypoint::ReadMessageBody ( const Packet packet ) [virtual]

Reads message payload from the packet.

Message contents are read from the packet following the JAUS standard.

Parameters:
[in]packetPacket containing message payload data to read.
Returns:
-1 on error, otherwise number of bytes written.

Implements JAUS::Message.

Definition at line 113 of file querylocalwaypoint.cpp.

int QueryLocalWaypoint::RunTestCase (  ) const [virtual]

Runs a test case to validate the message class.

Returns:
1 on success, otherwise 0.

Reimplemented from JAUS::Message.

Definition at line 142 of file querylocalwaypoint.cpp.

void JAUS::QueryLocalWaypoint::SetPresenceVector ( const Byte  presenceVector ) [inline]

Definition at line 82 of file querylocalwaypoint.h.

int QueryLocalWaypoint::WriteMessageBody ( Packet packet ) const [virtual]

Writes message payload to the packet.

Message contents are written to the packet following the JAUS standard.

Parameters:
[out]packetPacket to write payload to.
Returns:
-1 on error, otherwise number of bytes written.

Implements JAUS::Message.

Definition at line 91 of file querylocalwaypoint.cpp.


Member Data Documentation

Bit vector for fields present.

Definition at line 97 of file querylocalwaypoint.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines