VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
radarCoverageSettingsRecord.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2018 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
11 
12 #pragma once
13 
14 #include <vrfGuiCore/vrfGuiCore.h>
15 
16 #include <boost/serialization/access.hpp>
17 #include <boost/serialization/nvp.hpp>
18 #include <boost/serialization/list.hpp>
19 #include <boost/serialization/map.hpp>
20 #include <boost/serialization/vector.hpp>
21 #include <boost/serialization/string.hpp>
22 
23 namespace makVrf
24 {
26  {
27  public:
29  {
30  None = 0,
31  ShowLabels = 0x00000001
32  };
33 
34  public:
37 
39 
40  public:
42  virtual void setAlpha(double d);
43  virtual double alpha() const;
44 
46  virtual void setWaitingForServerColor(unsigned int);
47  virtual unsigned int waitingForServerColor() const;
48  virtual void waitingForServerColorOSG(float& r, float& g, float& b, float& a) const;
49 
52  virtual void setKeyBackgroundColor(unsigned int);
53  virtual unsigned int keyBackgroundColor() const;
54  virtual void keyBackgroundColorOSG(float& r, float& g, float& b, float& a) const;
56 
59  virtual void setKeyFontColor(unsigned int);
60  virtual unsigned int keyFontColor() const;
61  virtual void keyFontColorOSG(float& r, float& g, float& b, float& a) const;
63 
65  virtual void setShowLabels(bool);
66  virtual bool showLabels() const;
67 
68  virtual void setFlag(int flag, bool set);
69  virtual RadarCoverageDisplayOptions displayOptions() const;
70 
71  bool operator==(const DtRadarCoverageSettingsRecord&) const;
72  bool operator!=(const DtRadarCoverageSettingsRecord&) const;
73 
75 
76  protected:
77  friend class boost::serialization::access;
78 
82  template<class Archive>
83  void serialize(Archive & ar, const unsigned int version)
84  {
85  ar & BOOST_SERIALIZATION_NVP(myDisplayOptions);
86  }
87 
88  protected:
90  unsigned int myKeyBackgroundColor;
91  unsigned int myKeyFontColor;
93  double myAlpha;
94  };
95 }
96 
BOOST_CLASS_VERSION(makArchives::DtDiGuySettingsRecord, 3)
RadarCoverageDisplayOptions
Definition: radarCoverageSettingsRecord.h:28
DT_DLL_VRFGUICORE bool operator==(const std::vector< makArchives::DtEnvironmentRecord::DtElevationalConfigurationRecord > &lhs, const std::vector< makArchives::DtEnvironmentRecord::DtElevationalConfigurationRecord > &rhs)
unsigned int myKeyBackgroundColor
Definition: radarCoverageSettingsRecord.h:90
unsigned int myWaitingForServerColor
Definition: radarCoverageSettingsRecord.h:92
#define DT_DLL_VRFGUICORE
Contains DLL export macros.
Definition: vrfGuiCore.h:25
Definition: radarCoverageSettingsRecord.h:25
double myAlpha
Definition: radarCoverageSettingsRecord.h:93
unsigned int myKeyFontColor
Definition: radarCoverageSettingsRecord.h:91
DT_DLL_VRFGUICORE bool operator!=(const std::vector< makArchives::DtEnvironmentRecord::DtElevationalConfigurationRecord > &lhs, const std::vector< makArchives::DtEnvironmentRecord::DtElevationalConfigurationRecord > &rhs)
RadarCoverageDisplayOptions myDisplayOptions
Definition: radarCoverageSettingsRecord.h:89
void serialize(Archive &ar, const unsigned int version)
When the class Archive corresponds to an output archive, the &amp; operator is defined similar to &lt;&lt;...
Definition: radarCoverageSettingsRecord.h:83

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)