class DtReflectedNavAidList:
Instances of DtReflectedNavAidList manage the list of of remote NavAids in the exercise.
|
| | DtReflectedNavAidList (DtExerciseConn *conn, int numBucketsPrimeNumber=503) |
| |
| virtual | ~DtReflectedNavAidList () override |
| |
| virtual DtReflectedNavAid * | lookup (const DtObjectId &id, int radioId=1) const |
| |
| virtual DtReflectedNavAid * | first () const |
| |
| virtual DtReflectedNavAid * | last () const |
| |
| virtual void | addNavAidAdditionCallback (DtNavAidCallbackFunction cb, void *userData) |
| |
| virtual void | removeNavAidAdditionCallback (DtNavAidCallbackFunction cb, void *userData) |
| |
| virtual void | addNavAidRemovalCallback (DtNavAidCallbackFunction cb, void *userData) |
| |
| virtual void | removeNavAidRemovalCallback (DtNavAidCallbackFunction cb, void *userData) |
| |
| virtual void | print () |
| |
| virtual DtReflectedNavAid * | processNavAid (const DtTransmitterPdu &pdu) |
| |
| | DtReflectedNavAidList (DtExerciseConn *exConn, const DtDDMRegionSet *regionSetToUse=0, const DtString &updateRateTag=DtString("")) |
| |
| | DtReflectedNavAidList (DtExerciseConn *exConn, const DtList *handleList, const DtDDMRegionSet *regionSetToUse=0, const DtString &updateRateTag=DtString("")) |
| |
| virtual | ~DtReflectedNavAidList () override |
| |
| virtual DtReflectedNavAid * | lookup (RTI::ObjectHandle id) |
| |
| virtual DtReflectedNavAid * | lookup (const DtGlobalObjectDesignator &objName) |
| |
| virtual DtReflectedNavAid * | first () const |
| |
| virtual DtReflectedNavAid * | last () const |
| |
| virtual void | addNavAidAdditionCallback (DtNavAidCallbackFunction cb, void *userData) |
| |
| virtual void | removeNavAidAdditionCallback (DtNavAidCallbackFunction cb, void *userData) |
| |
| virtual void | addNavAidRemovalCallback (DtNavAidCallbackFunction cb, void *userData) |
| |
| virtual void | removeNavAidRemovalCallback (DtNavAidCallbackFunction cb, void *userData) |
| |
| DtReflectedNavAidList::DtReflectedNavAidList |
( |
DtExerciseConn * |
conn, |
|
|
int |
numBucketsPrimeNumber = 503 |
|
) |
| |
| virtual DtReflectedNavAidList::~DtReflectedNavAidList |
( |
| ) |
|
|
overridevirtual |
Copy constructor – not implemented.
| DtReflectedNavAidList::DtReflectedNavAidList |
( |
DtExerciseConn * |
exConn, |
|
|
const DtDDMRegionSet * |
regionSetToUse = 0, |
|
|
const DtString & |
updateRateTag = DtString("") |
|
) |
| |
| 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 DtReflectedNavAidList::~DtReflectedNavAidList |
( |
| ) |
|
|
overridevirtual |
| virtual DtReflectedNavAid* DtReflectedNavAidList::lookup |
( |
const DtObjectId & |
id, |
|
|
int |
radioId = 1 |
|
) |
| const |
|
virtual |
lookup an entity from its object ID and radio ID
get the first and last elements of the radio transmitter list
Callback which checks whether the entity identifier has arrived yet.
NavAid added callback registration/deregistration.
NavAid removed callback registration/deregistration.
| virtual void DtReflectedNavAidList::print |
( |
| ) |
|
|
virtual |
Print the SRs of all objects.
| virtual DtReflectedNavAid* DtReflectedNavAidList::processNavAid |
( |
const DtTransmitterPdu & |
pdu | ) |
|
|
virtual |
Assignment operator – not implemented.
Called after an env process is added and before addition callbacks are processed. Calls navAidAdded().
| virtual void DtReflectedNavAidList::finalPduIsSetAction |
( |
DtReflectedNavAid * |
envProcess | ) |
|
|
protectedvirtual |
Called when an env process sends its final PDU. Currently, this removes and deletes the env process.
Get a hash key from a state message.
| virtual DtReflectedNavAid* DtReflectedNavAidList::newReflectedNavAid |
( |
const DtEntityIdentifier & |
id, |
|
|
int |
radioId |
|
) |
| const |
|
protectedvirtual |
Create a new reflected env process.
Called after an env process is added and before addition callbacks are processed. Right now, this function only calls DtInfo.
| static void DtReflectedNavAidList::navAidCb |
( |
DtTransmitterPdu * |
pdu, |
|
|
void * |
usr |
|
) |
| |
|
staticprotected |
callback for the exercise connection
Discovery criteria callback that returns true if the object is a NavAid transmitter.
Callback which checks whether the entity identifier has arrived yet.
Look up transmitter by identifier.
Look up transmitter by name.
Get the first/last transmitter in the list.
NavAid added callback registration/deregistration.
NavAid removed callback registration/deregistration.
| virtual DtReflectedObject* DtReflectedNavAidList::newReflectedObject |
( |
DtHlaObject * |
obj | ) |
const |
|
overrideprotectedvirtual |
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.
| virtual const DtList* DtReflectedNavAidList::dfltHandleList |
( |
| ) |
|
|
protectedvirtual |
Returns a DtList of RTI::ObjectClassHandles that represent the list of object classes to which this list should subscribe.
| DtStringHashKey DtReflectedNavAidList::myHashKey |
|
protected |
The documentation for this class was generated from the following files: