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

Instances of DtReflectedEmitterSystem represent EmitterSystem object simulated by remote applications. More...

+ Inheritance diagram for DtReflectedEmitterSystem:
+ Collaboration diagram for DtReflectedEmitterSystem:

List of all members.

Public Types

typedef
DtEmitterSystemRepository *(* 
DtStateRepCreator )()
 Function prototype for functions that create DtEmitterSystemRepositories.

Public Member Functions

 DtReflectedEmitterSystem (DtExerciseConn *conn, const DtGlobalObjectDesignator &emittingEntity, DtU8 systemNumber)
 Constructor.
virtual ~DtReflectedEmitterSystem ()
 destructor
virtual DtEmitterSystemRepositoryemitterSysRep () const
 Get the emitter system's state repository.
virtual DtEmitterSystemRepositoryesr () const
 Synonym for emitterSysRep().
virtual DtStateRepositorystateRep () const
 Returns a pointer to the StateRepository - through which you can inspect current state information.
virtual void processStateMessage (const DtStateMsg &msg)
 Process an electronic emissions PDU.
virtual DtReflectedEmitterSystemnext () const
 Get the next remote emitterSystem.
virtual DtReflectedEmitterSystemprev () const
 Get the previous remote emitterSystem.
virtual DtReflectedEmitterSystemwrapNext () const
 Get the next remote emitterSystem.
virtual DtReflectedEmitterSystemwrapPrev () const
 Get the previous remote emitterSystem.
virtual void addPostUpdateCallback (DtEmitterSystemCallbackFunction cb, void *userData)
 emitterSystem state callback registration/deregistration.
virtual void removePostUpdateCallback (DtEmitterSystemCallbackFunction 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 const
DtGlobalObjectDesignator
globalId () const
 Get the GlobalId -.

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

 DtReflectedEmitterSystem (const DtReflectedEmitterSystem &orig)
 copy constructor -- not implemented
DtReflectedEmitterSystemoperator= (const DtReflectedEmitterSystem &orig)
 assignment operator -- not implemented

Protected Attributes

DtString myIdString
DtEmitterSystemRepositorymyStateRepository
DtSystemHashKey myHashKey

Static Protected Attributes

static DtStateRepCreator theStateRepCreator

Detailed Description

Instances of DtReflectedEmitterSystem represent EmitterSystem object simulated by remote applications.

State data can be viewed through its state repository.


Member Typedef Documentation

Function prototype for functions that create DtEmitterSystemRepositories.


Constructor & Destructor Documentation

DtReflectedEmitterSystem::DtReflectedEmitterSystem ( DtExerciseConn conn,
const DtGlobalObjectDesignator emittingEntity,
DtU8  systemNumber 
)

Constructor.

destructor

copy constructor -- not implemented


Member Function Documentation

virtual void DtReflectedEmitterSystem::addPostUpdateCallback ( DtEmitterSystemCallbackFunction  cb,
void *  userData 
) [virtual]

emitterSystem state callback registration/deregistration.

Get the emitter system's state repository.

Synonym for emitterSysRep().

Get the GlobalId -.

for DIS, it's the same as its DtEntityIdentifier.

Implements DtReflectedObject.

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

Get a hash key for this object.

Implements DtReflectedObject.

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

Get a string identification of this object.

Implements DtReflectedObject.

Get the next remote emitterSystem.

Reimplemented from DtListedObj.

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

assignment operator -- not implemented

Get the previous remote emitterSystem.

Reimplemented from DtListedObj.

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

Process an electronic emissions PDU.

Implementation for abstract base class.

Reimplemented from DtReflectedObject.

virtual void DtReflectedEmitterSystem::removePostUpdateCallback ( DtEmitterSystemCallbackFunction  cb,
void *  userData 
) [virtual]

Give us a function to be used for creating SRs.

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

Implementation for abstract base class. Calls esr().

Implements DtReflectedObject.

Get the next remote emitterSystem.

Will cycle back to the first remote emitterSystem.

Reimplemented from DtListedObj.

Get the previous remote emitterSystem.

Will cycle back to the last remote emitterSystem.

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)