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

class DtReflectedRadioReceiverList: More...

+ Inheritance diagram for DtReflectedRadioReceiverList:
+ Collaboration diagram for DtReflectedRadioReceiverList:

List of all members.

Public Member Functions

 DtReflectedRadioReceiverList (DtExerciseConn *exConn, const DtDDMRegionSet *regionSetToUse=0, const DtString &updateRateTag=DtString(""))
 Constructor.
 DtReflectedRadioReceiverList (DtExerciseConn *exConn, const DtList *handleList, const DtDDMRegionSet *regionSetToUse=0, const DtString &updateRateTag=DtString(""))
 Constructor - only subscribe to the RTI::ObjectClassHandles in handleList.
virtual ~DtReflectedRadioReceiverList ()
 destructor
virtual DtReflectedRadioReceiverlookup (RTI::ObjectHandle id)
 Look up receiver by identifier.
virtual DtReflectedRadioReceiverlookup (const DtGlobalObjectDesignator &objName)
 Look up receiver by name.
virtual DtReflectedRadioReceiverfirst () const
 Get the first/last receiver in the list.
virtual DtReflectedRadioReceiverlast () const
virtual void addRadioReceiverAdditionCallback (DtRadioReceiverCallbackFunction cb, void *userData)
 RadioReceiver added callback registration/deregistration.
virtual void removeRadioReceiverAdditionCallback (DtRadioReceiverCallbackFunction cb, void *userData)
virtual void addRadioReceiverRemovalCallback (DtRadioReceiverCallbackFunction cb, void *userData)
 RadioReceiver removed callback registration/deregistration.
virtual void removeRadioReceiverRemovalCallback (DtRadioReceiverCallbackFunction cb, void *userData)

Protected Member Functions

 DtReflectedRadioReceiverList (const DtReflectedRadioReceiverList &orig)
 copy constructor
DtReflectedRadioReceiverListoperator= (const DtReflectedRadioReceiverList &orig)
 assignment operator
virtual DtReflectedObjectnewReflectedObject (DtHlaObject *obj) const
 Override of virtual function.
virtual void objectAdded (DtReflectedObject *obj)
 Called from processDiscoverObject() after a remote receiver 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 DtReflectedRadioReceiverList:

Instances of DtReflectedRadioReceiverList manage the list of of remote RadioReceivers in the exercise.


Constructor & Destructor Documentation

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

Constructor.

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

RadioReceiver added callback registration/deregistration.

RadioReceiver removed callback registration/deregistration.

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

virtual DtReflectedRadioReceiver* DtReflectedRadioReceiverList::lookup ( RTI::ObjectHandle  id) [virtual]

Look up receiver by identifier.

Look up receiver by name.

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

Override of virtual function.

Here, we create a DtReflectedRadioReceiver.

Implements DtReflectedObjectList.

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

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

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