![]() |
VR-Link API Documentation for HLA 1.3
|
Instances of DtReflectedDesignatorList manage the list of of remote Designators in the exercise. More...
Inheritance diagram for DtReflectedDesignatorList:
Collaboration diagram for DtReflectedDesignatorList:Public Member Functions | |
| DtReflectedDesignatorList (DtExerciseConn *exConn, const DtDDMRegionSet *regionSetToUse=0, const DtString &updateRateTag=DtString("")) | |
| Constructor - obtains the set of object classes to subscribe to from the exConn's fomMapper. | |
| DtReflectedDesignatorList (DtExerciseConn *exConn, const DtList *handleList, const DtDDMRegionSet *regionSetToUse=0, const DtString &updateRateTag=DtString("")) | |
| Constructor - only subscribe to the RTI::ObjectClassHandles in handleList. | |
| virtual | ~DtReflectedDesignatorList () |
| destructor | |
| virtual DtReflectedDesignator * | lookup (RTI::ObjectHandle id) |
| Look up designator by identifier. | |
| virtual DtReflectedDesignator * | lookup (const DtGlobalObjectDesignator &objName) |
| Look up designator by name. | |
| virtual DtReflectedDesignator * | first () const |
| Get the first/last designator in the list. | |
| virtual DtReflectedDesignator * | last () const |
| virtual void | addDesignatorAdditionCallback (DtDesignatorCallbackFunction cb, void *userData) |
| Designator added callback registration/deregistration. | |
| virtual void | removeDesignatorAdditionCallback (DtDesignatorCallbackFunction cb, void *userData) |
| virtual void | addDesignatorRemovalCallback (DtDesignatorCallbackFunction cb, void *userData) |
| Designator removed callback registration/deregistration. | |
| virtual void | removeDesignatorRemovalCallback (DtDesignatorCallbackFunction cb, void *userData) |
Protected Member Functions | |
| DtReflectedDesignatorList (const DtReflectedDesignatorList &orig) | |
| copy constructor | |
| DtReflectedDesignatorList & | operator= (const DtReflectedDesignatorList &orig) |
| assignment operator | |
| virtual DtReflectedObject * | newReflectedObject (DtHlaObject *obj) const |
| Override of virtual function. Here, we create a DtReflectedDesignator. | |
| virtual void | objectAdded (DtReflectedObject *obj) |
| Called from processDiscoverObject() after a remote designator 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. | |
Instances of DtReflectedDesignatorList manage the list of of remote Designators in the exercise.
| DtReflectedDesignatorList::DtReflectedDesignatorList | ( | DtExerciseConn * | exConn, |
| const DtDDMRegionSet * | regionSetToUse = 0, |
||
| const DtString & | updateRateTag = DtString("") |
||
| ) |
Constructor - obtains the set of object classes to subscribe to from the exConn's fomMapper.
| DtReflectedDesignatorList::DtReflectedDesignatorList | ( | DtExerciseConn * | exConn, |
| const DtList * | handleList, | ||
| const DtDDMRegionSet * | regionSetToUse = 0, |
||
| const DtString & | updateRateTag = DtString("") |
||
| ) |
Constructor - only subscribe to the RTI::ObjectClassHandles in handleList.
| virtual DtReflectedDesignatorList::~DtReflectedDesignatorList | ( | ) | [virtual] |
destructor
| DtReflectedDesignatorList::DtReflectedDesignatorList | ( | const DtReflectedDesignatorList & | orig | ) | [protected] |
copy constructor
| virtual void DtReflectedDesignatorList::addDesignatorAdditionCallback | ( | DtDesignatorCallbackFunction | cb, |
| void * | userData | ||
| ) | [virtual] |
Designator added callback registration/deregistration.
| virtual void DtReflectedDesignatorList::addDesignatorRemovalCallback | ( | DtDesignatorCallbackFunction | cb, |
| void * | userData | ||
| ) | [virtual] |
Designator removed callback registration/deregistration.
| virtual const DtList* DtReflectedDesignatorList::dfltHandleList | ( | ) | [protected, virtual] |
Returns a DtList of RTI::ObjectClassHandles that represent the list of object classes to which this list should subscribe.
| virtual DtReflectedDesignator* DtReflectedDesignatorList::first | ( | ) | const [virtual] |
Get the first/last designator in the list.
| virtual DtReflectedDesignator* DtReflectedDesignatorList::last | ( | ) | const [virtual] |
| virtual DtReflectedDesignator* DtReflectedDesignatorList::lookup | ( | RTI::ObjectHandle | id | ) | [virtual] |
Look up designator by identifier.
| virtual DtReflectedDesignator* DtReflectedDesignatorList::lookup | ( | const DtGlobalObjectDesignator & | objName | ) | [virtual] |
Look up designator by name.
| virtual DtReflectedObject* DtReflectedDesignatorList::newReflectedObject | ( | DtHlaObject * | obj | ) | const [protected, virtual] |
Override of virtual function. Here, we create a DtReflectedDesignator.
Implements DtReflectedObjectList.
| virtual void DtReflectedDesignatorList::objectAdded | ( | DtReflectedObject * | obj | ) | [protected, virtual] |
Called from processDiscoverObject() after a remote designator 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.
| DtReflectedDesignatorList& DtReflectedDesignatorList::operator= | ( | const DtReflectedDesignatorList & | orig | ) | [protected] |
assignment operator
| virtual void DtReflectedDesignatorList::removeDesignatorAdditionCallback | ( | DtDesignatorCallbackFunction | cb, |
| void * | userData | ||
| ) | [virtual] |
| virtual void DtReflectedDesignatorList::removeDesignatorRemovalCallback | ( | DtDesignatorCallbackFunction | cb, |
| void * | userData | ||
| ) | [virtual] |