VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
reflectedGriddedDataHLA.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 DtReflectedGriddedData_H_
8 #define DtReflectedGriddedData_H_
9 
10 #if DtHLA
11 
12 #include "griddedDataRepository.h"
13 #include "reflectedObjectHLA.h"
14 #include <vlutil/vlPrint.h>
15 
20 
24 typedef void (*DtGriddedDataCallbackFunction)(
25  DtReflectedGriddedData* obj, void* userData);
26 
31 
33 {
34 public:
35 
37  typedef DtGriddedDataRepository* (*DtStateRepCreator)();
38 
39 public:
40 
42  DtReflectedGriddedData(DtHlaObject* obj, DtExerciseConn* conn);
43 
45  virtual ~DtReflectedGriddedData();
46 
48  virtual DtGriddedDataRepository* gridDataRep() const;
49 
51  virtual DtGriddedDataRepository* gdsr() const;
52 
54  virtual DtReflectedGriddedData* next() const;
55 
57  virtual DtReflectedGriddedData* prev() const;
58 
61  virtual DtReflectedGriddedData* wrapNext() const;
62 
65  virtual DtReflectedGriddedData* wrapPrev() const;
66 
68  virtual void addPostUpdateCallback(
69  DtGriddedDataCallbackFunction cb, void* userData);
70 
71  virtual void removePostUpdateCallback(
72  DtGriddedDataCallbackFunction cb, void* userData);
73 
74 public:
75 
77  static DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
78 
79 protected:
80 
83 
86 
87 protected:
88 
89  static DtStateRepCreator theStateRepCreator;
90 };
91 
92 inline DtGriddedDataRepository* DtReflectedGriddedData::gridDataRep() const
93 {
95 }
96 
98 {
100 }
101 
102 #endif //DtHLA
103 #endif //DtReflectedGriddedData_H_
104 
void * next() const
Return next (previous) elements on the list, or NULL if hit the end (beginning) of the list...
Definition: vlList.h:272
void(* DtGriddedDataCallbackFunction)(DtReflectedGriddedData *obj, void *userData)
Definition: reflectedGriddedDataDIS.h:29
Instances of DtExerciseConn are used to provide an application&#39;s interface or connection to the netwo...
Definition: exerciseConnDIS.h:61
DtGriddedDataRepository * myStateRep
Definition: reflectedGriddedDataDIS.h:130
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
Functions in vlPrint.h provide an error and print facility for vrlink.
DtReflectedObject & operator=(const DtReflectedObject &orig)
assignment operator – not implemented
Instances of DtReflectedObject are used to represent a simulation entity reflected across a network (...
Definition: reflectedObjectDIS.h:34
virtual DtGriddedDataRepository * gdsr() const
Synonym for griddedDataStateRep.
void * prev() const
Definition: vlList.h:277
void * wrapNext() const
Return next (previous) elements on the list, but wrap to the beginning (end) of the list when you hit...
Definition: vlList.h:282
Instances of DtReflectedGriddedData represent Gridded Data objects simulated by remote applications...
Definition: reflectedGriddedDataDIS.h:35
void * wrapPrev() const
Definition: vlList.h:288
Instances of DtGriddedDataRepository are used to communicate environmental data defined on a grid...
Definition: griddedDataRepository.h:23

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)