VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | Private Member Functions
DtReflectedDynamicTerrain Class Reference

Instances of DtReflectedDynamicTerrain are used to represent a simulated HLAobjectRoot.DynamicTerrain object reflected across a network.

Inheritance diagram for DtReflectedDynamicTerrain:
Inheritance graph
[legend]

Public Types

typedef
DtDynamicTerrainStateRepository *(* 
DtStateRepCreator )()
 
typedef
DtDynamicTerrainStateRepository *(* 
DtStateRepCreator )()
 

Public Member Functions

 DtReflectedDynamicTerrain (DtExerciseConn *conn)
 
virtual ~DtReflectedDynamicTerrain () override
 
virtual
DtDynamicTerrainStateRepository * 
dynamicTerrainStateRep () const
 
virtual
DtDynamicTerrainStateRepository * 
dsr () const
 
virtual DtStateRepository * stateRep () const override
 
virtual DtDynamicTerrainDecoder * decoder ()
 
virtual const
DtGlobalObjectDesignator & 
globalId () const override
 
virtual DtReflectedDynamicTerrain * next () const
 
virtual DtReflectedDynamicTerrain * prev () const
 
virtual DtReflectedDynamicTerrain * wrapNext () const
 
virtual DtReflectedDynamicTerrain * wrapPrev () const
 
virtual void addPostUpdateCallback (DtDynamicTerrainCallbackFunction cb, void *userData)
 
virtual void removePostUpdateCallback (DtDynamicTerrainCallbackFunction cb, void *userData)
 
virtual void setHashKey (const DtString &uniqueVal)
 
virtual const DtBaseHashKey & hashKey () const override
 
virtual DtString idString () const override
 
virtual void processStateMessage (const DtStateMsg &msg) override
 
virtual void processDynamicTerrainState (const DtDynamicTerrainPdu &pdu)
 
 DtReflectedDynamicTerrain (DtHlaObject *obj, DtExerciseConn *exConn)
 
virtual ~DtReflectedDynamicTerrain () override
 
virtual
DtDynamicTerrainStateRepository * 
dynamicTerrainStateRep () const
 
virtual
DtDynamicTerrainStateRepository * 
dsr () const
 
virtual DtReflectedDynamicTerrain * next () const
 
virtual DtReflectedDynamicTerrain * prev () const
 
virtual DtReflectedDynamicTerrain * wrapNext () const
 
virtual DtReflectedDynamicTerrain * wrapPrev () const
 
virtual void addPostUpdateCallback (DtDynamicTerrainCallbackFunction cb, void *userData)
 
virtual void removePostUpdateCallback (DtDynamicTerrainCallbackFunction cb, void *userData)
 

Static Public Member Functions

static void setStateRepCreator (DtStateRepCreator creator)
 
static DtStateRepCreator stateRepCreator (void)
 
static DtStateRepCreator setStateRepCreator (DtStateRepCreator creator)
 

Protected Member Functions

 DtReflectedDynamicTerrain (const DtReflectedDynamicTerrain &orig)
 
DtReflectedDynamicTerrain & operator= (const DtReflectedDynamicTerrain &orig)
 

Protected Attributes

DtStringHashKey myHashKey
 
DtDynamicTerrainStateRepository * myStateRep
 
DtDynamicTerrainDecoder * myDecoder
 

Static Protected Attributes

static DtStateRepCreator theStateRepCreator
 

Private Member Functions

 DtReflectedDynamicTerrain (const DtReflectedDynamicTerrain &orig)
 
DtReflectedDynamicTerrain & operator= (const DtReflectedDynamicTerrain &orig)
 

Member Typedef Documentation

typedef DtDynamicTerrainStateRepository*(* DtReflectedDynamicTerrain::DtStateRepCreator)()

Function prototype for functions that create DtDynamicTerrainStateRepository.

typedef DtDynamicTerrainStateRepository*(* DtReflectedDynamicTerrain::DtStateRepCreator)()

Function prototype for functions that create a DtDynamicTerrainStateRepository.

Constructor & Destructor Documentation

DtReflectedDynamicTerrain::DtReflectedDynamicTerrain ( DtExerciseConn *  conn)

Constructor.

virtual DtReflectedDynamicTerrain::~DtReflectedDynamicTerrain ( )
overridevirtual

Destructor.

DtReflectedDynamicTerrain::DtReflectedDynamicTerrain ( const DtReflectedDynamicTerrain &  orig)
private

copy constructor – not implemented

DtReflectedDynamicTerrain::DtReflectedDynamicTerrain ( DtHlaObject *  obj,
DtExerciseConn *  exConn 
)

Constructor.

virtual DtReflectedDynamicTerrain::~DtReflectedDynamicTerrain ( )
overridevirtual

Destructor.

DtReflectedDynamicTerrain::DtReflectedDynamicTerrain ( const DtReflectedDynamicTerrain &  orig)
protected

Copy Constructor not implemented.

Member Function Documentation

DtReflectedDynamicTerrain& DtReflectedDynamicTerrain::operator= ( const DtReflectedDynamicTerrain &  orig)
private

assignment operator – not implemented

DtDynamicTerrainStateRepository * DtReflectedDynamicTerrain::dynamicTerrainStateRep ( ) const
inlinevirtual

Returns a pointer to the StateRepository - through which you can inspect current state information.

References myStateRep.

