VR-Link API Documentation for HLA 1516
tReflectedObj.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 tReflectedObj_H_
8 #define tReflectedObj_H_
9 
10 #if DtTENA
11 
12 
13 #include "refObjCbInfo.h"
14 #include "hostStructs.h"
15 
16 #include <vlutil/vlTime.h>
17 #include <vlutil/vlString.h>
18 #include <vlutil/vlList.h>
19 
23 
26 
27 
33 
34 {
35 public:
36 
38  typedef DtStateRepository* (*DtBaseStateRepCreator)();
39 
40 public:
41 
44  DtStateRepository *stateRep);
45 
48  DtBaseStateRepCreator creator);
49 
51  virtual ~DtReflectedObject();
52 
55  virtual DtStateRepository* stateRep() const;
56 
58  virtual DtReflectedObject* nextObj() const;
59 
61  virtual DtReflectedObject* prevObj() const;
62 
65  virtual DtReflectedObject* wrapNextObj() const;
66 
69  virtual DtReflectedObject* wrapPrevObj() const;
70 
72  virtual DtStateRepository* sr() const;
73 
75  virtual const DtGlobalObjectDesignator& globalId() const = 0;
76 
79  virtual void baseAddPostUpdateCallback(
80  DtReflectedObjectCallbackFunction cb, void* userData);
81  virtual void baseRemovePostUpdateCallback(
82  DtReflectedObjectCallbackFunction cb, void* userData);
83 
85  virtual void processPostUpdateCallbacks();
86 
88  virtual void printDataToStream(std::ostream& str) const = 0;
89 
90 protected:
91 
92  DtExerciseConn *myExConn;
93  DtIntrusiveList myStateUpdateCallbacks;
94  DtStateRepository *myStateRep;
95 
96 protected:
97 
100 
102  DtReflectedObject& operator=(const DtReflectedObject& orig);
103 };
104 
105 DT_DLL_VL std::ostream & operator << (std::ostream &str, const DtReflectedObject &sr);
106 
111 {
112  return myStateRep;
113 }
114 
116 {
117  return myStateRep;
118 }
119 
121 {
123 }
124 
126 {
128 }
129 
131 {
133 }
134 
136 {
138 }
139 
140 
141 #endif
142 #endif
143 

Document ID: Generated on Wed Aug 14 15:35:11 EDT 2013 from SVN revision 130445
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)