![]() |
VR-Link API Documentation for DIS
|
Instances of DtIffStateEncoder are used to take state information from a DtIffStateRepository and place it into an IFF PDU. More...
Inheritance diagram for DtIffStateEncoder:
Collaboration diagram for DtIffStateEncoder:Public Member Functions | |
| DtIffStateEncoder () | |
| Constructor. More... | |
| virtual | ~DtIffStateEncoder () |
| Destructor. More... | |
| DtIffStateEncoder (const DtIffStateEncoder &orig) | |
| Copy constructor. More... | |
| DtIffStateEncoder & | operator= (const DtIffStateEncoder &orig) |
| Assignment operator. More... | |
| virtual DtIffAtcNavaidsPdu * | stateMsg (const DtIffStateRepository &stateRep, const DtIffStateRepository &asSeenByRemote) |
| Constructs a PDU from the state repository. More... | |
| DtCLONE_ENCODER (DtIffStateEncoder) | |
Public Member Functions inherited from DtStateEncoder | |
| DtStateEncoder () | |
| Default constructor. More... | |
| virtual | ~DtStateEncoder () |
| Destructor. More... | |
| DtStateEncoder (const DtStateEncoder &orig) | |
| Copy constructor. More... | |
| DtStateEncoder & | operator= (const DtStateEncoder &orig) |
| Assignment operator. More... | |
| virtual void | setSendNeeded () |
| Sets myForceSendNeeded to true. More... | |
| virtual DtU32 | changedState () const |
| virtual void | clearChangedState () |
| virtual bool | isChangedStateBit (DtU32 st) const |
| virtual void | resetChangedStateBit (DtU32 st) |
| virtual void | setChangedStateBit (DtU32 st) |
| virtual DtPduEncoder * | clone () const =0 |
| clone. More... | |
| virtual void | encode (DtPdu *pdu) |
| This is a dummy method for backwards compatibility with DIS encoders. More... | |
| virtual void | fillOutAttributeRecords (const DtStateRepository &stateRep, DtPduWithAttributeRecordSets *pdu, const DtEntityIdentifier &id, bool clearBeforeAdding=true) |
| DIS 7 requires filling the Attribute Records for a coupled Attribute PDU. More... | |
| virtual bool | sendNeededAttributeRecords (const DtStateRepository &stateRep, const DtStateRepository &asSeenByRemote) |
| In order to modify records in place, and have them sent, we need to compare the stateRep with the As seen by remote. More... | |
Public Member Functions inherited from DtPduEncoder | |
| virtual | ~DtPduEncoder () |
Protected Member Functions | |
| virtual bool | sendNeeded (const DtIffStateRepository &stateRep, const DtIffStateRepository &asSeenByRemote) |
| Returns true if a PDU needs to be sent, (based on thresholds, etc) false otherwise. More... | |
| virtual void | fillOut (const DtIffStateRepository &stateRep, const DtIffStateRepository &asSeenByRemote, DtIffAtcNavaidsPdu *pdu) |
| Fill out a state message which reflects a state repository. More... | |
| virtual bool | dataParamsNeedUpdating (const DtIffStateRepository &stateRep, const DtIffStateRepository &asSeenByRemote) |
| Returns true if art part info is out of date, false otherwise. More... | |
Protected Attributes | |
| DtIffAtcNavaidsPdu | myAsPdu |
Protected Attributes inherited from DtStateEncoder | |
| bool | myForceSendNeeded |
| DtU32 | myChangedState |
Instances of DtIffStateEncoder are used to take state information from a DtIffStateRepository and place it into an IFF PDU.
| DtIffStateEncoder::DtIffStateEncoder | ( | ) |
Constructor.
|
virtual |
Destructor.
| DtIffStateEncoder::DtIffStateEncoder | ( | const DtIffStateEncoder & | orig | ) |
Copy constructor.
|
protectedvirtual |
Returns true if art part info is out of date, false otherwise.
| DtIffStateEncoder::DtCLONE_ENCODER | ( | DtIffStateEncoder | ) |
|
protectedvirtual |
Fill out a state message which reflects a state repository.
| DtIffStateEncoder& DtIffStateEncoder::operator= | ( | const DtIffStateEncoder & | orig | ) |
Assignment operator.
|
protectedvirtual |
Returns true if a PDU needs to be sent, (based on thresholds, etc) false otherwise.
|
virtual |
Constructs a PDU from the state repository.
stateMsg determines whether an IFF PDU needs to be sent and constructs one of it does.
|
protected |