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

The DtReflectedObject instance for an Environmental Process Object. More...

+ Inheritance diagram for DtReflectedEnvironmentProcess:
+ Collaboration diagram for DtReflectedEnvironmentProcess:

List of all members.

Public Types

typedef
DtEnvironmentProcessRepository *(* 
DtStateRepCreator )()
 Function prototype for functions that create DtEnvironmentProcessRepositories.

Public Member Functions

 DtReflectedEnvironmentProcess (DtExerciseConn *conn, const DtEntityIdentifier &id, const DtEntityType &type)
 constructor
virtual ~DtReflectedEnvironmentProcess ()
 destructor
virtual
DtEnvironmentProcessRepository
environmentProcessStateRep () const
 Returns ptr to environmentProcessStateRepository -- through which you can inspect current state info.
virtual
DtEnvironmentProcessRepository
epsr () const
 Synonym for environmentStateRep.
virtual DtStateRepositorystateRep () const
 Implementation for abstract base class. Calls epsr().
virtual
DtEnvironmentProcessDecoder
decoder ()
 Returns a pointer to the Decoder being used to decode state messages into our EPSR.
virtual const DtEntityIdentifierentityId () const
 Returns the entity identifier.
virtual const DtObjectIdid () const
 Get the environment process's id. (For DIS, DtObjectId is DtEntityIdentifier).
virtual const DtObjectIdlocalId () const
 Get the environment process's local id. For DIS - same as id().
virtual const
DtGlobalObjectDesignator
globalId () const
 Get the environment process'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
DtReflectedEnvironmentProcess
next () const
 Get the next and previous elements in the reflected environment process list.
virtual
DtReflectedEnvironmentProcess
prev () const
virtual
DtReflectedEnvironmentProcess
wrapNext () const
 Get the next and previous elements, wrap at the ends of the list.
virtual
DtReflectedEnvironmentProcess
wrapPrev () const
virtual void addPostUpdateCallback (DtEnvironmentProcessCallbackFunction cb, void *userData)
 Environment Process callback registration/deregistration.
virtual void removePostUpdateCallback (DtEnvironmentProcessCallbackFunction cb, void *userData)
virtual const DtBaseHashKeyhashKey () const
 Get a hhash key for this object.
virtual DtString idString () const
 Get a string identification of this object.
virtual void processEnvironmentProcess (const DtEnvironmentalProcessPdu &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

 DtReflectedEnvironmentProcess (const DtReflectedEnvironmentProcess &orig)
 copy constructor -- not implemented
DtReflectedEnvironmentProcessoperator= (const DtReflectedEnvironmentProcess &orig)
 assignment operator -- not implemented

Protected Attributes

DtEntityIdentifier myId
DtEnvironmentProcessRepositorymyStateRep
DtEnvironmentProcessDecodermyDecoder
DtEntityIdentifierHashKey myHashKey

Static Protected Attributes

static DtStateRepCreator theStateRepCreator

Detailed Description

The DtReflectedObject instance for an Environmental Process Object.

Examples: Environmental Process Example


Member Typedef Documentation

Function prototype for functions that create DtEnvironmentProcessRepositories.


Constructor & Destructor Documentation

constructor

destructor

copy constructor -- not implemented


Member Function Documentation

Environment Process callback registration/deregistration.

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

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

Returns the entity identifier.

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

Synonym for environmentStateRep.

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

Implements DtReflectedObject.

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

Get a hhash key for this object.

Implements DtReflectedObject.

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

Get the environment process's id. (For DIS, DtObjectId is DtEntityIdentifier).

Get a string identification of this object.

Implements DtReflectedObject.

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

Get the environment process's local id. For DIS - same as id().

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

Reimplemented from DtListedObj.

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

assignment operator -- not implemented

Reimplemented from DtListedObj.

Process an environmentalProcess PDU.

Also calls down to base class processStateMessage().

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

Process an environment process state PDU.

Calls processEnvironmentProcess().

Reimplemented from DtReflectedObject.

Give us a function to be used for creating SRs.

Implementation for abstract base class. Calls epsr().

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)