![]() |
VR-Forces 4.10 Class Documentation
|
class DtReflectedNavAidList: More...

Public Member Functions | |
| DtReflectedNavAidList (DtExerciseConn *conn, int numBucketsPrimeNumber=503) | |
| constructor More... | |
| virtual | ~DtReflectedNavAidList () |
| virtual DtReflectedNavAid * | lookup (const DtObjectId &id, int radioId=1) const |
| lookup an entity from its object ID and radio ID More... | |
| virtual DtReflectedNavAid * | first () const |
| get the first and last elements of the radio transmitter list More... | |
| virtual DtReflectedNavAid * | last () const |
| virtual void | addNavAidAdditionCallback (DtNavAidCallbackFunction cb, void *userData) |
| NavAid added callback registration/deregistration. More... | |
| virtual void | removeNavAidAdditionCallback (DtNavAidCallbackFunction cb, void *userData) |
| virtual void | addNavAidRemovalCallback (DtNavAidCallbackFunction cb, void *userData) |
| NavAid removed callback registration/deregistration. More... | |
| virtual void | removeNavAidRemovalCallback (DtNavAidCallbackFunction cb, void *userData) |
| virtual void | print () |
| Print the SRs of all objects. More... | |
| virtual DtReflectedNavAid * | processNavAid (const DtTransmitterPdu &pdu) |
| process an incoming environment process pdu. More... | |
| DtReflectedNavAidList (DtExerciseConn *exConn, const DtDDMRegionSet *regionSetToUse=0, const DtString &updateRateTag=DtString("")) | |
| Constructor. More... | |
| DtReflectedNavAidList (DtExerciseConn *exConn, const DtList *handleList, const DtDDMRegionSet *regionSetToUse=0, const DtString &updateRateTag=DtString("")) | |
| Constructor - only subscribe to the RTI::ObjectClassHandles in handleList. More... | |
| virtual | ~DtReflectedNavAidList () |
| destructor More... | |
| virtual DtReflectedNavAid * | lookup (RTI::ObjectHandle id) |
| Look up transmitter by identifier. More... | |
| virtual DtReflectedNavAid * | lookup (const DtGlobalObjectDesignator &objName) |
| Look up transmitter by name. More... | |
| virtual DtReflectedNavAid * | first () const |
| Get the first/last transmitter in the list. More... | |
| virtual DtReflectedNavAid * | last () const |
| virtual void | addNavAidAdditionCallback (DtNavAidCallbackFunction cb, void *userData) |
| NavAid added callback registration/deregistration. More... | |
| virtual void | removeNavAidAdditionCallback (DtNavAidCallbackFunction cb, void *userData) |
| virtual void | addNavAidRemovalCallback (DtNavAidCallbackFunction cb, void *userData) |
| NavAid removed callback registration/deregistration. More... | |
| virtual void | removeNavAidRemovalCallback (DtNavAidCallbackFunction cb, void *userData) |
Static Public Member Functions | |
| static bool | checkEntityIdentifier (DtReflectedObject *obj, void *usr) |
| Callback which checks whether the entity identifier has arrived yet. More... | |
| static bool | checkEntityIdentifier (DtReflectedObject *obj, void *usr) |
| Callback which checks whether the entity identifier has arrived yet. More... | |
Protected Member Functions | |
| DtReflectedNavAidList & | operator= (const DtReflectedNavAidList &orig) |
| Assignment operator – not implemented. More... | |
| DtReflectedNavAidList (const DtReflectedNavAidList &orig) | |
| Copy constructor – not implemented. More... | |
| virtual DtReflectedObject * | newReflectedObj (const DtStateMsg &msg) |
| Create a new object from a state message. More... | |
| virtual DtReflectedObject * | processStateMessage (const DtStateMsg &msg) |
| process an incoming state message. Calls processNavAid(). More... | |
| virtual void | objectAdded (DtReflectedObject *obj) |
| Called after an env process is added and before addition callbacks are processed. More... | |
| virtual void | finalPduIsSetAction (DtReflectedNavAid *envProcess) |
| Called when an env process sends its final PDU. More... | |
| virtual const DtBaseHashKey & | hashKeyFromStateMessage (const DtStateMsg *msg) |
| Get a hash key from a state message. More... | |
| virtual DtReflectedNavAid * | newReflectedNavAid (const DtEntityIdentifier &id, int radioId) const |
| Create a new reflected env process. More... | |
| virtual void | navAidAdded (DtReflectedNavAid *ent) |
| Called after an env process is added and before addition callbacks are processed. More... | |
| DtReflectedNavAidList (const DtReflectedNavAidList &orig) | |
| copy constructor More... | |
| DtReflectedNavAidList & | operator= (const DtReflectedNavAidList &orig) |
| assignment operator More... | |
| virtual DtReflectedObject * | newReflectedObject (DtHlaObject *obj) const |
| Override of virtual function. More... | |
| virtual void | objectAdded (DtReflectedObject *obj) |
| Called from processDiscoverObject() after a remote transmitter has been added to the list. More... | |
| virtual const DtList * | dfltHandleList () |
| Returns a DtList of RTI::ObjectClassHandles that represent the list of object classes to which this list should subscribe. More... | |
Static Protected Member Functions | |
| static void | navAidCb (DtTransmitterPdu *pdu, void *usr) |
| callback for the exercise connection More... | |
| static bool | isNavAidTransmitter (DtReflectedObject *obj, void *usr) |
| Discovery criteria callback that returns true if the object is a NavAid transmitter. More... | |
Protected Attributes | |
| DtStringHashKey | myHashKey |
class DtReflectedNavAidList:
Instances of DtReflectedNavAidList manage the list of of remote NavAids in the exercise.
| DtReflectedNavAidList::DtReflectedNavAidList | ( | DtExerciseConn * | conn, |
| int | numBucketsPrimeNumber = 503 |
||
| ) |
constructor
|
virtual |
|
protected |
Copy constructor – not implemented.
| DtReflectedNavAidList::DtReflectedNavAidList | ( | DtExerciseConn * | exConn, |
| const DtDDMRegionSet * | regionSetToUse = 0, |
||
| const DtString & | updateRateTag = DtString("") |
||
| ) |
Constructor.
| DtReflectedNavAidList::DtReflectedNavAidList | ( | DtExerciseConn * | exConn, |
| const DtList * | handleList, | ||
| const DtDDMRegionSet * | regionSetToUse = 0, |
||
| const DtString & | updateRateTag = DtString("") |
||
| ) |
Constructor - only subscribe to the RTI::ObjectClassHandles in handleList.
|
virtual |
destructor
|
protected |
copy constructor
|
virtual |
lookup an entity from its object ID and radio ID
|
virtual |
get the first and last elements of the radio transmitter list
|
virtual |
|
static |
Callback which checks whether the entity identifier has arrived yet.
|
virtual |
NavAid added callback registration/deregistration.
|
virtual |
|
virtual |
NavAid removed callback registration/deregistration.
|
virtual |
|
virtual |
Print the SRs of all objects.
|
virtual |
process an incoming environment process pdu.
Then calls down to base class processStateMessage().
|
protected |
Assignment operator – not implemented.
|
protectedvirtual |
Create a new object from a state message.
Calls newReflectedNavAid() to create a new env process
|
protectedvirtual |
process an incoming state message. Calls processNavAid().
|
protectedvirtual |
Called after an env process is added and before addition callbacks are processed.
Calls navAidAdded().
|
protectedvirtual |
Called when an env process sends its final PDU.
Currently, this removes and deletes the env process.
|
protectedvirtual |
Get a hash key from a state message.
|
protectedvirtual |
Create a new reflected env process.
|
protectedvirtual |
Called after an env process is added and before addition callbacks are processed.
Right now, this function only calls DtInfo.
|
staticprotected |
callback for the exercise connection
|
staticprotected |
Discovery criteria callback that returns true if the object is a NavAid transmitter.
|
static |
Callback which checks whether the entity identifier has arrived yet.
|
virtual |
Look up transmitter by identifier.
|
virtual |
Look up transmitter by name.
|
virtual |
Get the first/last transmitter in the list.
|
virtual |
|
virtual |
NavAid added callback registration/deregistration.
|
virtual |
|
virtual |
NavAid removed callback registration/deregistration.
|
virtual |
|
protected |
assignment operator
|
protectedvirtual |
Override of virtual function.
Here, we create a DtReflectedNavAid.
|
protectedvirtual |
Called from processDiscoverObject() after a remote transmitter has been added to the list.
Default implementation prints a message. Subclasses can override this function to add functionality on addition. obj will be an instance of a class derived from DtReflectedObj.
|
protectedvirtual |
Returns a DtList of RTI::ObjectClassHandles that represent the list of object classes to which this list should subscribe.
|
protected |