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

Instances of DtReflectedDesignatorList manage the list of of remote Designators in the exercise. More...

+ Inheritance diagram for DtReflectedDesignatorList:
+ Collaboration diagram for DtReflectedDesignatorList:

List of all members.

Public Member Functions

 DtReflectedDesignatorList (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.
 DtReflectedDesignatorList (DtExerciseConn *exConn, const DtList *handleList, const DtDDMRegionSet *regionSetToUse=0, const DtString &updateRateTag=DtString(""))
 Constructor - only subscribe to the RTI::ObjectClassHandles in handleList.
virtual ~DtReflectedDesignatorList ()
 destructor
virtual DtReflectedDesignatorlookup (RTI::ObjectHandle id)
 Look up designator by identifier.
virtual DtReflectedDesignatorlookup (const DtGlobalObjectDesignator &objName)
 Look up designator by name.
virtual DtReflectedDesignatorfirst () const
 Get the first/last designator in the list.
virtual DtReflectedDesignatorlast () const
virtual void addDesignatorAdditionCallback (DtDesignatorCallbackFunction cb, void *userData)
 Designator added callback registration/deregistration.
virtual void removeDesignatorAdditionCallback (DtDesignatorCallbackFunction cb, void *userData)
virtual void addDesignatorRemovalCallback (DtDesignatorCallbackFunction cb, void *userData)
 Designator removed callback registration/deregistration.
virtual void removeDesignatorRemovalCallback (DtDesignatorCallbackFunction cb, void *userData)

Protected Member Functions

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

Instances of DtReflectedDesignatorList manage the list of of remote Designators in the exercise.


Constructor & Destructor Documentation

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

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

virtual void DtReflectedDesignatorList::addDesignatorAdditionCallback ( DtDesignatorCallbackFunction  cb,
void *  userData 
) [virtual]

Designator added callback registration/deregistration.

virtual void DtReflectedDesignatorList::addDesignatorRemovalCallback ( DtDesignatorCallbackFunction  cb,
void *  userData 
) [virtual]

Designator removed callback registration/deregistration.

virtual const DtList* DtReflectedDesignatorList::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 designator in the list.

virtual DtReflectedDesignator* DtReflectedDesignatorList::lookup ( RTI::ObjectHandle  id) [virtual]

Look up designator by identifier.

Look up designator by name.

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

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

Implements DtReflectedObjectList.

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

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

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