![]() |
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 DtReflectedIffList:
Collaboration diagram for DtReflectedIffList:Public Member Functions | |
| DtReflectedIffList (DtExerciseConn *exConn) | |
| Constructor. | |
| virtual | ~DtReflectedIffList () |
| Destructor. | |
| virtual DtReflectedIff * | lookup (const DtGlobalObjectDesignator &emittingEntity) const |
| Lookup an emitter from its object ID. | |
| virtual DtReflectedIff * | first () const |
| Get the first and last elements of the IFF list. | |
| virtual DtReflectedIff * | last () const |
| virtual void | addIffAdditionCallback (DtIffCallbackFunction cb, void *userData) |
| Emitter added callback registration/deregistration. | |
| virtual void | removeIffAdditionCallback (DtIffCallbackFunction cb, void *userData) |
| virtual void | addEmitterAdditionCallback (DtIffCallbackFunction cb, void *userData) |
| DEPRECATED, USE addIffAdditionCallback. | |
| virtual void | removeEmitterAdditionCallback (DtIffCallbackFunction cb, void *userData) |
| DEPRECATED, USE removeIffAdditionCallbac. | |
| virtual void | addIffRemovalCallback (DtIffCallbackFunction cb, void *userData) |
| Emitter removed callback registration/deregistration. | |
| virtual void | removeIffRemovalCallback (DtIffCallbackFunction cb, void *userData) |
| virtual void | addEmitterRemovalCallback (DtIffCallbackFunction cb, void *userData) |
| DEPRECATED, use addIffRemovalCallback. | |
| virtual void | removeEmitterRemovalCallback (DtIffCallbackFunction cb, void *userData) |
| DEPRECATED, use removeIffRemovalCallback. | |
| virtual void | print () |
| Print the SRs of all objects. | |
Protected Member Functions | |
| DtReflectedIffList & | operator= (const DtReflectedIffList &orig) |
| Assignment operator -- not implemented. | |
| DtReflectedIffList (const DtReflectedIffList &orig) | |
| Copy constructor -- not implemented. | |
| virtual DtReflectedIff * | newReflectedIff (const DtGlobalObjectDesignator &emittingEntity) |
| Create a new object from a global designator. | |
| 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 | emIffCb (DtIffAtcNavaidsPdu *pdu, void *usr) |
| Callback for the exercise connection. | |
Protected Attributes | |
| DtObjectIdHashKey * | myHashKey |
Instances of this class provide a protocol independent interface to a list of reflected emitters in a DIS environment.
| DtReflectedIffList::DtReflectedIffList | ( | DtExerciseConn * | exConn | ) |
Constructor.
| virtual DtReflectedIffList::~DtReflectedIffList | ( | ) | [virtual] |
Destructor.
| DtReflectedIffList::DtReflectedIffList | ( | const DtReflectedIffList & | orig | ) | [protected] |
Copy constructor -- not implemented.
| virtual void DtReflectedIffList::addEmitterAdditionCallback | ( | DtIffCallbackFunction | cb, |
| void * | userData | ||
| ) | [virtual] |
DEPRECATED, USE addIffAdditionCallback.
| virtual void DtReflectedIffList::addEmitterRemovalCallback | ( | DtIffCallbackFunction | cb, |
| void * | userData | ||
| ) | [virtual] |
DEPRECATED, use addIffRemovalCallback.
| virtual void DtReflectedIffList::addIffAdditionCallback | ( | DtIffCallbackFunction | cb, |
| void * | userData | ||
| ) | [virtual] |
Emitter added callback registration/deregistration.
| virtual void DtReflectedIffList::addIffRemovalCallback | ( | DtIffCallbackFunction | cb, |
| void * | userData | ||
| ) | [virtual] |
Emitter removed callback registration/deregistration.
| static void DtReflectedIffList::emIffCb | ( | DtIffAtcNavaidsPdu * | pdu, |
| void * | usr | ||
| ) | [static, protected] |
Callback for the exercise connection.
| virtual DtReflectedIff* DtReflectedIffList::first | ( | ) | const [virtual] |
Get the first and last elements of the IFF list.
| virtual const DtBaseHashKey& DtReflectedIffList::hashKeyFromStateMessage | ( | const DtStateMsg * | msg | ) | [protected, virtual] |
Get a hash key from a state message.
Implements DtReflectedObjectList.
| virtual DtReflectedIff* DtReflectedIffList::last | ( | ) | const [virtual] |
| virtual DtReflectedIff* DtReflectedIffList::lookup | ( | const DtGlobalObjectDesignator & | emittingEntity | ) | const [virtual] |
Lookup an emitter from its object ID.
| virtual DtReflectedIff* DtReflectedIffList::newReflectedIff | ( | const DtGlobalObjectDesignator & | emittingEntity | ) | [protected, virtual] |
Create a new object from a global designator.
| virtual DtReflectedObject* DtReflectedIffList::newReflectedObj | ( | const DtStateMsg & | msg | ) | [protected, virtual] |
Overrides base class's implementation. Always returns NULL.
Implements DtReflectedObjectList.
| virtual void DtReflectedIffList::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.
| DtReflectedIffList& DtReflectedIffList::operator= | ( | const DtReflectedIffList & | orig | ) | [protected] |
Assignment operator -- not implemented.
| virtual void DtReflectedIffList::print | ( | ) | [virtual] |
Print the SRs of all objects.
| virtual DtReflectedObject* DtReflectedIffList::processStateMessage | ( | const DtStateMsg & | msg | ) | [protected, virtual] |
Process an incoming state message.
Reimplemented from DtReflectedObjectList.
| virtual void DtReflectedIffList::removeEmitterAdditionCallback | ( | DtIffCallbackFunction | cb, |
| void * | userData | ||
| ) | [virtual] |
DEPRECATED, USE removeIffAdditionCallbac.
| virtual void DtReflectedIffList::removeEmitterRemovalCallback | ( | DtIffCallbackFunction | cb, |
| void * | userData | ||
| ) | [virtual] |
DEPRECATED, use removeIffRemovalCallback.
| virtual void DtReflectedIffList::removeIffAdditionCallback | ( | DtIffCallbackFunction | cb, |
| void * | userData | ||
| ) | [virtual] |
| virtual void DtReflectedIffList::removeIffRemovalCallback | ( | DtIffCallbackFunction | cb, |
| void * | userData | ||
| ) | [virtual] |
DtObjectIdHashKey* DtReflectedIffList::myHashKey [protected] |