VR-Link API Documentation for DIS
dRefGridData.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 
6 
9 
10 #ifndef DtReflectedGriddedData_H_
11 #define DtReflectedGriddedData_H_
12 
13 #if DtDIS
14 
15 #include "dReflectedObj.h"
16 #include "dGridDataDec.h"
17 #include "gridDataPdu.h"
18 #include "globalObjDes.h"
19 #include "objIdHashKey.h"
20 
24 
30  DtReflectedGriddedData* obj, void* userData);
31 
36 {
37 public:
38 
40  typedef DtGriddedDataRepository* (*DtStateRepCreator)();
41 
42 public:
43 
46  DtExerciseConn* conn,
47  const DtEntityIdentifier& id,
48  const DtEntityType& type);
49 
51  virtual ~DtReflectedGriddedData();
52 
55  virtual DtGriddedDataRepository* griddedDataStateRep() const;
56 
58  virtual DtGriddedDataRepository* gdsr() const;
59 
61  virtual DtStateRepository* stateRep() const;
62 
65  virtual DtGriddedDataDecoder* decoder();
66 
68  virtual const DtEntityIdentifier& entityId() const;
69 
71  virtual const DtObjectId& id() const;
72 
74  virtual const DtObjectId& localId() const;
75 
78  virtual const DtGlobalObjectDesignator& globalId() const;
79 
82  virtual void processStateMessage(const DtStateMsg& msg);
83 
86  virtual DtReflectedGriddedData* next() const;
87  virtual DtReflectedGriddedData* prev() const;
88 
90  virtual DtReflectedGriddedData* wrapNext() const;
91  virtual DtReflectedGriddedData* wrapPrev() const;
92 
94  virtual void addPostUpdateCallback(
95  DtGriddedDataCallbackFunction cb, void* userData);
96  virtual void removePostUpdateCallback(
97  DtGriddedDataCallbackFunction cb, void* userData);
98 
100  virtual const DtBaseHashKey& hashKey() const;
101 
103  virtual DtString idString() const;
104 
107  virtual void processGriddedData(const DtGriddedDataPdu& pdu);
108 
109 public:
110 
112  static void setStateRepCreator(DtStateRepCreator creator);
113  static DtStateRepCreator stateRepCreator(void);
114 
115 protected:
116 
117  static DtStateRepCreator theStateRepCreator;
118 
119 protected:
120 
123 
126 
127 protected:
128 
133 };
134 
135 #endif
136 #endif
137 

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)