VR-Forces 4.7 Class Documentation
 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. More...

Inheritance diagram for DtReflectedDynamicTerrain:
Inheritance graph
[legend]

Public Types

typedef
DtDynamicTerrainStateRepository *(* 
DtStateRepCreator )()
 Function prototype for functions that create DtDynamicTerrainStateRepository.
typedef
DtDynamicTerrainStateRepository *(* 
DtStateRepCreator )()
 Function prototype for functions that create a DtDynamicTerrainStateRepository.

Public Member Functions

 DtReflectedDynamicTerrain (DtExerciseConn *conn)
 Constructor.
virtual ~DtReflectedDynamicTerrain ()
 Destructor.
virtual
DtDynamicTerrainStateRepository
dynamicTerrainStateRep () const
 Returns a pointer to the StateRepository - through which you can inspect current state information.
virtual
DtDynamicTerrainStateRepository
dsr () const
 Synonym for dynamicTerrainStateRep().
virtual DtStateRepositorystateRep () const
 Returns a pointer to the StateRepository - through which you can inspect current state information.
virtual DtDynamicTerrainDecoderdecoder ()
 Returns a pointer to the Decoder being used to decode state messages into our SR.
virtual const
DtGlobalObjectDesignator
globalId () const
 Get the objects's global object designator - for DIS, it's the same as its DtEntityIdentifier.
virtual DtReflectedDynamicTerrainnext () const
 Get the next and previous elements in the reflected aggregate list.
virtual DtReflectedDynamicTerrainprev () const
virtual DtReflectedDynamicTerrainwrapNext () const
 Get the next and previous elements, wrap at the ends of the list.
virtual DtReflectedDynamicTerrainwrapPrev () const
virtual void addPostUpdateCallback (DtDynamicTerrainCallbackFunction cb, void *userData)
 Entity state callback registration/deregistration.
virtual void removePostUpdateCallback (DtDynamicTerrainCallbackFunction cb, void *userData)
virtual void setHashKey (const DtString &uniqueVal)
 Sets the hash key from a unique string value.
virtual const DtBaseHashKeyhashKey () const
 Get a hash key for this object - Key must be set before use.
virtual DtString idString () const
 Get a string identification of this object.
virtual void processStateMessage (const DtStateMsg &msg)
 Implementation for abstract base class.
virtual void processDynamicTerrainState (const DtDynamicTerrainPdu &pdu)
 Process an state PDU.
 DtReflectedDynamicTerrain (DtHlaObject *obj, DtExerciseConn *exConn)
 Constructor.
virtual ~DtReflectedDynamicTerrain ()
 Destructor.
virtual
DtDynamicTerrainStateRepository
dynamicTerrainStateRep () const
 Returns the DynamicTerrain's state repository.
virtual
DtDynamicTerrainStateRepository
dsr () const
 Shorter version of lifeformRep.
virtual DtReflectedDynamicTerrainnext () const
 Returns the next reflected DynamicTerrain in the DtReflectedDynamicTerrainList.
virtual DtReflectedDynamicTerrainprev () const
 Returns the previous reflected DynamicTerrain in the DtReflectedDynamicTerrainList.
virtual DtReflectedDynamicTerrainwrapNext () const
 Returns the next reflected DynamicTerrain.
virtual DtReflectedDynamicTerrainwrapPrev () const
 Returns the previous reflected DynamicTerrain.
virtual void addPostUpdateCallback (DtDynamicTerrainCallbackFunction cb, void *userData)
 Add a callback that is called when the DtReflectedDynamicTerrain is updated.
virtual void removePostUpdateCallback (DtDynamicTerrainCallbackFunction cb, void *userData)
 Remove the callback that is called when the DtReflectedDynamicTerrain is updated.

Static Public Member Functions

static void setStateRepCreator (DtStateRepCreator creator)
 Give us a function to be used for creating SRs.
static DtStateRepCreator stateRepCreator (void)
static DtStateRepCreator setStateRepCreator (DtStateRepCreator creator)
 Set the function to be called for creating state repositories.

Protected Member Functions

 DtReflectedDynamicTerrain (const DtReflectedDynamicTerrain &orig)
 Copy Constructor not implemented.
DtReflectedDynamicTerrainoperator= (const DtReflectedDynamicTerrain &orig)
 Assignment operator not implemented.

Protected Attributes

DtStringHashKey myHashKey
DtDynamicTerrainStateRepositorymyStateRep
DtDynamicTerrainDecodermyDecoder

Static Protected Attributes

static DtStateRepCreator theStateRepCreator
 The function called to create state repositories.

Private Member Functions

 DtReflectedDynamicTerrain (const DtReflectedDynamicTerrain &orig)
 copy constructor – not implemented
DtReflectedDynamicTerrainoperator= (const DtReflectedDynamicTerrain &orig)
 assignment operator – not implemented

Detailed Description

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

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 ( )
virtual

Destructor.

DtReflectedDynamicTerrain::DtReflectedDynamicTerrain ( const DtReflectedDynamicTerrain orig)
private

copy constructor – not implemented

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

Constructor.

virtual DtReflectedDynamicTerrain::~DtReflectedDynamicTerrain ( )
virtual

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
virtual

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
virtual

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
virtual

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

virtual DtString DtReflectedDynamicTerrain::idString ( ) const
virtual

Get a string identification of this object.

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

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 Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)