DtDynamicTerrainStateRepository * DtReflectedDynamicTerrain::dsr ( ) const
inlinevirtual

Synonym for dynamicTerrainStateRep().

References myStateRep.

virtual DtStateRepository* DtReflectedDynamicTerrain::stateRep ( ) const
overridevirtual

Returns a pointer to the StateRepository - through which you can inspect current state information. Implementation for abstract base class. Calls asr().

virtual DtDynamicTerrainDecoder* DtReflectedDynamicTerrain::decoder ( )
virtual

Returns a pointer to the Decoder being used to decode state messages into our SR.

virtual const DtGlobalObjectDesignator& DtReflectedDynamicTerrain::globalId ( ) const
overridevirtual

Get the objects's global object designator - for DIS, it's the same as its DtEntityIdentifier.

virtual DtReflectedDynamicTerrain* DtReflectedDynamicTerrain::next ( ) const
virtual

Get the next and previous elements in the reflected aggregate list.

virtual DtReflectedDynamicTerrain* DtReflectedDynamicTerrain::prev ( ) const
virtual
virtual DtReflectedDynamicTerrain* DtReflectedDynamicTerrain::wrapNext ( ) const
virtual

Get the next and previous elements, wrap at the ends of the list.

virtual DtReflectedDynamicTerrain* DtReflectedDynamicTerrain::wrapPrev ( ) const
virtual
virtual void DtReflectedDynamicTerrain::addPostUpdateCallback ( DtDynamicTerrainCallbackFunction  cb,
void *  userData 
)
virtual

Entity state callback registration/deregistration.

virtual void DtReflectedDynamicTerrain::removePostUpdateCallback ( DtDynamicTerrainCallbackFunction  cb,
void *  userData 
)
virtual
virtual void DtReflectedDynamicTerrain::setHashKey ( const DtString &  uniqueVal)
virtual

Sets the hash key from a unique string value.

virtual const DtBaseHashKey& DtReflectedDynamicTerrain::hashKey ( ) const
overridevirtual

Get a hash key for this object - Key must be set before use.

virtual DtString DtReflectedDynamicTerrain::idString ( ) const
overridevirtual

Get a string identification of this object.

virtual void DtReflectedDynamicTerrain::processStateMessage ( const DtStateMsg &  msg)
overridevirtual

Implementation for abstract base class.

virtual void DtReflectedDynamicTerrain::processDynamicTerrainState ( const DtDynamicTerrainPdu &  pdu)
virtual

Process an state PDU. Also calls down to base class processStateMessage().

static void DtReflectedDynamicTerrain::setStateRepCreator ( DtStateRepCreator  creator)
static

Give us a function to be used for creating SRs.

static DtStateRepCreator DtReflectedDynamicTerrain::stateRepCreator ( void  )
static
virtual DtDynamicTerrainStateRepository* DtReflectedDynamicTerrain::dynamicTerrainStateRep ( ) const
virtual

Returns the DynamicTerrain's state repository.

virtual DtDynamicTerrainStateRepository* DtReflectedDynamicTerrain::dsr ( ) const
virtual

Shorter version of lifeformRep.

virtual DtReflectedDynamicTerrain* DtReflectedDynamicTerrain::next ( ) const
virtual

Returns the next reflected DynamicTerrain in the DtReflectedDynamicTerrainList.

virtual DtReflectedDynamicTerrain* DtReflectedDynamicTerrain::prev ( ) const
virtual

Returns the previous reflected DynamicTerrain in the DtReflectedDynamicTerrainList.

virtual DtReflectedDynamicTerrain* DtReflectedDynamicTerrain::wrapNext ( ) const
virtual

Returns the next reflected DynamicTerrain. Will cycle back to the first remote DynamicTerrain in the DtReflectedDynamicTerrainList.

virtual DtReflectedDynamicTerrain* DtReflectedDynamicTerrain::wrapPrev ( ) const
virtual

Returns the previous reflected DynamicTerrain. Will cycle back to the first remote DynamicTerrain in the DtReflectedDynamicTerrainList.

virtual void DtReflectedDynamicTerrain::addPostUpdateCallback ( DtDynamicTerrainCallbackFunction  cb,
void *  userData 
)
virtual

Add a callback that is called when the DtReflectedDynamicTerrain is updated.

virtual void DtReflectedDynamicTerrain::removePostUpdateCallback ( DtDynamicTerrainCallbackFunction  cb,
void *  userData 
)
virtual

Remove the callback that is called when the DtReflectedDynamicTerrain is updated.

static DtStateRepCreator DtReflectedDynamicTerrain::setStateRepCreator ( DtStateRepCreator  creator)
static

Set the function to be called for creating state repositories.

DtReflectedDynamicTerrain& DtReflectedDynamicTerrain::operator= ( const DtReflectedDynamicTerrain &  orig)
protected

Assignment operator not implemented.

Member Data Documentation

static DtStateRepCreator DtReflectedDynamicTerrain::theStateRepCreator
staticprotected

The function called to create state repositories.

DtStringHashKey DtReflectedDynamicTerrain::myHashKey
protected
DtDynamicTerrainStateRepository* DtReflectedDynamicTerrain::myStateRep
protected

Referenced by dsr(), and dynamicTerrainStateRep().

DtDynamicTerrainDecoder* DtReflectedDynamicTerrain::myDecoder
protected

The documentation for this class was generated from the following files:

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)