Public Member Functions |
| | DtIffAtcNavaidsPdu (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) |
| | Constructors.
|
| | DtIffAtcNavaidsPdu (const DtNetIffAtcNavaidsPduLayer1 *initial, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) |
| | DtIffAtcNavaidsPdu (const DtIffAtcNavaidsPdu &orig) |
| virtual | ~DtIffAtcNavaidsPdu () |
| | destructor
|
| DtIffAtcNavaidsPdu & | operator= (const DtIffAtcNavaidsPdu &orig) |
| | Assignment operator.
|
| virtual void | setEmittingEntityID (const DtEntityIdentifier &entity) |
| | Set/Get emitting entity identifier.
|
| virtual const DtEntityIdentifier & | emittingEntityID () const |
| virtual void | setEventID (const DtEventID &event) |
| | Set/Get event identifier.
|
| virtual const DtEventID & | eventID () const |
| virtual void | setLocation (const DtVector &coords) |
| | Set/Get location.
|
| virtual const DtVector & | location () const |
| virtual void | setSystemID (const DtIffAtcNavaidsSystemID &id) |
| | Set/Get system ID.
|
virtual const
DtIffAtcNavaidsSystemID & | systemID () const |
| virtual void | setOperational (const DtIffAtcNavaidsOperational &oper) |
| | Set/Get fundamental operational data.
|
virtual const
DtIffAtcNavaidsOperational & | operational () const |
| virtual bool | layerPresent (int layer) const |
| | Query the layers field of the fundamental operational data record.
|
| virtual bool | enableLayer2 (DtU8 layerSpecificInfo, int numRecords) |
| | Enable/Disable layer 2.
|
| virtual bool | disableLayer2 () |
virtual const
DtIffAtcNavaidsLayerHeader & | layer2Header () const |
| | Note: the following accessor functions are for records in layer 2.
|
| virtual void | setBeamData (const DtIffAtcNavaidsBeamData &beamData) |
| | Set/Get beam data.
|
virtual const
DtIffAtcNavaidsBeamData & | beamData () const |
| virtual void | setSecondaryOperational (const DtIffAtcNavaidsSecondOperational &oper) |
| | Set/Get secondary operational parameters.
|
virtual const
DtIffAtcNavaidsSecondOperational & | secondaryOperational () const |
| virtual DtU16 | numParameterSets () const |
| | Get the number of fundamental parameter data records from the secondary operational parameters record.
|
| virtual bool | setParmData (int parmIndex, const DtIffAtcNavaidsParameter &init) |
| | Set/Get the fundamental parameter data records for the second layer.
|
| virtual bool | getParmData (int parmIndex, DtIffAtcNavaidsParameter &record) const |
| virtual void | printData () const |
| | Print the data contained by this PDU.
|
| virtual void | printDataToStream (std::ostream &stream) const |
| | Print the data to a stream.
|
| | DtStateMsg () |
| | default constructor
|
| virtual | ~DtStateMsg () |
| | destructor
|
| | DtStateMsg (const DtStateMsg &orig) |
| | copy constructor
|
| DtStateMsg & | operator= (const DtStateMsg &orig) |
| | assignment operator
|
| virtual | ~DtPdu () |
| | Destructor.
|
| | DtPdu (const DtPdu &pdu, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) |
| | Copy constructor.
|
| DtPdu & | operator= (const DtPdu &pdu) |
| | Assignment operator.
|
| virtual void * | packet () const |
| | Older function that returns a pointer to the network representation.
|
| virtual int | status () const |
| | Get PDU status.
|
| virtual void | setVersion (int vers) |
| | Set/Get protocol version from PDU header.
|
| virtual int | protocolVersion () const |
| virtual void | setExerciseId (int id) |
| | Set/Get exerciseID in PDU header.
|
| virtual int | exerciseId () const |
| virtual DtPduKind | kind () const |
| | Returns PDU kind from PDU header.
|
| virtual DtProtocolFamily | protocolFamily () const |
| | Returns protocol family from PDU header.
|
| virtual void | setTimeStamp (DtTime time, DtTimeStampType type=DtTimeStampRelative) |
| | Set the PDU header's time stamp to reflect time and type.
|
| virtual DtTime | timeStamp () const |
| | Return the time (in seconds past an hour) encoded in the PDU header's time stamp.
|
| virtual DtTimeStampType | timeStampType () const |
| | Return the type of the time stamp, as indicated in PDU header.
|
| virtual DtTime | guessTimeValid (DtTime referenceTime) const |
| | Since timestamp only represents number of seconds past the hour, guessTimeValid chooses the hour that would make the timestamp closest to reference time, and returns a time that is timestamp seconds past that hour.
|
| virtual DtNetPduHeader * | netHeader () const |
| | Returns a pointer to the PDU's header.
|
| virtual void | print () const |
| | Print the contents of the PDU by calling printToStream(DtInfo).
|
| virtual void | printToStream (std::ostream &stream) const |
| | Print the contents of the PDU by calling printHeaderToStream and printDataToStream.
|
| virtual void | printHeader () const |
| | Print the PDU's header. This calls printHeaderToStream(DtInfo).
|
| virtual void | printHeaderToStream (std::ostream &stream) const |
| | Print the PDU's header to a stream.
|
| virtual void | printDataToString (DtString &str) const |
| virtual | ~DtBaseMsg () |
| | Destructor.
|
| | DtBaseMsg (const DtBaseMsg &msg, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) |
| | Copy constructor.
|
| DtBaseMsg & | operator= (const DtBaseMsg &msg) |
| | Assignment.
|
| virtual const char * | netRep () const |
| | Get network representation.
|
| virtual int | length () const |
| | Get size of message.
|
Instances of DtIffAtcNavaidsPdu are used to send information about simulated radio transponders and interrogators.