VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
reflectedDynamicTerrainHLA.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2017 VT MAK
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
12 #if DtHLA
13 
16 #include <vl/reflectedObjectHLA.h>
17 
19 
24  DtReflectedDynamicTerrain* obj, void* userData);
25 
31 {
32 public:
35  typedef DtDynamicTerrainStateRepository* (*DtStateRepCreator)();
36 
37 public:
39  DtReflectedDynamicTerrain(DtHlaObject* obj, DtExerciseConn* exConn);
40 
42  virtual ~DtReflectedDynamicTerrain();
43 
45  virtual DtDynamicTerrainStateRepository* dynamicTerrainStateRep() const;
46 
48  virtual DtDynamicTerrainStateRepository* dsr() const;
49 
52  virtual DtReflectedDynamicTerrain* next() const;
53 
56  virtual DtReflectedDynamicTerrain* prev() const;
57 
60  virtual DtReflectedDynamicTerrain* wrapNext() const;
61 
64  virtual DtReflectedDynamicTerrain* wrapPrev() const;
65 
68  virtual void addPostUpdateCallback(
69  DtDynamicTerrainCallbackFunction cb, void* userData);
70 
73  virtual void removePostUpdateCallback(
74  DtDynamicTerrainCallbackFunction cb, void* userData);
75 
76 public:
78  static DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
79 
80 protected:
83 
86 
87 protected:
89  static DtStateRepCreator theStateRepCreator;
90 };
91 
93 {
95 }
96 
98 {
100 }
101 
102 #endif // DtHLA
Contains the DtDynamicTerrainStateRepository class declaration.
void(* DtDynamicTerrainCallbackFunction)(DtReflectedDynamicTerrain *obj, void *userData)
Definition: reflectedDynamicTerrainDIS.h:28
Instances of DtDynamicTerrainStateRepository are used to store state data for DynamicTerrain objects...
Definition: dynamicTerrainStateRepository.h:31
virtual DtDynamicTerrainStateRepository * dsr() const
Synonym for dynamicTerrainStateRep().
Definition: reflectedDynamicTerrainHLA.h:97
Instances of DtReflectedDynamicTerrain are used to represent a simulated HLAobjectRoot.DynamicTerrain object reflected across a network.
Definition: reflectedDynamicTerrainDIS.h:32
virtual DtDynamicTerrainStateRepository * dynamicTerrainStateRep() const
Returns a pointer to the StateRepository - through which you can inspect current state information...
Definition: reflectedDynamicTerrainHLA.h:92
DtDynamicTerrainStateRepository * myStateRep
Definition: reflectedDynamicTerrainDIS.h:117
#define DT_DLL_vrfExtObjects
Definition: dllExport.h:23

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)