![]() |
VR-Link API Documentation for HLA 1516
|
class DtReflectedAggregateList: More...
Inheritance diagram for DtReflectedAggregateList:
Collaboration diagram for DtReflectedAggregateList:Public Member Functions | |
| DtReflectedAggregateList (DtExerciseConn *exConn, bool smoothCapable=false, const DtDDMRegionSet *regionSetToUse=0, const DtString &updateRateTag=DtString("")) | |
| Constructor - obtains the set of object classes to subscribe to from the exConn's fomMapper. | |
| DtReflectedAggregateList (DtExerciseConn *exConn, const DtList *handleList, bool smoothCapable=false, const DtDDMRegionSet *regionSetToUse=0, const DtString &updateRateTag=DtString("")) | |
| Constructor - only subscribe to the RTI::ObjectClassHandles in handleList. | |
| virtual | ~DtReflectedAggregateList () |
| destructor | |
| virtual DtReflectedAggregate * | lookup (RTI::ObjectInstanceHandle id) |
| Look up aggregate by identifier. | |
| virtual DtReflectedAggregate * | lookup (const DtGlobalObjectDesignator &objName) |
| Look up aggregate by name. | |
| virtual DtReflectedAggregate * | first () const |
| Get the first/last entity in the list. | |
| virtual DtReflectedAggregate * | last () const |
| virtual void | addAggregateAdditionCallback (DtAggregateCallbackFunction cb, void *userData) |
| Aggregate added callback registration/deregistration. | |
| virtual void | removeAggregateAdditionCallback (DtAggregateCallbackFunction cb, void *userData) |
| virtual void | addAggregateRemovalCallback (DtAggregateCallbackFunction cb, void *userData) |
| Aggregate removed callback registration/deregistration. | |
| virtual void | removeAggregateRemovalCallback (DtAggregateCallbackFunction cb, void *userData) |
Protected Member Functions | |
| DtReflectedAggregateList (const DtReflectedAggregateList &orig) | |
| copy constructor | |
| DtReflectedAggregateList & | operator= (const DtReflectedAggregateList &orig) |
| assignment operator | |
| virtual const DtList * | dfltHandleList () |
| Asks the FOM Mapper for the DtList of RTI::ObjectClassHandles to use. | |
| virtual DtReflectedObject * | newReflectedObject (DtHlaObject *obj) const |
| Override of virtual function. Calls newReflectedAggregate. | |
| virtual DtReflectedAggregate * | newReflectedAggregate (DtHlaObject *obj) const |
| Create a remote aggregate object for the HLA object. | |
| virtual void | removeAndDelete (DtReflectedObject *object, char *msg) |
| Virtual function override. | |
| virtual void | removeAndDelete (DtReflectedAggregate *aggregate, char *msg=NULL) |
| Default calls down to base class version, but can be overridden. | |
| virtual void | objectAdded (DtReflectedObject *obj) |
| Called from processDiscoverObject() after a remote transmitter has been added to the list. | |
| virtual void | aggregateAdded (DtReflectedAggregate *ent) |
| Called by objectAdded (which is called from processDiscoverObject()) after a remote aggregate has been added to the list. | |
Protected Attributes | |
| bool | mySmoothCapable |
class DtReflectedAggregateList:
Instances of DtReflectedAggregateList are used to manage remote aggregates from the network.
| DtReflectedAggregateList::DtReflectedAggregateList | ( | DtExerciseConn * | exConn, |
| bool | smoothCapable = false, |
||
| const DtDDMRegionSet * | regionSetToUse = 0, |
||
| const DtString & | updateRateTag = DtString("") |
||
| ) |
Constructor - obtains the set of object classes to subscribe to from the exConn's fomMapper.
| DtReflectedAggregateList::DtReflectedAggregateList | ( | DtExerciseConn * | exConn, |
| const DtList * | handleList, | ||
| bool | smoothCapable = false, |
||
| const DtDDMRegionSet * | regionSetToUse = 0, |
||
| const DtString & | updateRateTag = DtString("") |
||
| ) |
Constructor - only subscribe to the RTI::ObjectClassHandles in handleList.
| virtual DtReflectedAggregateList::~DtReflectedAggregateList | ( | ) | [virtual] |
destructor
| DtReflectedAggregateList::DtReflectedAggregateList | ( | const DtReflectedAggregateList & | orig | ) | [protected] |
copy constructor
| virtual void DtReflectedAggregateList::addAggregateAdditionCallback | ( | DtAggregateCallbackFunction | cb, |
| void * | userData | ||
| ) | [virtual] |
Aggregate added callback registration/deregistration.
| virtual void DtReflectedAggregateList::addAggregateRemovalCallback | ( | DtAggregateCallbackFunction | cb, |
| void * | userData | ||
| ) | [virtual] |
Aggregate removed callback registration/deregistration.
| virtual void DtReflectedAggregateList::aggregateAdded | ( | DtReflectedAggregate * | ent | ) | [protected, virtual] |
Called by objectAdded (which is called from processDiscoverObject()) after a remote aggregate has been added to the list.
Default implementation prints a message. Subclasses can override this function to add functionality on addition.
| virtual const DtList* DtReflectedAggregateList::dfltHandleList | ( | ) | [protected, virtual] |
Asks the FOM Mapper for the DtList of RTI::ObjectClassHandles to use.
| virtual DtReflectedAggregate* DtReflectedAggregateList::first | ( | ) | const [virtual] |
Get the first/last entity in the list.
| virtual DtReflectedAggregate* DtReflectedAggregateList::last | ( | ) | const [virtual] |
| virtual DtReflectedAggregate* DtReflectedAggregateList::lookup | ( | RTI::ObjectInstanceHandle | id | ) | [virtual] |
Look up aggregate by identifier.
| virtual DtReflectedAggregate* DtReflectedAggregateList::lookup | ( | const DtGlobalObjectDesignator & | objName | ) | [virtual] |
Look up aggregate by name.
| virtual DtReflectedAggregate* DtReflectedAggregateList::newReflectedAggregate | ( | DtHlaObject * | obj | ) | const [protected, virtual] |
Create a remote aggregate object for the HLA object.
Caller is responsible for deletion.
| virtual DtReflectedObject* DtReflectedAggregateList::newReflectedObject | ( | DtHlaObject * | obj | ) | const [protected, virtual] |
Override of virtual function. Calls newReflectedAggregate.
Implements DtReflectedObjectList.
| virtual void DtReflectedAggregateList::objectAdded | ( | DtReflectedObject * | obj | ) | [protected, virtual] |
Called from processDiscoverObject() after a remote transmitter has been added to the list.
Calls aggregateAdded.
Reimplemented from DtReflectedObjectList.
| DtReflectedAggregateList& DtReflectedAggregateList::operator= | ( | const DtReflectedAggregateList & | orig | ) | [protected] |
assignment operator
| virtual void DtReflectedAggregateList::removeAggregateAdditionCallback | ( | DtAggregateCallbackFunction | cb, |
| void * | userData | ||
| ) | [virtual] |
| virtual void DtReflectedAggregateList::removeAggregateRemovalCallback | ( | DtAggregateCallbackFunction | cb, |
| void * | userData | ||
| ) | [virtual] |
| virtual void DtReflectedAggregateList::removeAndDelete | ( | DtReflectedObject * | object, |
| char * | msg | ||
| ) | [protected, virtual] |
Virtual function override.
Calls removeAndDelete(DtReflectedAggregate*....)
Reimplemented from DtReflectedObjectList.
| virtual void DtReflectedAggregateList::removeAndDelete | ( | DtReflectedAggregate * | aggregate, |
| char * | msg = NULL |
||
| ) | [protected, virtual] |
Default calls down to base class version, but can be overridden.
bool DtReflectedAggregateList::mySmoothCapable [protected] |