VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtEnvironmentStateInterceptorBase.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2025 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
11 #include <vrvVrl/vrvVrl.h>
12 
13 #ifndef DT_PROTOCOL_NAMESPACE
14 #error Namespace Protocol Macro DT_PROTOCOL_NAMESPACE not defined.
15 #endif
16 
17 #include <vrvCore/DtUniqueID.h>
18 
20 
21 #include <vl/geoReferenceVariant.h>
22 
23 #include <vlpi/metocEnums.h>
24 
25 #include <matrix/vlVector.h>
26 
27 #include <vector>
28 
29 class DtGeodeticCircle;
30 class DtGeodeticLocation;
31 class DtGeodeticPolygon;
32 class DtGeodeticQuadrangle;
33 class DtPrecipitationStruct;
34 class DtHazeStruct;
35 class DtCloudStruct;
36 
37 
38 namespace makVrv
39 {
40  class DtEnvironmentStatusManager;
41 
42  namespace DT_PROTOCOL_NAMESPACE
43  {
52  {
53  public:
54 
57 
60 
63 
66 
69  virtual void setEnvironmentStatusManager(DtEnvironmentStatusManager* mgr);
70 
73  virtual void setWeatherAreaId(DtUniqueID areaId);
74 
76  virtual DtUniqueID weatherAreaId() const;
77 
79  virtual bool processGeoReferenceLayer(const DtGeoReferenceVariant& val);
80 
81  protected:
84  virtual void initializeAll() = 0;
85 
87  virtual bool processCircle(const DtGeodeticCircle& circle);
88 
90  virtual bool processPolygon(const DtGeodeticPolygon& poly);
91 
93  virtual bool processQuadrangle(const DtGeodeticQuadrangle& quad);
94 
96  virtual bool getPolyGeoReferenceDimensions(const std::vector<DtGeodeticLocation>& vertices,
97  DtVector& center, DtVector& minBoundsLocation, DtVector& maxBoundsLocation) const;
98 
100  virtual bool getQuadGeoReferenceDimensions(const DtGeodeticLocation& minGeodetic,
101  const DtGeodeticLocation& maxGeodetic, DtVector& center,
102  DtVector& minBoundsLocation, DtVector& maxBoundsLocation) const;
103 
104  protected:
108  };
109  }
110 }
#define DT_PROTOCOL_NAMESPACE
Contains defines and includes header files for protocols.
Definition: vrfProtocol.h:13
#define DL_DLL_IGCONVRLINK
Definition: dllExport.h:26
The declaration of the makArchives::DtEnvironmentRecord class.
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
DtEnvironmentStateInterceptorBase is a common base for all of the state interceptors managing METOC e...
Definition: DtEnvironmentStateInterceptorBase.h:51
DtUniqueID myWeatherAreaId
Definition: DtEnvironmentStateInterceptorBase.h:107
Contains makVrv::DtUniqueID type.
Contains DLL export macros.
DtEnvironmentStatusManager manages all of the environment-related data (including date and time) that...
Definition: DtEnvironmentStatusManager.h:50
DtEnvironmentStatusManager * myEnvironmentStatusManager
Definition: DtEnvironmentStateInterceptorBase.h:105
DtUniqueID myLayerId
Definition: DtEnvironmentStateInterceptorBase.h:106

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)