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);
79  static DtStateRepCreator stateRepCreator(void);
80 
81 public:
82 
85 #if DtHLA_1516
86  virtual RTI::ObjectInstanceHandle aggregateObjectId() const;
87 #else
88  virtual RTI::ObjectHandle aggregateObjectId() const;
89 #endif
90 
91 protected:
92 
95 
98 
99 protected:
100 
101  static DtStateRepCreator theStateRepCreator;
102 };
103 
106 {
108 }
109 
112 {
114 }
115 
116 #endif
117 #endif
118 
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnHLA.h:60
#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:105
virtual DtAggregateStateRepository * asr() const
Synonym for aggregateStateRep().
Definition: reflectedAggregateHLA.h:111
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:101

Document ID: Generated on Mon Apr 25 03:39:01 EDT 2022 from SVN revision 242502
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)