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

DtReflectedGenericObjectList provides a reflected list of a class of FOM objects passed to the constructor. More...

+ Inheritance diagram for DtReflectedGenericObjectList:
+ Collaboration diagram for DtReflectedGenericObjectList:

List of all members.

Public Member Functions

 DtReflectedGenericObjectList (DtExerciseConn *exConn, const char *className, const DtDDMRegionSet *regionSetToUse=0, const DtString &updateRateTag=DtString(""))
 Constructor.
virtual ~DtReflectedGenericObjectList ()
 destructor
virtual DtReflectedGenericObjectlookup (RTI::ObjectHandle id)
 The following public functions are not required by VR-Link, but they are strongly recommended.
virtual DtReflectedGenericObjectlookup (const DtGlobalObjectDesignator &objName)
 Look up object by name (global object designator).
virtual DtReflectedGenericObjectfirst () const
 Get the first/last object in the list.
virtual DtReflectedGenericObjectlast () const
virtual void addGenericAdditionCallback (DtGenericObjectCallbackFunction cb, void *userData)
 Functions that allow a user to register callbacks that will be called when "Generic" objects are added and removed from the list.
virtual void removeGenericAdditionCallback (DtGenericObjectCallbackFunction cb, void *userData)
virtual void addGenericRemovalCallback (DtGenericObjectCallbackFunction cb, void *userData)
 Registration/deregistration of object removal callbacks.
virtual void removeGenericRemovalCallback (DtGenericObjectCallbackFunction cb, void *userData)

Protected Member Functions

virtual DtReflectedObjectnewReflectedObject (DtHlaObject *obj) const
 Override of virtual function that the base class uses to create the appropriate kind of DtReflectedObject.

Private Member Functions

 DtReflectedGenericObjectList (const DtReflectedGenericObjectList &other)
 Copy Ctor -- Not Implemented.
DtReflectedGenericObjectListoperator= (const DtReflectedGenericObjectList &other)
 Assignment Operator -- Not Implemented.

Detailed Description

DtReflectedGenericObjectList provides a reflected list of a class of FOM objects passed to the constructor.

An instance of this class manages the list of Generic objects that are simulated remotely, and reflected to us by the RTI. This class is derived from DtReflectedObjectList, which does most of the work. The derived class mostly exists to provide type safety, and to let the base class know which FOM classes should be managed by this list.


Constructor & Destructor Documentation

DtReflectedGenericObjectList::DtReflectedGenericObjectList ( DtExerciseConn exConn,
const char *  className,
const DtDDMRegionSet regionSetToUse = 0,
const DtString updateRateTag = DtString("") 
)

Constructor.

destructor

Copy Ctor -- Not Implemented.


Member Function Documentation

Functions that allow a user to register callbacks that will be called when "Generic" objects are added and removed from the list.

Registration/deregistration of object addition callbacks.

Registration/deregistration of object removal callbacks.

Get the first/last object in the list.

virtual DtReflectedGenericObject* DtReflectedGenericObjectList::lookup ( RTI::ObjectHandle  id) [virtual]

The following public functions are not required by VR-Link, but they are strongly recommended.

The functions call down to base class versions, and cast to and from more generic types. Look up object by identifier.

Look up object by name (global object designator).

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

Override of virtual function that the base class uses to create the appropriate kind of DtReflectedObject.

Here, we create a DtReflectedGenericObject.

Implements DtReflectedObjectList.

DtReflectedGenericObjectList& DtReflectedGenericObjectList::operator= ( const DtReflectedGenericObjectList other) [private]

Assignment Operator -- Not Implemented.


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)