VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
reflectedGenericObjectList.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2025 MAK Technologies, Inc
3 ** All rights reserved.
4 *********************************************************************/
5 
6 
9 
10 #pragma once
11 
12 #if DtHLA
13 
14 #include "reflectedObjectListHLA.h"
15 #include "reflectedGenericObject.h"
16 
28 {
29 public:
30 
33  const char* className, const DtDDMRegionSet* regionSetToUse = 0,
34  const DtString& updateRateTag = DtString(""));
35 
38 
39 private:
40 
43 
46 
47 public:
48 
52 
54  virtual DtReflectedGenericObject* lookup(
55 #if DtHLA_1516
56  RTI::ObjectInstanceHandle id);
57 #else
58  RTI::ObjectHandle id);
59 #endif
60 
62  virtual DtReflectedGenericObject* lookup(const DtGlobalObjectDesignator& objName);
63 
65  virtual DtReflectedGenericObject* first() const;
66  virtual DtReflectedGenericObject* last() const;
67 
70 
72  virtual void addGenericAdditionCallback(
73  DtGenericObjectCallbackFunction cb, void* userData);
74  virtual void removeGenericAdditionCallback(
75  DtGenericObjectCallbackFunction cb, void* userData);
76 
78  virtual void addGenericRemovalCallback(
79  DtGenericObjectCallbackFunction cb, void* userData);
80  virtual void removeGenericRemovalCallback(
81  DtGenericObjectCallbackFunction cb, void* userData);
82 
83 
84 protected:
89 
90 };
91 
92 #endif
93 
94 
95 
class DtReflectedObjectList
Definition: reflectedObjectListHLA.h:58
Contains the HLA DtReflectedObjectList class declaration.
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnHLA.h:61
virtual DtReflectedObject * newReflectedObject(DtHlaObject *obj) const =0
Create a remote object object for the HLA object.
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
void(* DtGenericObjectCallbackFunction)(DtReflectedGenericObject *obj, void *userData)
Definition: reflectedGenericObject.h:24
std::set< DtDDMRegionSP > DtDDMRegionSet
Definition: region13.h:34
DtReflectedGenericObjectList provides a reflected list of a class of FOM objects passed to the constr...
Definition: reflectedGenericObjectList.h:27
DtReflectedObjectList & operator=(const DtReflectedObjectList &orig)
assignment operator – not implemented
Instances of DtHlaObject are used to represent HLA objects which are communicated across the network...
Definition: hlaObject.h:58
class DtReflectedObject:
Definition: reflectedObjectHLA.h:36
Instances of DtReflectedGenericObject are used to represent &quot;GenericObject&quot; objects simulated remotel...
Definition: reflectedGenericObject.h:33
Instances of DtString are used to represent strings.
Definition: vlString.h:36

Document ID: Generated on Thu Oct 16 00:12:25 EDT 2025 from SVN revision 280738
Copyright © 1992-2025 MAK Technologies. All Rights Reserved (www.mak.com)