![]() |
VR-Link API Documentation for HLA Evolved
|
Instances of DtReflectedEnvironmentProcessList manage the list of remote environmental processes in the exercise. More...
Inheritance diagram for DtReflectedEnvironmentProcessList:
Collaboration diagram for DtReflectedEnvironmentProcessList:Public Member Functions | |
| DtReflectedEnvironmentProcessList (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. | |
| DtReflectedEnvironmentProcessList (DtExerciseConn *exConn, const DtList *handleList, const DtDDMRegionSet *regionSetToUse=0, const DtString &updateRateTag=DtString("")) | |
| Constructor - only subscribe to the RTI::ObjectClassHandles in handleList. | |
| virtual | ~DtReflectedEnvironmentProcessList () |
| destructor | |
| virtual DtReflectedEnvironmentProcess * | lookup (RTI::ObjectHandle id) |
| Look up environmental process by identifier. | |
| virtual DtReflectedEnvironmentProcess * | lookup (const DtGlobalObjectDesignator &objName) |
| Look up environmental process by name. | |
| virtual DtReflectedEnvironmentProcess * | first () const |
| Get the first/last environmental process in the list. | |
| virtual DtReflectedEnvironmentProcess * | last () const |
| virtual void | addEnvironmentProcessAdditionCallback (DtEnvironmentProcessCallbackFunction cb, void *userData) |
| Environmental process added callback registration/deregistration. | |
| virtual void | removeEnvironmentProcessAdditionCallback (DtEnvironmentProcessCallbackFunction cb, void *userData) |
| virtual void | addEnvironmentProcessRemovalCallback (DtEnvironmentProcessCallbackFunction cb, void *userData) |
| Environmental process removed callback registration/deregistration. | |
| virtual void | removeEnvironmentProcessRemovalCallback (DtEnvironmentProcessCallbackFunction cb, void *userData) |
Protected Member Functions | |
| DtReflectedEnvironmentProcessList (const DtReflectedEnvironmentProcessList &orig) | |
| copy constructor -- not implemented | |
| DtReflectedEnvironmentProcessList & | operator= (const DtReflectedEnvironmentProcessList &orig) |
| assignment operator -- not implemented | |
| virtual DtReflectedObject * | newReflectedObject (DtHlaObject *obj) const |
| Override of virtual function. | |
| virtual void | objectAdded (DtReflectedObject *obj) |
| Called from processDiscoverObject() after a remote environment process 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 DtReflectedEnvironmentProcessList manage the list of remote environmental processes in the exercise.
Examples: Environmental Process Example
| DtReflectedEnvironmentProcessList::DtReflectedEnvironmentProcessList | ( | 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.
| DtReflectedEnvironmentProcessList::DtReflectedEnvironmentProcessList | ( | DtExerciseConn * | exConn, |
| const DtList * | handleList, | ||
| const DtDDMRegionSet * | regionSetToUse = 0, |
||
| const DtString & | updateRateTag = DtString("") |
||
| ) |
Constructor - only subscribe to the RTI::ObjectClassHandles in handleList.
| virtual DtReflectedEnvironmentProcessList::~DtReflectedEnvironmentProcessList | ( | ) | [virtual] |
destructor
| DtReflectedEnvironmentProcessList::DtReflectedEnvironmentProcessList | ( | const DtReflectedEnvironmentProcessList & | orig | ) | [protected] |
copy constructor -- not implemented
| virtual void DtReflectedEnvironmentProcessList::addEnvironmentProcessAdditionCallback | ( | DtEnvironmentProcessCallbackFunction | cb, |
| void * | userData | ||
| ) | [virtual] |
Environmental process added callback registration/deregistration.
| virtual void DtReflectedEnvironmentProcessList::addEnvironmentProcessRemovalCallback | ( | DtEnvironmentProcessCallbackFunction | cb, |
| void * | userData | ||
| ) | [virtual] |
Environmental process removed callback registration/deregistration.
| virtual const DtList* DtReflectedEnvironmentProcessList::dfltHandleList | ( | ) | [protected, virtual] |
Returns a DtList of RTI::ObjectClassHandles that represent the list of object classes to which this list should subscribe.
| virtual DtReflectedEnvironmentProcess* DtReflectedEnvironmentProcessList::first | ( | ) | const [virtual] |
Get the first/last environmental process in the list.
| virtual DtReflectedEnvironmentProcess* DtReflectedEnvironmentProcessList::last | ( | ) | const [virtual] |
| virtual DtReflectedEnvironmentProcess* DtReflectedEnvironmentProcessList::lookup | ( | RTI::ObjectHandle | id | ) | [virtual] |
Look up environmental process by identifier.
| virtual DtReflectedEnvironmentProcess* DtReflectedEnvironmentProcessList::lookup | ( | const DtGlobalObjectDesignator & | objName | ) | [virtual] |
Look up environmental process by name.
| virtual DtReflectedObject* DtReflectedEnvironmentProcessList::newReflectedObject | ( | DtHlaObject * | obj | ) | const [protected, virtual] |
Override of virtual function.
Here, we create a DtReflectedEnvironmentProcess.
Implements DtReflectedObjectList.
| virtual void DtReflectedEnvironmentProcessList::objectAdded | ( | DtReflectedObject * | obj | ) | [protected, virtual] |
Called from processDiscoverObject() after a remote environment process 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.
| DtReflectedEnvironmentProcessList& DtReflectedEnvironmentProcessList::operator= | ( | const DtReflectedEnvironmentProcessList & | orig | ) | [protected] |
assignment operator -- not implemented
| virtual void DtReflectedEnvironmentProcessList::removeEnvironmentProcessAdditionCallback | ( | DtEnvironmentProcessCallbackFunction | cb, |
| void * | userData | ||
| ) | [virtual] |
| virtual void DtReflectedEnvironmentProcessList::removeEnvironmentProcessRemovalCallback | ( | DtEnvironmentProcessCallbackFunction | cb, |
| void * | userData | ||
| ) | [virtual] |