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

class DtReflectedActiveSonarList More...

+ Inheritance diagram for DtReflectedActiveSonarList:
+ Collaboration diagram for DtReflectedActiveSonarList:

List of all members.

Public Member Functions

 DtReflectedActiveSonarList (DtExerciseConn *exConn, const DtDDMRegionSet *regionSetToUse=0, const DtString &updateRateTag=DtString(""))
 Constructor.
 DtReflectedActiveSonarList (DtExerciseConn *exConn, const DtList *handleList, const DtDDMRegionSet *regionSetToUse=0, const DtString &updateRateTag=DtString(""))
 Constructor - only subscribe to the RTI::ObjectClassHandles in handleList.
virtual ~DtReflectedActiveSonarList ()
 Destructor.
virtual DtReflectedActiveSonarlookup (RTI::ObjectHandle id)
 Look up by identifier.
virtual DtReflectedActiveSonarlookup (const DtGlobalObjectDesignator &objName)
 Look up by name.
virtual DtReflectedActiveSonarfirst () const
 Get the first reflected object in the list.
virtual DtReflectedActiveSonarlast () const
 Get the last reflected object in the list.
virtual void addActiveSonarAdditionCallback (DtActiveSonarCallbackFunction cb, void *userData)
 ActiveSonar added callback registration.
virtual void removeActiveSonarAdditionCallback (DtActiveSonarCallbackFunction cb, void *userData)
 ActiveSonar added callback deregistration.
virtual void addActiveSonarRemovalCallback (DtActiveSonarCallbackFunction cb, void *userData)
 ActiveSonar removed callback registration.
virtual void removeActiveSonarRemovalCallback (DtActiveSonarCallbackFunction cb, void *userData)
 ActiveSonar removed callback deregistration.

Protected Member Functions

 DtReflectedActiveSonarList (const DtReflectedActiveSonarList &orig)
 Copy constructor not implemented - cannot be copied.
DtReflectedActiveSonarListoperator= (const DtReflectedActiveSonarList &orig)
 Assignment operator not implemented - cannot be copied.
virtual DtReflectedObjectnewReflectedObject (DtHlaObject *obj) const
 Override of virtual function. Here, we create a DtReflectedActiveSonar.
virtual void objectAdded (DtReflectedObject *obj)
 Called from processDiscoverObject() after a remote ActiveSonar 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 DtReflectedActiveSonarList

Instances of DtReflectedActiveSonarList manage a list of DtReflectedActiveSonar objects.


Constructor & Destructor Documentation

DtReflectedActiveSonarList::DtReflectedActiveSonarList ( DtExerciseConn exConn,
const DtDDMRegionSet regionSetToUse = 0,
const DtString updateRateTag = DtString("") 
)

Constructor.

DtReflectedActiveSonarList::DtReflectedActiveSonarList ( 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 not implemented - cannot be copied.


Member Function Documentation

ActiveSonar added callback registration.

ActiveSonar removed callback registration.

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

Get the last reflected object in the list.

virtual DtReflectedActiveSonar* DtReflectedActiveSonarList::lookup ( RTI::ObjectHandle  id) [virtual]

Look up by identifier.

Look up by name.

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

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

Implements DtReflectedObjectList.

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

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

DtReflectedActiveSonarList& DtReflectedActiveSonarList::operator= ( const DtReflectedActiveSonarList orig) [protected]

Assignment operator not implemented - cannot be copied.

ActiveSonar added callback deregistration.

ActiveSonar removed callback deregistration.


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)