VR-Forces 4.7 Class Documentation
 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 

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)