VR-Link API Documentation for HLA 1.3
Public Member Functions | Protected Member Functions | Protected Attributes
DtReflectedAggregateList Class Reference

class DtReflectedAggregateList: More...

+ Inheritance diagram for DtReflectedAggregateList:
+ Collaboration diagram for DtReflectedAggregateList:

List of all members.

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 DtReflectedAggregatelookup (RTI::ObjectHandle id)
 Look up aggregate by identifier.
virtual DtReflectedAggregatelookup (const DtGlobalObjectDesignator &objName)
 Look up aggregate by name.
virtual DtReflectedAggregatefirst () const
 Get the first/last entity in the list.
virtual DtReflectedAggregatelast () 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
DtReflectedAggregateListoperator= (const DtReflectedAggregateList &orig)
 assignment operator
virtual const DtListdfltHandleList ()
 Asks the FOM Mapper for the DtList of RTI::ObjectClassHandles to use.
virtual DtReflectedObjectnewReflectedObject (DtHlaObject *obj) const
 Override of virtual function. Calls newReflectedAggregate.
virtual DtReflectedAggregatenewReflectedAggregate (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

Detailed Description

class DtReflectedAggregateList:

Instances of DtReflectedAggregateList are used to manage remote aggregates from the network.


Constructor & Destructor Documentation

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.

destructor

copy constructor


Member Function Documentation

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.

Get the first/last entity in the list.

virtual DtReflectedAggregate* DtReflectedAggregateList::lookup ( RTI::ObjectHandle  id) [virtual]

Look up aggregate by identifier.

Look up aggregate by name.

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.


Member Data Documentation


The documentation for this class was generated from the following file:

Document ID: Generated on Mon May 14 08:06:18 EDT 2012 from SVN revision 114750
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)