VR-Link API Documentation for DIS
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes
DtReflectedGriddedData Class Reference

Instances of DtReflectedGriddedData represent Gridded Data objects simulated by remote applications. More...

+ Inheritance diagram for DtReflectedGriddedData:
+ Collaboration diagram for DtReflectedGriddedData:

List of all members.

Public Types

typedef DtGriddedDataRepository *(* DtStateRepCreator )()
 Function prototype for functions that create DtGriddedDataRepositories.

Public Member Functions

 DtReflectedGriddedData (DtExerciseConn *conn, const DtEntityIdentifier &id, const DtEntityType &type)
 constructor
virtual ~DtReflectedGriddedData ()
 destructor
virtual DtGriddedDataRepositorygriddedDataStateRep () const
 Returns ptr to griddedDataStateRepository -- through which you can inspect current state info.
virtual DtGriddedDataRepositorygdsr () const
 Synonym for griddedDataStateRep.
virtual DtStateRepositorystateRep () const
 Implementation for abstract base class. Calls gdsr().
virtual DtGriddedDataDecoderdecoder ()
 Returns a pointer to the Decoder being used to decode state messages into our GDSR.
virtual const DtEntityIdentifierentityId () const
 Returns the entity identifier.
virtual const DtObjectIdid () const
 Get the gridded data's id. (For DIS, DtObjectId is DtEntityIdentifier).
virtual const DtObjectIdlocalId () const
 Get the gridded data's local id. For DIS - same as id().
virtual const
DtGlobalObjectDesignator
globalId () const
 Get the gridded data's object's global object designator - for DIS, it's the same as its DtEntityIdentifier.
virtual void processStateMessage (const DtStateMsg &msg)
 Process an environment process state PDU.
virtual DtReflectedGriddedDatanext () const
 Get the next and previous elements in the reflected environment process list.
virtual DtReflectedGriddedDataprev () const
virtual DtReflectedGriddedDatawrapNext () const
 Get the next and previous elements, wrap at the ends of the list.
virtual DtReflectedGriddedDatawrapPrev () const
virtual void addPostUpdateCallback (DtGriddedDataCallbackFunction cb, void *userData)
 Environment Process callback registration/deregistration.
virtual void removePostUpdateCallback (DtGriddedDataCallbackFunction cb, void *userData)
virtual const DtBaseHashKeyhashKey () const
 Get a hash key for this object.
virtual DtString idString () const
 Get a string identification of this object.
virtual void processGriddedData (const DtGriddedDataPdu &pdu)
 Process an environmentalProcess PDU.

Static Public Member Functions

static void setStateRepCreator (DtStateRepCreator creator)
 Give us a function to be used for creating SRs.
static DtStateRepCreator stateRepCreator (void)

Protected Member Functions

 DtReflectedGriddedData (const DtReflectedGriddedData &orig)
 copy constructor -- not implemented
DtReflectedGriddedDataoperator= (const DtReflectedGriddedData &orig)
 assignment operator -- not implemented

Protected Attributes

DtEntityIdentifier myId
DtGriddedDataRepositorymyStateRep
DtGriddedDataDecodermyDecoder
DtEntityIdentifierHashKey myHashKey

Static Protected Attributes

static DtStateRepCreator theStateRepCreator

Detailed Description

Instances of DtReflectedGriddedData represent Gridded Data objects simulated by remote applications.

State data can be viewed through its state repository.


Member Typedef Documentation

Function prototype for functions that create DtGriddedDataRepositories.


Constructor & Destructor Documentation

constructor

destructor

copy constructor -- not implemented


Member Function Documentation

virtual void DtReflectedGriddedData::addPostUpdateCallback ( DtGriddedDataCallbackFunction  cb,
void *  userData 
) [virtual]

Environment Process callback registration/deregistration.

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

virtual const DtEntityIdentifier& DtReflectedGriddedData::entityId ( ) const [virtual]

Returns the entity identifier.

Synonym for griddedDataStateRep.

virtual const DtGlobalObjectDesignator& DtReflectedGriddedData::globalId ( ) const [virtual]

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

Implements DtReflectedObject.

Returns ptr to griddedDataStateRepository -- through which you can inspect current state info.

virtual const DtBaseHashKey& DtReflectedGriddedData::hashKey ( ) const [virtual]

Get a hash key for this object.

Implements DtReflectedObject.

virtual const DtObjectId& DtReflectedGriddedData::id ( ) const [virtual]

Get the gridded data's id. (For DIS, DtObjectId is DtEntityIdentifier).

virtual DtString DtReflectedGriddedData::idString ( ) const [virtual]

Get a string identification of this object.

Implements DtReflectedObject.

virtual const DtObjectId& DtReflectedGriddedData::localId ( ) const [virtual]

Get the gridded data's local id. For DIS - same as id().

Get the next and previous elements in the reflected environment process list.

Reimplemented from DtListedObj.

DtReflectedGriddedData& DtReflectedGriddedData::operator= ( const DtReflectedGriddedData orig) [protected]

assignment operator -- not implemented

Reimplemented from DtListedObj.

virtual void DtReflectedGriddedData::processGriddedData ( const DtGriddedDataPdu pdu) [virtual]

Process an environmentalProcess PDU.

Also calls down to base class processStateMessage().

virtual void DtReflectedGriddedData::processStateMessage ( const DtStateMsg msg) [virtual]

Process an environment process state PDU.

Calls processGriddedData().

Reimplemented from DtReflectedObject.

virtual void DtReflectedGriddedData::removePostUpdateCallback ( DtGriddedDataCallbackFunction  cb,
void *  userData 
) [virtual]

Give us a function to be used for creating SRs.

Implementation for abstract base class. Calls gdsr().

Implements DtReflectedObject.

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

Reimplemented from DtListedObj.

Reimplemented from DtListedObj.


Member Data Documentation


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

Document ID: Generated on Mon May 14 08:06:18 EDT 2012 from SVN revision 114750
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)