![]() |
VR-Link API Documentation for HLA 1516
|
class DtReflectedActiveSonarList More...
Inheritance diagram for DtReflectedActiveSonarList:
Collaboration diagram for DtReflectedActiveSonarList:Public Member Functions | |
| DtReflectedActiveSonarList (DtExerciseConn *exConn, const DtDDMRegionSet *regionSetToUse=0, const DtString &updateRateTag=DtString("")) | |
| Constructor. | |
| DtReflectedActiveSonarList (DtExerciseConn *exConn, const DtList *handleList, const DtDDMRegionSet *regionSetToUse=0, const DtString &updateRateTag=DtString("")) | |
| Constructor - only subscribe to the RTI::ObjectClassHandles in handleList. | |
| virtual | ~DtReflectedActiveSonarList () |
| Destructor. | |
| virtual DtReflectedActiveSonar * | lookup (RTI::ObjectInstanceHandle id) |
| Look up by identifier. | |
| virtual DtReflectedActiveSonar * | lookup (const DtGlobalObjectDesignator &objName) |
| Look up by name. | |
| virtual DtReflectedActiveSonar * | first () const |
| Get the first reflected object in the list. | |
| virtual DtReflectedActiveSonar * | last () const |
| Get the last reflected object in the list. | |
| virtual void | addActiveSonarAdditionCallback (DtActiveSonarCallbackFunction cb, void *userData) |
| ActiveSonar added callback registration. | |
| virtual void | removeActiveSonarAdditionCallback (DtActiveSonarCallbackFunction cb, void *userData) |
| ActiveSonar added callback deregistration. | |
| virtual void | addActiveSonarRemovalCallback (DtActiveSonarCallbackFunction cb, void *userData) |
| ActiveSonar removed callback registration. | |
| virtual void | removeActiveSonarRemovalCallback (DtActiveSonarCallbackFunction cb, void *userData) |
| ActiveSonar removed callback deregistration. | |
Protected Member Functions | |
| DtReflectedActiveSonarList (const DtReflectedActiveSonarList &orig) | |
| Copy constructor not implemented - cannot be copied. | |
| DtReflectedActiveSonarList & | operator= (const DtReflectedActiveSonarList &orig) |
| Assignment operator not implemented - cannot be copied. | |
| virtual DtReflectedObject * | newReflectedObject (DtHlaObject *obj) const |
| Override of virtual function. Here, we create a DtReflectedActiveSonar. | |
| virtual void | objectAdded (DtReflectedObject *obj) |
| Called from processDiscoverObject() after a remote ActiveSonar has been added to the list. | |
| virtual const DtList * | dfltHandleList () |
| Returns a DtList of RTI::ObjectClassHandles that represent the list of object classes to which this list should subscribe. | |
class DtReflectedActiveSonarList
Instances of DtReflectedActiveSonarList manage a list of DtReflectedActiveSonar objects.
| DtReflectedActiveSonarList::DtReflectedActiveSonarList | ( | DtExerciseConn * | exConn, |
| const DtDDMRegionSet * | regionSetToUse = 0, |
||
| const DtString & | updateRateTag = DtString("") |
||
| ) |
Constructor.
| DtReflectedActiveSonarList::DtReflectedActiveSonarList | ( | DtExerciseConn * | exConn, |
| const DtList * | handleList, | ||
| const DtDDMRegionSet * | regionSetToUse = 0, |
||
| const DtString & | updateRateTag = DtString("") |
||
| ) |
Constructor - only subscribe to the RTI::ObjectClassHandles in handleList.
| virtual DtReflectedActiveSonarList::~DtReflectedActiveSonarList | ( | ) | [virtual] |
Destructor.
| DtReflectedActiveSonarList::DtReflectedActiveSonarList | ( | const DtReflectedActiveSonarList & | orig | ) | [protected] |
Copy constructor not implemented - cannot be copied.
| virtual void DtReflectedActiveSonarList::addActiveSonarAdditionCallback | ( | DtActiveSonarCallbackFunction | cb, |
| void * | userData | ||
| ) | [virtual] |
ActiveSonar added callback registration.
| virtual void DtReflectedActiveSonarList::addActiveSonarRemovalCallback | ( | DtActiveSonarCallbackFunction | cb, |
| void * | userData | ||
| ) | [virtual] |
ActiveSonar removed callback registration.
| virtual const DtList* DtReflectedActiveSonarList::dfltHandleList | ( | ) | [protected, virtual] |
Returns a DtList of RTI::ObjectClassHandles that represent the list of object classes to which this list should subscribe.
| virtual DtReflectedActiveSonar* DtReflectedActiveSonarList::first | ( | ) | const [virtual] |
Get the first reflected object in the list.
| virtual DtReflectedActiveSonar* DtReflectedActiveSonarList::last | ( | ) | const [virtual] |
Get the last reflected object in the list.
| virtual DtReflectedActiveSonar* DtReflectedActiveSonarList::lookup | ( | RTI::ObjectInstanceHandle | id | ) | [virtual] |
Look up by identifier.
| virtual DtReflectedActiveSonar* DtReflectedActiveSonarList::lookup | ( | const DtGlobalObjectDesignator & | objName | ) | [virtual] |
Look up by name.
| virtual DtReflectedObject* DtReflectedActiveSonarList::newReflectedObject | ( | DtHlaObject * | obj | ) | const [protected, virtual] |
Override of virtual function. Here, we create a DtReflectedActiveSonar.
Implements DtReflectedObjectList.
| virtual void DtReflectedActiveSonarList::objectAdded | ( | DtReflectedObject * | obj | ) | [protected, virtual] |
Called from processDiscoverObject() after a remote ActiveSonar 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.
Reimplemented from DtReflectedObjectList.
| DtReflectedActiveSonarList& DtReflectedActiveSonarList::operator= | ( | const DtReflectedActiveSonarList & | orig | ) | [protected] |
Assignment operator not implemented - cannot be copied.
| virtual void DtReflectedActiveSonarList::removeActiveSonarAdditionCallback | ( | DtActiveSonarCallbackFunction | cb, |
| void * | userData | ||
| ) | [virtual] |
ActiveSonar added callback deregistration.
| virtual void DtReflectedActiveSonarList::removeActiveSonarRemovalCallback | ( | DtActiveSonarCallbackFunction | cb, |
| void * | userData | ||
| ) | [virtual] |
ActiveSonar removed callback deregistration.