VR-Link API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
reflectedAggregateListHLA.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2025 MAK Technologies, Inc
3 ** All rights reserved.
4 *********************************************************************/
5 
6 
7 #ifndef reflectedAggregateListHLA_H_
8 #define reflectedAggregateListHLA_H_
9 
10 #if DtHLA
11 
12 #include "reflectedObjectListHLA.h"
13 #include "reflectedAggregateHLA.h"
14 
19 
24 
26 {
27 public:
28 
32  bool smoothCapable = false, const DtDDMRegionSet* regionSetToUse = 0,
33  const DtString& updateRateTag = DtString(""));
34 
38  const DtList *handleList, bool smoothCapable = false,
39  const DtDDMRegionSet* regionSetToUse = 0,
40  const DtString& updateRateTag = DtString(""));
41 
43  virtual ~DtReflectedAggregateList();
44 
46  virtual DtReflectedAggregate* lookup(
47 #if DtHLA_1516
48  RTI::ObjectInstanceHandle id);
49 #else
50  RTI::ObjectHandle id);
51 #endif
52 
54  virtual DtReflectedAggregate* lookup(
55  const DtGlobalObjectDesignator& objName);
56 
58  virtual DtReflectedAggregate* first() const;
59  virtual DtReflectedAggregate* last() const;
60 
62  virtual void addAggregateAdditionCallback(
63  DtAggregateCallbackFunction cb, void* userData);
64  virtual void removeAggregateAdditionCallback(
65  DtAggregateCallbackFunction cb, void* userData);
66 
68  virtual void addAggregateRemovalCallback(
69  DtAggregateCallbackFunction cb, void* userData);
70  virtual void removeAggregateRemovalCallback(
71  DtAggregateCallbackFunction cb, void* userData);
72 
73 protected:
74 
77 
80 
82  virtual const DtList* dfltHandleList();
83 
86 
89  virtual DtReflectedAggregate* newReflectedAggregate(
90  DtHlaObject* obj) const;
91 
94  virtual void removeAndDelete(DtReflectedObject* object, const char* msg);
95 
97  virtual void removeAndDelete(
98  DtReflectedAggregate* aggregate, const char* msg = NULL);
99 
102  virtual void objectAdded(DtReflectedObject* obj);
103 
108  virtual void aggregateAdded(DtReflectedAggregate* ent);
109 
110 protected:
111 
113 };
114 
115 #endif
116 #endif
117 
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
class DtReflectedAggregateList:
Definition: reflectedAggregateListHLA.h:25
std::set< DtDDMRegionSP > DtDDMRegionSet
Definition: region13.h:34
class DtReflectedAggregate:
Definition: reflectedAggregateHLA.h:32
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
DtList is deprecated, please use std::list&lt;T&gt;.
Definition: vlList.h:71
class DtReflectedObject:
Definition: reflectedObjectHLA.h:36
bool mySmoothCapable
Definition: reflectedAggregateListHLA.h:112
virtual void removeAndDelete(DtReflectedObject *obj, const char *msg=nullptr)
Remove the remote object from the list if found and delete it.
virtual void objectAdded(DtReflectedObject *object)
Called from processDiscoverObject() after a remote object has been added to the list.
Instances of DtString are used to represent strings.
Definition: vlString.h:36
void(* DtAggregateCallbackFunction)(DtReflectedAggregate *obj, void *userData)
Definition: reflectedAggregateHLA.h:23
This file provides a declaration of the class DtReflectedAggregate.

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)