VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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
DtReflectedEmitterSystem Class Reference

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

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

Public Types

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

Public Member Functions

 DtReflectedEmitterSystem (DtExerciseConn *conn, const DtGlobalObjectDesignator &emittingEntity, DtU8 systemNumber)
 Constructor. More...
 
virtual ~DtReflectedEmitterSystem ()
 destructor More...
 
virtual DtEmitterSystemRepositoryemitterSysRep () const
 Get the emitter system's state repository. More...
 
virtual DtEmitterSystemRepositoryesr () const
 Synonym for emitterSysRep(). More...
 
virtual DtStateRepositorystateRep () const
 Returns a pointer to the StateRepository - through which you can inspect current state information. More...
 
virtual void processStateMessage (const DtStateMsg &msg)
 Process an electronic emissions PDU. More...
 
virtual DtReflectedEmitterSystemnext () const
 Get the next remote emitterSystem. More...
 
virtual DtReflectedEmitterSystemprev () const
 Get the previous remote emitterSystem. More...
 
virtual DtReflectedEmitterSystemwrapNext () const
 Get the next remote emitterSystem. More...
 
virtual DtReflectedEmitterSystemwrapPrev () const
 Get the previous remote emitterSystem. More...
 
virtual void addPostUpdateCallback (DtEmitterSystemCallbackFunction cb, void *userData)
 emitterSystem state callback registration/deregistration. More...
 
virtual void removePostUpdateCallback (DtEmitterSystemCallbackFunction cb, void *userData)
 
virtual const DtBaseHashKeyhashKey () const
 Get a hash key for this object. More...
 
virtual DtString idString () const
 Get a string identification of this object. More...
 
virtual const
DtGlobalObjectDesignator
globalId () const
 Get the GlobalId -. More...
 
- Public Member Functions inherited from DtReflectedObject
 DtReflectedObject (DtExerciseConn *conn)
 constructor More...
 
virtual ~DtReflectedObject ()
 destructor More...
 
virtual DtStateRepositorysr () const
 Synonym for stateRep(). More...
 
virtual DtTime lastTimeUpdated () const
 Returns the value of wallclock time at the time an update was last received for the entity. More...
 
virtual DtTime lastSimTimeUpdated () const
 Returns the value of sim time at the time an update was last received for the entity. More...
 
virtual DtTime lastReceivedTimeStamp () const
 Returns the value in seconds past the hour of the timeStamp from the last received PDU. More...
 
virtual void baseAddPostUpdateCallback (DtReflectedObjectCallbackFunction cb, void *userData)
 Object state callback registration/deregistration. More...
 
virtual void baseRemovePostUpdateCallback (DtReflectedObjectCallbackFunction cb, void *userData)
 
virtual DtReflectedObjectnextObj () const
 Get the next remote object. More...
 
virtual DtReflectedObjectprevObj () const
 Get the previous remote object. More...
 
virtual DtReflectedObjectwrapNextObj () const
 Get the next remote object. More...
 
virtual DtReflectedObjectwrapPrevObj () const
 Get the previous remote object. More...
 
- Public Member Functions inherited from DtListedObj
 DtListedObj ()
 Constructor. More...
 
virtual ~DtListedObj ()
 Destructor. More...
 
void * next () const
 Return next (previous) elements on the list, or NULL if hit the end (beginning) of the list. More...
 
void * prev () const
 
void * wrapNext () const
 Return next (previous) elements on the list, but wrap to the beginning (end) of the list when you hit the end (beginning). More...
 
void * wrapPrev () const
 

Static Public Member Functions

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

Protected Member Functions

 DtReflectedEmitterSystem (const DtReflectedEmitterSystem &orig)
 copy constructor – not implemented More...
 
DtReflectedEmitterSystemoperator= (const DtReflectedEmitterSystem &orig)
 assignment operator – not implemented More...
 
- Protected Member Functions inherited from DtReflectedObject
 DtReflectedObject (const DtReflectedObject &orig)
 copy constructor – not implemented More...
 
DtReflectedObjectoperator= (const DtReflectedObject &orig)
 assignment operator – not implemented More...
 
virtual void processPostUpdateCallbacks ()
 Process the post update callbacks. More...
 

Protected Attributes

DtString myIdString
 
DtEmitterSystemRepositorymyStateRepository
 
DtSystemHashKey myHashKey
 
DtEmitterSystemStateDecodermyDecoder
 
- Protected Attributes inherited from DtReflectedObject
DtExerciseConnmyExConn
 
DtIntrusiveList myStateUpdateCallbacks
 
DtTime myLastTimeUpdated
 
DtTime myLastSimTimeUpdated
 
DtTime myLastReceivedTimeStamp
 
- Protected Attributes inherited from DtListedObj
DtListmyList
 
DtListItemmyItem
 

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

typedef DtEmitterSystemRepository*(* DtReflectedEmitterSystem::DtStateRepCreator)()

Function prototype for functions that create DtEmitterSystemRepositories.

Constructor & Destructor Documentation

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

Constructor.

virtual DtReflectedEmitterSystem::~DtReflectedEmitterSystem ( )
virtual

destructor

DtReflectedEmitterSystem::DtReflectedEmitterSystem ( const DtReflectedEmitterSystem orig)
protected

copy constructor – not implemented

Member Function Documentation

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

emitterSystem state callback registration/deregistration.

virtual DtEmitterSystemRepository* DtReflectedEmitterSystem::emitterSysRep ( ) const
virtual

Get the emitter system's state repository.

virtual DtEmitterSystemRepository* DtReflectedEmitterSystem::esr ( ) const
virtual

Synonym for emitterSysRep().

virtual const DtGlobalObjectDesignator& DtReflectedEmitterSystem::globalId ( ) const
virtual

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.

virtual DtReflectedEmitterSystem* DtReflectedEmitterSystem::next ( ) const
virtual

Get the next remote emitterSystem.

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

assignment operator – not implemented

virtual DtReflectedEmitterSystem* DtReflectedEmitterSystem::prev ( ) const
virtual

Get the previous remote emitterSystem.

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
static void DtReflectedEmitterSystem::setStateRepCreator ( DtStateRepCreator  creator)
static

Give us a function to be used for creating SRs.

virtual DtStateRepository* DtReflectedEmitterSystem::stateRep ( ) const
virtual

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

Implementation for abstract base class. Calls esr().

Implements DtReflectedObject.

static DtStateRepCreator DtReflectedEmitterSystem::stateRepCreator ( void  )
static
virtual DtReflectedEmitterSystem* DtReflectedEmitterSystem::wrapNext ( ) const
virtual

Get the next remote emitterSystem.

Will cycle back to the first remote emitterSystem.

virtual DtReflectedEmitterSystem* DtReflectedEmitterSystem::wrapPrev ( ) const
virtual

Get the previous remote emitterSystem.

Will cycle back to the last remote emitterSystem.

Member Data Documentation

DtEmitterSystemStateDecoder* DtReflectedEmitterSystem::myDecoder
protected
DtSystemHashKey DtReflectedEmitterSystem::myHashKey
protected
DtString DtReflectedEmitterSystem::myIdString
protected
DtEmitterSystemRepository* DtReflectedEmitterSystem::myStateRepository
protected
DtStateRepCreator DtReflectedEmitterSystem::theStateRepCreator
staticprotected

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

Document ID: Generated on Tue Aug 10 00:12:31 EDT 2021 from SVN revision 232765
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)