![]() |
VR-Link API Documentation for DIS
|
Instances of DtSubsurfaceLayerEncoder encode data from DtSubsurfaceLayerStateRepository objects to the net structures to be sent to the network. More...
Inheritance diagram for DtSubsurfaceLayerEncoder:
Collaboration diagram for DtSubsurfaceLayerEncoder:Public Member Functions | |
| DtSubsurfaceLayerEncoder () | |
| Default constructor. More... | |
| virtual | ~DtSubsurfaceLayerEncoder () |
| Destructor. More... | |
| DtSubsurfaceLayerEncoder (const DtSubsurfaceLayerEncoder &orig) | |
| Copy constructor. More... | |
| DtSubsurfaceLayerEncoder & | operator= (const DtSubsurfaceLayerEncoder &orig) |
| Assignment operator. More... | |
| virtual DtMetocPdu * | stateMsg (const DtSubsurfaceLayerStateRepository &stateRep, const DtSubsurfaceLayerStateRepository &asSeenByRemote) |
| Constructs a PDU from the state repository. More... | |
Public Member Functions inherited from DtMetocEncoder | |
| DtMetocEncoder () | |
| Default constructor. More... | |
| virtual | ~DtMetocEncoder () |
| Destructor. More... | |
| DtMetocEncoder (const DtMetocEncoder &orig) | |
| Copy constructor. More... | |
| DtMetocEncoder & | operator= (const DtMetocEncoder &orig) |
| Assignment operator. More... | |
| virtual DtMetocPdu * | stateMsg (const DtWeatherStateRepository &stateRep, const DtWeatherStateRepository &asSeenByRemote) |
| Constructs a PDU from the state repository. More... | |
| virtual void | setFinalPdu () |
| Sets the Final PDU status bit to indicate this is the last PDU for this object. More... | |
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 DtSubsurfaceLayerStateRepository &stateRep, const DtSubsurfaceLayerStateRepository &asSeenByRemote) |
| virtual void | fillOut (const DtSubsurfaceLayerStateRepository &stateRep, const DtSubsurfaceLayerStateRepository &asSeenByRemote, DtMetocPdu *pdu) |
Protected Member Functions inherited from DtMetocEncoder | |
| virtual bool | sendNeeded (const DtWeatherStateRepository &stateRep, const DtWeatherStateRepository &asSeenByRemote) |
| virtual void | fillOut (const DtWeatherStateRepository &stateRep, const DtWeatherStateRepository &asSeenByRemote, DtMetocPdu *pdu) |
Additional Inherited Members | |
Protected Attributes inherited from DtMetocEncoder | |
| DtMetocPdu | myPdu |
Protected Attributes inherited from DtStateEncoder | |
| bool | myForceSendNeeded |
| DtU32 | myChangedState |
Instances of DtSubsurfaceLayerEncoder encode data from DtSubsurfaceLayerStateRepository objects to the net structures to be sent to the network.
| DtSubsurfaceLayerEncoder::DtSubsurfaceLayerEncoder | ( | ) |
Default constructor.
|
virtual |
Destructor.
| DtSubsurfaceLayerEncoder::DtSubsurfaceLayerEncoder | ( | const DtSubsurfaceLayerEncoder & | orig | ) |
Copy constructor.
|
protectedvirtual |
| DtSubsurfaceLayerEncoder& DtSubsurfaceLayerEncoder::operator= | ( | const DtSubsurfaceLayerEncoder & | orig | ) |
Assignment operator.
|
protectedvirtual |
|
virtual |
Constructs a PDU from the state repository.
stateMsg determines whether a PDU needs to be sent and constructs one of it does.