![]() |
VR-Link API Documentation for DIS
|
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:Public Member Functions | |
| DtReflectedEmitterSystemList (DtExerciseConn *exConn) | |
| Constructor. | |
| virtual | ~DtReflectedEmitterSystemList () |
| Destructor. | |
| virtual DtReflectedEmitterSystem * | lookup (const DtGlobalObjectDesignator &emittingEntity, int systemId) const |
| Lookup an emitter from its object ID and system ID. | |
| virtual DtReflectedEmitterSystem * | first () const |
| Get the first and last elements of the emitter system list. | |
| virtual DtReflectedEmitterSystem * | last () 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 | |
| DtReflectedEmitterSystemList & | operator= (const DtReflectedEmitterSystemList &orig) |
| Assignment operator -- Not implemented. | |
| DtReflectedEmitterSystemList (const DtReflectedEmitterSystemList &orig) | |
| Copy constructor -- Not implemented. | |
| virtual DtReflectedObject * | newReflectedObj (const DtGlobalObjectDesignator &emittingEntity, int systemId) |
| Create a new object from a global designator and system id. | |
| virtual DtReflectedObject * | newReflectedObj (const DtStateMsg &msg) |
| Overrides base class's implementation. Always returns NULL. | |
| virtual DtReflectedObject * | processStateMessage (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 DtBaseHashKey & | hashKeyFromStateMessage (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. | |
Instances of this class provide a protocol independent interface to a list of reflected emitters in a DIS environment.
Constructor.
| virtual DtReflectedEmitterSystemList::~DtReflectedEmitterSystemList | ( | ) | [virtual] |
Destructor.
| DtReflectedEmitterSystemList::DtReflectedEmitterSystemList | ( | const DtReflectedEmitterSystemList & | orig | ) | [protected] |
Copy constructor -- Not implemented.
| virtual void DtReflectedEmitterSystemList::addEmitterAdditionCallback | ( | DtEmitterSystemCallbackFunction | cb, |
| void * | userData | ||
| ) | [virtual] |
Emitter added callback registration/deregistration.
This is the same as addEmitterSystemAdditionCallback and is here only for backwards compatibility.
| virtual void DtReflectedEmitterSystemList::addEmitterRemovalCallback | ( | DtEmitterSystemCallbackFunction | cb, |
| void * | userData | ||
| ) | [virtual] |
Emitter removed callback registration/deregistration.
This is the same as addEmitterSystemRemovalCallback and is here only for backwards compatibility.
| virtual void DtReflectedEmitterSystemList::addEmitterSystemAdditionCallback | ( | DtEmitterSystemCallbackFunction | cb, |
| void * | userData | ||
| ) | [virtual] |
Emitter added callback registration/deregistration.
| virtual void DtReflectedEmitterSystemList::addEmitterSystemRemovalCallback | ( | DtEmitterSystemCallbackFunction | cb, |
| void * | userData | ||
| ) | [virtual] |
Emitter removed callback registration/deregistration.
| static void DtReflectedEmitterSystemList::emEmissionCb | ( | DtElectromagneticEmissionPdu * | pdu, |
| void * | usr | ||
| ) | [static, protected] |
Callback for the exercise connection.
| virtual DtReflectedEmitterSystem* DtReflectedEmitterSystemList::first | ( | ) | const [virtual] |
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::last | ( | ) | const [virtual] |
| 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.
| virtual void DtReflectedEmitterSystemList::removeEmitterAdditionCallback | ( | DtEmitterSystemCallbackFunction | cb, |
| void * | userData | ||
| ) | [virtual] |
This is the same as removeEmitterSystemAdditionCallback and is here only for backwards compatibility.
| virtual void DtReflectedEmitterSystemList::removeEmitterRemovalCallback | ( | DtEmitterSystemCallbackFunction | cb, |
| void * | userData | ||
| ) | [virtual] |
This is the same as removeEmitterSystemRemovalCallback and is here only for backwards compatibility.
| virtual void DtReflectedEmitterSystemList::removeEmitterSystemAdditionCallback | ( | DtEmitterSystemCallbackFunction | cb, |
| void * | userData | ||
| ) | [virtual] |
| virtual void DtReflectedEmitterSystemList::removeEmitterSystemRemovalCallback | ( | DtEmitterSystemCallbackFunction | cb, |
| void * | userData | ||
| ) | [virtual] |