VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions
DtReflectedExampleEmbeddedSystemList Class Reference

List for managing reflected example embedded system objects from the network. Maintains a collection of remote embedded systems discovered through HLA/DIS communication, providing lookup, iteration, and callback notification services.

Inheritance diagram for DtReflectedExampleEmbeddedSystemList:
Inheritance graph
[legend]

Public Member Functions

 DtReflectedExampleEmbeddedSystemList (DtExerciseConn *exConn, const DtDDMRegionSet *regionSetToUse=0, const DtString &updateRateTag=DtString(""))
 
 DtReflectedExampleEmbeddedSystemList (DtExerciseConn *exConn, const DtList *handleList, const DtDDMRegionSet *regionSetToUse=0, const DtString &updateRateTag=DtString(""))
 
virtual ~DtReflectedExampleEmbeddedSystemList ()
 
virtual
DtReflectedExampleEmbeddedSystem * 
lookup (RTI::ObjectHandle id)
 
virtual
DtReflectedExampleEmbeddedSystem * 
lookup (const DtGlobalObjectDesignator &objName)
 
virtual
DtReflectedExampleEmbeddedSystem * 
first () const
 
virtual
DtReflectedExampleEmbeddedSystem * 
last () const
 
virtual void addExampleEmbeddedSystemAdditionCallback (DtExampleEmbeddedSystemCallbackFunction cb, void *userData)
 
virtual void removeExampleEmbeddedSystemAdditionCallback (DtExampleEmbeddedSystemCallbackFunction cb, void *userData)
 
virtual void addExampleEmbeddedSystemRemovalCallback (DtExampleEmbeddedSystemCallbackFunction cb, void *userData)
 
virtual void removeExampleEmbeddedSystemRemovalCallback (DtExampleEmbeddedSystemCallbackFunction cb, void *userData)
 

Static Public Member Functions

static bool checkEntityIdentifier (DtReflectedObject *obj, void *usr)
 

Protected Member Functions

 DtReflectedExampleEmbeddedSystemList (const DtReflectedExampleEmbeddedSystemList &orig)
 
DtReflectedExampleEmbeddedSystemList & operator= (const DtReflectedExampleEmbeddedSystemList &orig)
 
virtual DtReflectedObject * newReflectedObject (DtHlaObject *obj) const
 
virtual void objectAdded (DtReflectedObject *obj)
 
virtual const DtList * dfltHandleList ()
 

Constructor & Destructor Documentation

DtReflectedExampleEmbeddedSystemList::DtReflectedExampleEmbeddedSystemList ( DtExerciseConn *  exConn,
const DtDDMRegionSet *  regionSetToUse = 0,
const DtString &  updateRateTag = DtString("") 
)

Constructor for subscribing to all embedded system object classes.

Parameters
exConnExercise connection for network communication
regionSetToUseOptional DDM region set for filtering
updateRateTagOptional update rate classification tag
DtReflectedExampleEmbeddedSystemList::DtReflectedExampleEmbeddedSystemList ( DtExerciseConn *  exConn,
const DtList *  handleList,
const DtDDMRegionSet *  regionSetToUse = 0,
const DtString &  updateRateTag = DtString("") 
)

Constructor for subscribing to specific object class handles.

Parameters
exConnExercise connection for network communication
handleListList of specific object class handles to subscribe to
regionSetToUseOptional DDM region set for filtering
updateRateTagOptional update rate classification tag
virtual DtReflectedExampleEmbeddedSystemList::~DtReflectedExampleEmbeddedSystemList ( )
virtual

Virtual destructor for proper cleanup.

DtReflectedExampleEmbeddedSystemList::DtReflectedExampleEmbeddedSystemList ( const DtReflectedExampleEmbeddedSystemList &  orig)
protected

Copy constructor - not implemented.

Member Function Documentation

static bool DtReflectedExampleEmbeddedSystemList::checkEntityIdentifier ( DtReflectedObject *  obj,
void *  usr 
)
static

Callback for checking whether the entity identifier has arrived.

Parameters
objReflected object to check
usrUser data passed to callback
Returns
true if entity identifier is available
virtual DtReflectedExampleEmbeddedSystem* DtReflectedExampleEmbeddedSystemList::lookup ( RTI::ObjectHandle  id)
virtual

Looks up embedded system by object identifier.

Parameters
idObject instance handle to search for
Returns
Pointer to embedded system if found, null otherwise
virtual DtReflectedExampleEmbeddedSystem* DtReflectedExampleEmbeddedSystemList::lookup ( const DtGlobalObjectDesignator &  objName)
virtual

Looks up embedded system by global object designator.

Parameters
objNameGlobal object designator to search for
Returns
Pointer to embedded system if found, null otherwise
virtual DtReflectedExampleEmbeddedSystem* DtReflectedExampleEmbeddedSystemList::first ( ) const
virtual

Gets the first embedded system in the list.

Returns
Pointer to first embedded system, null if list is empty
virtual DtReflectedExampleEmbeddedSystem* DtReflectedExampleEmbeddedSystemList::last ( ) const
virtual

Gets the last embedded system in the list.

Returns
Pointer to last embedded system, null if list is empty
virtual void DtReflectedExampleEmbeddedSystemList::addExampleEmbeddedSystemAdditionCallback ( DtExampleEmbeddedSystemCallbackFunction  cb,
void *  userData 
)
virtual

Registers callback for embedded system addition events.

Parameters
cbCallback function to register
userDataUser data to pass to callback
virtual void DtReflectedExampleEmbeddedSystemList::removeExampleEmbeddedSystemAdditionCallback ( DtExampleEmbeddedSystemCallbackFunction  cb,
void *  userData 
)
virtual

Unregisters callback for embedded system addition events.

Parameters
cbCallback function to unregister
userDataUser data associated with callback
virtual void DtReflectedExampleEmbeddedSystemList::addExampleEmbeddedSystemRemovalCallback ( DtExampleEmbeddedSystemCallbackFunction  cb,
void *  userData 
)
virtual

Registers callback for embedded system removal events.

Parameters
cbCallback function to register
userDataUser data to pass to callback
virtual void DtReflectedExampleEmbeddedSystemList::removeExampleEmbeddedSystemRemovalCallback ( DtExampleEmbeddedSystemCallbackFunction  cb,
void *  userData 
)
virtual

Unregisters callback for embedded system removal events.

Parameters
cbCallback function to unregister
userDataUser data associated with callback
DtReflectedExampleEmbeddedSystemList& DtReflectedExampleEmbeddedSystemList::operator= ( const DtReflectedExampleEmbeddedSystemList &  orig)
protected

Assignment operator - not implemented.

virtual DtReflectedObject* DtReflectedExampleEmbeddedSystemList::newReflectedObject ( DtHlaObject *  obj) const
protectedvirtual

Creates a new reflected embedded system object.

Parameters
objHLA object wrapper for the discovered object
Returns
Pointer to newly created reflected embedded system
virtual void DtReflectedExampleEmbeddedSystemList::objectAdded ( DtReflectedObject *  obj)
protectedvirtual

Called after a remote embedded system has been added to the list.

Parameters
objThe reflected object that was added
virtual const DtList* DtReflectedExampleEmbeddedSystemList::dfltHandleList ( )
protectedvirtual

Returns the default list of object class handles to subscribe to.

Returns
List of object class handles for embedded systems

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)