VR-Link API Documentation for DIS
Public Member Functions | Protected Member Functions | Static Protected Member Functions
DtReflectedEmitterSystemList Class Reference

Instances of this class provide a protocol independent interface to a list of reflected emitters in a DIS environment. More...

+ Inheritance diagram for DtReflectedEmitterSystemList:
+ Collaboration diagram for DtReflectedEmitterSystemList:

List of all members.

Public Member Functions

 DtReflectedEmitterSystemList (DtExerciseConn *exConn)
 Constructor.
virtual ~DtReflectedEmitterSystemList ()
 Destructor.
virtual DtReflectedEmitterSystemlookup (const DtGlobalObjectDesignator &emittingEntity, int systemId) const
 Lookup an emitter from its object ID and system ID.
virtual DtReflectedEmitterSystemfirst () const
 Get the first and last elements of the emitter system list.
virtual DtReflectedEmitterSystemlast () const
virtual void addEmitterSystemAdditionCallback (DtEmitterSystemCallbackFunction cb, void *userData)
 Emitter added callback registration/deregistration.
virtual void removeEmitterSystemAdditionCallback (DtEmitterSystemCallbackFunction cb, void *userData)
virtual void addEmitterSystemRemovalCallback (DtEmitterSystemCallbackFunction cb, void *userData)
 Emitter removed callback registration/deregistration.
virtual void removeEmitterSystemRemovalCallback (DtEmitterSystemCallbackFunction cb, void *userData)
virtual void addEmitterAdditionCallback (DtEmitterSystemCallbackFunction cb, void *userData)
 Emitter added callback registration/deregistration.
virtual void removeEmitterAdditionCallback (DtEmitterSystemCallbackFunction cb, void *userData)
 This is the same as removeEmitterSystemAdditionCallback and is here only for backwards compatibility.
virtual void addEmitterRemovalCallback (DtEmitterSystemCallbackFunction cb, void *userData)
 Emitter removed callback registration/deregistration.
virtual void removeEmitterRemovalCallback (DtEmitterSystemCallbackFunction cb, void *userData)
 This is the same as removeEmitterSystemRemovalCallback and is here only for backwards compatibility.
virtual void print ()
 Print the SRs of all objects.

Protected Member Functions

DtReflectedEmitterSystemListoperator= (const DtReflectedEmitterSystemList &orig)
 Assignment operator -- Not implemented.
 DtReflectedEmitterSystemList (const DtReflectedEmitterSystemList &orig)
 Copy constructor -- Not implemented.
virtual DtReflectedObjectnewReflectedObj (const DtGlobalObjectDesignator &emittingEntity, int systemId)
 Create a new object from a global designator and system id.
virtual DtReflectedObjectnewReflectedObj (const DtStateMsg &msg)
 Overrides base class's implementation. Always returns NULL.
virtual DtReflectedObjectprocessStateMessage (const DtStateMsg &msg)
 Process an incoming state message.
virtual void objectAdded (DtReflectedObject *obj)
 Called after an entity is added and before addition callbacks are processed.
virtual const DtBaseHashKeyhashKeyFromStateMessage (const DtStateMsg *msg)
 Get a hash key from a state message.

Static Protected Member Functions

static void emEmissionCb (DtElectromagneticEmissionPdu *pdu, void *usr)
 Callback for the exercise connection.

Detailed Description

Instances of this class provide a protocol independent interface to a list of reflected emitters in a DIS environment.


Constructor & Destructor Documentation

Constructor.

Destructor.

Copy constructor -- Not implemented.


Member Function Documentation

Emitter added callback registration/deregistration.

This is the same as addEmitterSystemAdditionCallback and is here only for backwards compatibility.

Emitter removed callback registration/deregistration.

This is the same as addEmitterSystemRemovalCallback and is here only for backwards compatibility.

Emitter added callback registration/deregistration.

Emitter removed callback registration/deregistration.

static void DtReflectedEmitterSystemList::emEmissionCb ( DtElectromagneticEmissionPdu pdu,
void *  usr 
) [static, protected]

Callback for the exercise connection.

Get the first and last elements of the emitter system list.

virtual const DtBaseHashKey& DtReflectedEmitterSystemList::hashKeyFromStateMessage ( const DtStateMsg msg) [protected, virtual]

Get a hash key from a state message.

Implements DtReflectedObjectList.

virtual DtReflectedEmitterSystem* DtReflectedEmitterSystemList::lookup ( const DtGlobalObjectDesignator emittingEntity,
int  systemId 
) const [virtual]

Lookup an emitter from its object ID and system ID.

virtual DtReflectedObject* DtReflectedEmitterSystemList::newReflectedObj ( const DtGlobalObjectDesignator emittingEntity,
int  systemId 
) [protected, virtual]

Create a new object from a global designator and system id.

virtual DtReflectedObject* DtReflectedEmitterSystemList::newReflectedObj ( const DtStateMsg msg) [protected, virtual]

Overrides base class's implementation. Always returns NULL.

Implements DtReflectedObjectList.

virtual void DtReflectedEmitterSystemList::objectAdded ( DtReflectedObject obj) [protected, virtual]

Called after an entity is added and before addition callbacks are processed.

Right now, this function only calls DtInfo.

Reimplemented from DtReflectedObjectList.

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

Assignment operator -- Not implemented.

virtual void DtReflectedEmitterSystemList::print ( ) [virtual]

Print the SRs of all objects.

virtual DtReflectedObject* DtReflectedEmitterSystemList::processStateMessage ( const DtStateMsg msg) [protected, virtual]

Process an incoming state message.

Reimplemented from DtReflectedObjectList.

This is the same as removeEmitterSystemAdditionCallback and is here only for backwards compatibility.

This is the same as removeEmitterSystemRemovalCallback and is here only for backwards compatibility.


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)