VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
reflectedExampleEmbeddedSystemList.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2025 MAK Technologies, Inc
3 ** All rights reserved.
4 *********************************************************************/
5 
6 #pragma once
7 
8 #include <vl/reflectedObjectListHLA.h>
10 #include <vl/rtiCompatibility.h>
11 
16 {
17 public:
18 
23  DtReflectedExampleEmbeddedSystemList(DtExerciseConn* exConn,
24  const DtDDMRegionSet* regionSetToUse = 0,
25  const DtString& updateRateTag = DtString("") );
26 
32  DtReflectedExampleEmbeddedSystemList(DtExerciseConn* exConn,
33  const DtList *handleList, const DtDDMRegionSet* regionSetToUse = 0,
34  const DtString& updateRateTag = DtString("") );
35 
38 
43  static bool checkEntityIdentifier(DtReflectedObject* obj, void* usr);
44 
49 #if DtHLA_1516
50  RTI::ObjectInstanceHandle id);
51 #else
52  RTI::ObjectHandle id);
53 #endif
54 
59  const DtGlobalObjectDesignator& objName);
60 
63  virtual DtReflectedExampleEmbeddedSystem* first() const;
64 
67  virtual DtReflectedExampleEmbeddedSystem* last() const;
68 
73  DtExampleEmbeddedSystemCallbackFunction cb, void* userData);
74 
79  DtExampleEmbeddedSystemCallbackFunction cb, void* userData);
80 
85  DtExampleEmbeddedSystemCallbackFunction cb, void* userData);
86 
91  DtExampleEmbeddedSystemCallbackFunction cb, void* userData);
92 
93 protected:
94 
97 
101 
105  virtual DtReflectedObject* newReflectedObject(DtHlaObject* obj) const;
106 
109  virtual void objectAdded(DtReflectedObject* obj);
110 
113  virtual const DtList* dfltHandleList();
114 };
115 
116 
virtual DtReflectedExampleEmbeddedSystem * last() const
Gets the last embedded system in the list.
List for managing reflected example embedded system objects from the network. Maintains a collection ...
Definition: reflectedExampleEmbeddedSystemList.h:15
DtReflectedExampleEmbeddedSystemList(DtExerciseConn *exConn, const DtDDMRegionSet *regionSetToUse=0, const DtString &updateRateTag=DtString(""))
Constructor for subscribing to all embedded system object classes.
virtual void removeExampleEmbeddedSystemAdditionCallback(DtExampleEmbeddedSystemCallbackFunction cb, void *userData)
Unregisters callback for embedded system addition events.
virtual DtReflectedExampleEmbeddedSystem * first() const
Gets the first embedded system in the list.
virtual DtReflectedObject * newReflectedObject(DtHlaObject *obj) const
Creates a new reflected embedded system object.
virtual ~DtReflectedExampleEmbeddedSystemList()
Virtual destructor for proper cleanup.
Reflected object representing a remote embedded system received over HLA/DIS. Manages state repositor...
Definition: reflectedExampleEmbeddedSystem.h:23
virtual void removeExampleEmbeddedSystemRemovalCallback(DtExampleEmbeddedSystemCallbackFunction cb, void *userData)
Unregisters callback for embedded system removal events.
virtual void addExampleEmbeddedSystemAdditionCallback(DtExampleEmbeddedSystemCallbackFunction cb, void *userData)
Registers callback for embedded system addition events.
DtReflectedExampleEmbeddedSystemList & operator=(const DtReflectedExampleEmbeddedSystemList &orig)
Assignment operator - not implemented.
static bool checkEntityIdentifier(DtReflectedObject *obj, void *usr)
Callback for checking whether the entity identifier has arrived.
virtual void objectAdded(DtReflectedObject *obj)
Called after a remote embedded system has been added to the list.
void(* DtExampleEmbeddedSystemCallbackFunction)(DtReflectedExampleEmbeddedSystem *obj, void *userData)
Callback function type for embedded system object events.
Definition: reflectedExampleEmbeddedSystem.h:18
virtual void addExampleEmbeddedSystemRemovalCallback(DtExampleEmbeddedSystemCallbackFunction cb, void *userData)
Registers callback for embedded system removal events.
virtual const DtList * dfltHandleList()
Returns the default list of object class handles to subscribe to.
virtual DtReflectedExampleEmbeddedSystem * lookup(RTI::ObjectHandle id)
Looks up embedded system by object identifier.

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)