VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtDynamicTerrainStateInterceptor.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2016 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
14 
15 #if 0
16 // temporary definitions to make intellisense work
17 #define DT_PROTOCOL_NAMESPACE vrvDIS
18 #define DtDIS 1
19 //#define DT_PROTOCOL_NAMESPACE vrvHla13
20 //#define DtHLA 1
21 #define DL_DLL_IGCONVRLINK __declspec ( dllexport )
22 #endif
23 
24 #ifndef DT_PROTOCOL_NAMESPACE
25 #error Namespace Protocol Macro DT_PROTOCOL_NAMESPACE not defined.
26 #endif
27 
29 
30 namespace makVrv
31 {
32  namespace DT_PROTOCOL_NAMESPACE
33  {
34  class DtVrlinkConnection;
35  class DtDynamicTerrainStateListener;
36 
41  {
42  public:
43 
46 
47  private:
49  //\throws DtCorrutedState this class is not copyable.
51 
53  //\throws DtCorrutedState this class is not copyable.
55 
56  public:
59 
61  virtual void setListener(DtDynamicTerrainStateListener* listener);
62 
64 
65 
69  virtual void setGeometryAndData(const DtTerrainGeometryAndDataList& val);
70 
72  virtual void addGeometryAndDataEntry(const DtTerrainGeometryAndData& val);
73 
75  virtual void setGeometryAndDataEntry(unsigned index, const DtTerrainGeometryAndData& val);
76 
78  virtual void removeGeometryAndData(const DtTerrainGeometry& geom, double tolerance);
79 
81  virtual void setCommonData(const DtKeyValuePairList& val);
82 
84  virtual void addCommonData(const DtKeyValuePair& data);
85 
87  virtual void removeCommonData(const DtString& key);
88 
90 
91  public:
93  static DtDynamicTerrainStateRepository* create();
94 
95  protected:
97  virtual void processNewGeometryAndData( int index, const DtTerrainGeometryAndData& geomAndData );
98 
101  virtual void processChangedGeometryAndData( int index,
102  const DtTerrainGeometryAndData& oldGeomAndData,
103  const DtTerrainGeometryAndData& newGeomAndData );
104 
105  protected:
107  };
108  }
109 }

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)