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

class DtReflectedPointObjectList: More...

+ Inheritance diagram for DtReflectedPointObjectList:
+ Collaboration diagram for DtReflectedPointObjectList:

List of all members.

Public Member Functions

 DtReflectedPointObjectList (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.
 DtReflectedPointObjectList (DtExerciseConn *exConn, const DtList *handleList, const DtDDMRegionSet *regionSetToUse=0, const DtString &updateRateTag=DtString(""))
 Constructor - only subscribe to the RTI::ObjectClassHandles in handleList.
virtual ~DtReflectedPointObjectList ()
 destructor
virtual DtReflectedPointObjectlookup (RTI::ObjectHandle id)
 Look up point object by identifier.
virtual DtReflectedPointObjectlookup (const DtGlobalObjectDesignator &objName)
 Look up point object by name.
virtual DtReflectedPointObjectfirst () const
 Get the first/last point object in the list.
virtual DtReflectedPointObjectlast () const
virtual void addPointObjectAdditionCallback (DtPointObjectCallbackFunction cb, void *userData)
 Point Object added callback registration/deregistration.
virtual void removePointObjectAdditionCallback (DtPointObjectCallbackFunction cb, void *userData)
virtual void addPointObjectRemovalCallback (DtPointObjectCallbackFunction cb, void *userData)
 Point Object removed callback registration/deregistration.
virtual void removePointObjectRemovalCallback (DtPointObjectCallbackFunction cb, void *userData)

Protected Member Functions

 DtReflectedPointObjectList (const DtReflectedPointObjectList &orig)
 copy constructor
DtReflectedPointObjectListoperator= (const DtReflectedPointObjectList &orig)
 assignment operator
virtual DtReflectedObjectnewReflectedObject (DtHlaObject *obj) const
 Override of virtual function. Here, we create a DtReflectedPointObject.
virtual void objectAdded (DtReflectedObject *obj)
 Called from processDiscoverObject() after a remote point object 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 DtReflectedPointObjectList:

Instances of DtReflectedPointObjectList manage the list of of remote Point Objects in the exercise.


Constructor & Destructor Documentation

DtReflectedPointObjectList::DtReflectedPointObjectList ( 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.

DtReflectedPointObjectList::DtReflectedPointObjectList ( 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

Point Object added callback registration/deregistration.

Point Object removed callback registration/deregistration.

virtual const DtList* DtReflectedPointObjectList::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 point object in the list.

virtual DtReflectedPointObject* DtReflectedPointObjectList::lookup ( RTI::ObjectHandle  id) [virtual]

Look up point object by identifier.

Look up point object by name.

virtual DtReflectedObject* DtReflectedPointObjectList::newReflectedObject ( DtHlaObject obj) const [protected, virtual]

Override of virtual function. Here, we create a DtReflectedPointObject.

Implements DtReflectedObjectList.

virtual void DtReflectedPointObjectList::objectAdded ( DtReflectedObject obj) [protected, virtual]

Called from processDiscoverObject() after a remote point object 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.

DtReflectedPointObjectList& DtReflectedPointObjectList::operator= ( const DtReflectedPointObjectList 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)