VR-Link API Documentation for HLA 1.3
 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-2010 VT MAK
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 
45  virtual ~DtReflectedAggregate();
46 
49  virtual DtAggregateStateRepository* aggregateStateRep() const;
50 
52  virtual DtAggregateStateRepository* asr() const;
53 
55  virtual DtReflectedAggregate* next() const;
56 
58  virtual DtReflectedAggregate* prev() const;
59 
62  virtual DtReflectedAggregate* wrapNext() const;
63 
66  virtual DtReflectedAggregate* wrapPrev() const;
67 
69  virtual void addPostUpdateCallback(
70  DtAggregateCallbackFunction cb, void* userData);
71  virtual void removePostUpdateCallback(
72  DtAggregateCallbackFunction cb, void* userData);
73 
74 public:
75 
77  static DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
78 
79 public:
80 
83 #if DtHLA_1516
84  virtual RTI::ObjectInstanceHandle aggregateObjectId() const;
85 #else
86  virtual RTI::ObjectHandle aggregateObjectId() const;
87 #endif
88 
89 protected:
90 
93 
96 
97 protected:
98 
99  static DtStateRepCreator theStateRepCreator;
100 };
101 
104 {
106 }
107 
110 {
112 }
113 
114 #endif
115 #endif
116 
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnHLA.h:58
#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:56
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:103
virtual DtAggregateStateRepository * asr() const
Synonym for aggregateStateRep().
Definition: reflectedAggregateHLA.h:109
DtStateRepository * myStateRep
Definition: reflectedObjectHLA.h:177
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:99

Document ID: Generated on Tue Feb 2 21:02:17 EST 2021 from SVN revision 223668
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)