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

class DtReflectedLinearObjectList: More...

+ Inheritance diagram for DtReflectedLinearObjectList:
+ Collaboration diagram for DtReflectedLinearObjectList:

List of all members.

Public Member Functions

 DtReflectedLinearObjectList (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.
 DtReflectedLinearObjectList (DtExerciseConn *exConn, const DtList *handleList, const DtDDMRegionSet *regionSetToUse=0, const DtString &updateRateTag=DtString(""))
 Constructor - only subscribe to the RTI::ObjectClassHandles in handleList.
virtual ~DtReflectedLinearObjectList ()
 destructor
virtual DtReflectedLinearObjectlookup (RTI::ObjectHandle id)
 Look up linear object by identifier.
virtual DtReflectedLinearObjectlookup (const DtGlobalObjectDesignator &objName)
 Look up linear object by name.
virtual DtReflectedLinearObjectfirst () const
 Get the first/last linear object in the list.
virtual DtReflectedLinearObjectlast () const
virtual void addLinearObjectAdditionCallback (DtLinearObjectCallbackFunction cb, void *userData)
 Linear Object added callback registration/deregistration.
virtual void removeLinearObjectAdditionCallback (DtLinearObjectCallbackFunction cb, void *userData)
virtual void addLinearObjectRemovalCallback (DtLinearObjectCallbackFunction cb, void *userData)
 Linear Object removed callback registration/deregistration.
virtual void removeLinearObjectRemovalCallback (DtLinearObjectCallbackFunction cb, void *userData)

Protected Member Functions

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

Instances of DtReflectedLinearObjectList manage the list of of remote Linear Objects in the exercise.


Constructor & Destructor Documentation

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

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

Linear Object added callback registration/deregistration.

Linear Object removed callback registration/deregistration.

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

virtual DtReflectedLinearObject* DtReflectedLinearObjectList::lookup ( RTI::ObjectHandle  id) [virtual]

Look up linear object by identifier.

Look up linear object by name.

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

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

Implements DtReflectedObjectList.

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

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

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