![]() |
VR-Forces Developer's Guide
|
Instances of this class provide a protocol independent interface to a list of DynamicTerrain in a DIS environment.
Instances of DtReflectedDynamicTerrainList manage a list of DtReflectedDynamicTerrain objects.

Protected Member Functions | |
| virtual DtReflectedObject * | newReflectedObj (const DtStateMsg &msg) override |
| virtual DtReflectedObject * | processStateMessage (const DtStateMsg &msg) override |
| virtual void | objectAdded (DtReflectedObject *obj) override |
| virtual const DtBaseHashKey & | hashKeyFromStateMessage (const DtStateMsg *msg) override |
| virtual DtReflectedDynamicTerrain * | newReflectedDynamicTerrain () const |
| virtual void | dynamicTerrainAdded (DtReflectedDynamicTerrain *dynTerr) |
| virtual void | finalPduIsSetAction (DtReflectedDynamicTerrain *dynTerr) |
| virtual DtReflectedObject * | newReflectedObject (DtHlaObject *obj) const override |
| virtual void | objectAdded (DtReflectedObject *obj) override |
Static Protected Member Functions | |
| static void | DynamicTerrainStateCb (DtDynamicTerrainPdu *pdu, void *usr) |
Protected Attributes | |
| DtBaseHashKey * | myHashKey |
Private Member Functions | |
| DtReflectedDynamicTerrainList & | operator= (const DtReflectedDynamicTerrainList &orig) |
| DtReflectedDynamicTerrainList (const DtReflectedDynamicTerrainList &orig) | |
| DtReflectedDynamicTerrainList (const DtReflectedDynamicTerrainList &orig) | |
| DtReflectedDynamicTerrainList & | operator= (const DtReflectedDynamicTerrainList &orig) |
| DtReflectedDynamicTerrainList::DtReflectedDynamicTerrainList | ( | DtExerciseConn * | exConn | ) |
Constructor.
|
overridevirtual |
Destructor.
|
private |
Copy constructor – not implemented.
| DtReflectedDynamicTerrainList::DtReflectedDynamicTerrainList | ( | DtExerciseConn * | exConn, |
| const DtDDMRegionSet * | regionSetToUse = 0 |
||
| ) |
Constructor.
| DtReflectedDynamicTerrainList::DtReflectedDynamicTerrainList | ( | DtExerciseConn * | exConn, |
| const DtList * | handleList, | ||
| const DtDDMRegionSet * | regionSetToUse = 0 |
||
| ) |
Constructor - only subscribe to the RTI::ObjectClassHandles in handleList.
|
overridevirtual |
Destructor.
|
private |
Copy constructor not implemented - cannot be copied.
|
private |
Assignment operator – not implemented.
|
virtual |
|
virtual |
|
virtual |
DynamicTerrain added callback registration/deregistration.
|
virtual |
|
virtual |
DynamicTerrain removed callback registration/deregistration.
|
virtual |
|
virtual |
Print the SRs of all objects.
|
virtual |
Process an incoming DynamicTerrain state pdu. Then calls down to base class processStateMessage().
|
overrideprotectedvirtual |
Create a new object from a state message.
|
overrideprotectedvirtual |
Process an incoming state message.
|
overrideprotectedvirtual |
Called after an DynamicTerrain is added and before additional callbacks are processed. Right now, this function only calls DtInfo.
|
overrideprotectedvirtual |
Get a hash key from a state message.
|
protectedvirtual |
Create a new reflected DynamicTerrain.
|
protectedvirtual |
Called after a DynamicTerrain is added and before additional callbacks are processed. Right now, this function only calls DtInfo.
|
protectedvirtual |
Called when an entity sends its final PDU. Currently, this removes and deletes the entity.
|
staticprotected |
Callback for the exercise connection.
|
private |
Assignment operator not implemented - cannot be copied.
|
virtual |
Look up by identifier.
|
virtual |
Look up by name.
|
virtual |
Get the first reflected object in the list.
|
virtual |
Get the last reflected object in the list.
|
virtual |
DynamicTerrain added callback registration.
|
virtual |
DynamicTerrain added callback deregistration.
|
virtual |
DynamicTerrain removed callback registration.
|
virtual |
DynamicTerrain removed callback deregistration.
|
overrideprotectedvirtual |
Override of virtual function. Here, we create a DtReflectedDynamicTerrain.
|
overrideprotectedvirtual |
Called from processDiscoverObject() after a remote DynamicTerrain has been added to the list. Default implementation prints a message. Subclasses can override this function to add functionality on addition. obj will be an instance of a class derived from DtReflectedObj.
|
protected |