VR-Link API Documentation for HLA 4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
reflectedAggregateHLA.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 DtReflectedAggregate_H_
8 #define DtReflectedAggregate_H_
9 
10 #if DtHLA
11 
13 #include "reflectedObjectHLA.h"
14 
19 
24  DtReflectedAggregate* obj, void* userData);
25 
31 
33 {
34 public:
35 
37  typedef DtAggregateStateRepository* (*DtStateRepCreator)();
38 
39 public:
40 
43 
46 
48  virtual ~DtReflectedAggregate();
49 
52  virtual DtAggregateStateRepository* aggregateStateRep() const;
53 
55  virtual DtAggregateStateRepository* asr() const;
56 
58  virtual DtReflectedAggregate* next() const;
59 
61  virtual DtReflectedAggregate* prev() const;
62 
65  virtual DtReflectedAggregate* wrapNext() const;
66 
69  virtual DtReflectedAggregate* wrapPrev() const;
70 
72  virtual void addPostUpdateCallback(
73  DtAggregateCallbackFunction cb, void* userData);
74  virtual void removePostUpdateCallback(
75  DtAggregateCallbackFunction cb, void* userData);
76 
77 public:
78 
80  static DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
82  static DtStateRepCreator stateRepCreator(void);
83 
84 public:
85 
88 #if DtHLA_1516
89  virtual RTI::ObjectInstanceHandle aggregateObjectId() const;
90 #else
91  virtual RTI::ObjectHandle aggregateObjectId() const;
92 #endif
93 
94 protected:
95 
98 
101 
102 protected:
103 
104  static DtStateRepCreator theStateRepCreator;
105 };
106 
109 {
111 }
112 
115 {
117 }
118 
119 #endif
120 #endif
121 
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnHLA.h:61
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
DtReflectedObject & operator=(const DtReflectedObject &orig)
assignment operator – Not Implemented
class DtReflectedAggregate:
Definition: reflectedAggregateHLA.h:32
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
virtual DtAggregateStateRepository * aggregateStateRep() const
Returns a pointer to the AggregateStateRepository - through which you can inspect current state infor...
Definition: reflectedAggregateHLA.h:108
virtual DtAggregateStateRepository * asr() const
Synonym for aggregateStateRep().
Definition: reflectedAggregateHLA.h:114
DtStateRepository * myStateRep
Definition: reflectedObjectHLA.h:180
This file provides a declaration of the class DtAggregateStateRepository.
void(* DtAggregateCallbackFunction)(DtReflectedAggregate *obj, void *userData)
Definition: reflectedAggregateHLA.h:23
A protocol independent representation of an aggregate.
Definition: aggregateStateRepository.h:29
This file provides a declaration of the class DtReflectedObject.
static DtStateRepCreator theStateRepCreator
Definition: reflectedAggregateHLA.h:104

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)