VR-Link API Documentation for HLA Evolved
Public Member Functions | Protected Member Functions
DtReflectedGriddedDataList Class Reference

class DtReflectedGriddedDataList: More...

+ Inheritance diagram for DtReflectedGriddedDataList:
+ Collaboration diagram for DtReflectedGriddedDataList:

List of all members.

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 DtReflectedGriddedDatalookup (RTI::ObjectHandle id)
 Look up gridded data by identifier.
virtual DtReflectedGriddedDatalookup (const DtGlobalObjectDesignator &objName)
 Look up gridded data by name.
virtual DtReflectedGriddedDatafirst () const
 Get the first/last gridded data in the list.
virtual DtReflectedGriddedDatalast () 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
DtReflectedGriddedDataListoperator= (const DtReflectedGriddedDataList &orig)
 assignment operator
virtual DtReflectedObjectnewReflectedObject (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 DtListdfltHandleList ()
 Returns a DtList of RTI::ObjectClassHandles that represent the list of object classes to which this list should subscribe.

Detailed Description

class DtReflectedGriddedDataList:

Instances of DtReflectedGriddedDataList manage the list of remote Gridded Data in the exercise.


Constructor & Destructor Documentation

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.

destructor

copy constructor


Member Function Documentation

GriddedData added callback registration/deregistration.

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.

Get the first/last gridded data in the list.

virtual DtReflectedGriddedData* DtReflectedGriddedDataList::lookup ( RTI::ObjectHandle  id) [virtual]

Look up gridded data by identifier.

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


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)