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