56 virtual float commLineLifetime()
const;
57 virtual void setCommLineLifetime(
float lifetime );
59 virtual float squawkIndicatorLifetime()
const;
60 virtual void setSquawkIndicatorLifetime(
float lifetime );
62 virtual float commLineAnimationRate()
const;
63 virtual void setCommLineAnimationRate(
float rate );
65 virtual float squawkIndicatorAnimationRate()
const;
66 virtual void setSquawkIndicatorAnimationRate(
float rate );
68 virtual bool displayCommLines()
const;
69 virtual void setDisplayCommLines(
bool show );
71 virtual bool displaySquawkIndicators()
const;
72 virtual void setDisplaySquawkIndicators(
bool show );
74 virtual bool displayRadioCommunications()
const;
75 virtual void setDisplayRadioCommunications(
bool show );
77 virtual CommLineMode communicationLineRenderMode()
const;
78 virtual void setCommunicationLineRenderMode( CommLineMode mode );
80 virtual float greatCircleExaggerationAmount()
const;
81 virtual void setGreatCircleExaggerationAmount(
float amount );
83 virtual DefaultColoringMode defaultColoringMode()
const;
84 virtual void setDefaultColoringMode( DefaultColoringMode mode );
91 virtual bool showDefaultFrequency()
const;
92 virtual void setShowDefaultFrequency(
bool show );
94 virtual void getDefaultFrequencyColor(
float& r,
float& g,
float& b )
const;
95 virtual void setDefaultFrequencyColor(
float r,
float g,
float b );
102 virtual void getFrequencyRangeColor(
int rangeIndex,
float& r,
float& g,
float& b )
const;
103 virtual void setFrequencyRangeColor(
int rangeIndex,
float r,
float g,
float b );
105 virtual bool frequencyRangeVisibility(
int rangeIndex )
const;
106 virtual void setFrequencyRangeVisibility(
int rangeIndex,
bool show );
108 virtual void getFrequencyRange(
int rangeIndex,
float& lowFreq,
float& highFreq )
const;
109 virtual int addFrequencyRange(
float lowFreq,
float highFreq );
111 virtual int numFrequencyRanges()
const;
119 friend class boost::serialization::access;
124 template<
class Archive>
125 void serialize( Archive& ar,
unsigned int version )
127 ar & BOOST_SERIALIZATION_NVP( myDefaultFrequencyColor );
128 ar & BOOST_SERIALIZATION_NVP( myShowDefaultFrequencyFlag );
129 ar & BOOST_SERIALIZATION_NVP( myCommLineLifetime );
130 ar & BOOST_SERIALIZATION_NVP( mySquawkIndicatorLifetime );
131 ar & BOOST_SERIALIZATION_NVP( myCommLineAnimationRate );
132 ar & BOOST_SERIALIZATION_NVP( mySquawkIndicatorAnimationRate );
133 ar & BOOST_SERIALIZATION_NVP( myDisplaySquawkIndicatorsFlag );
134 ar & BOOST_SERIALIZATION_NVP( myDisplayCommLinesFlag );
135 ar & BOOST_SERIALIZATION_NVP( myDisplayRadioCommunicationsFlag );
136 ar & BOOST_SERIALIZATION_NVP( myCommunicationLineRenderMode );
137 ar & BOOST_SERIALIZATION_NVP( myDefaultColoringMode );
138 ar & BOOST_SERIALIZATION_NVP( myFrequencyVisibilities );
139 ar & BOOST_SERIALIZATION_NVP( myFrequencyColors );
140 ar & BOOST_SERIALIZATION_NVP( myFrequencyRanges );
144 ar & BOOST_SERIALIZATION_NVP( myGreatCircleExaggerationAmount );
155 : myLowFrequency( 0 )
156 , myHighFrequency( 0 )
160 : myLowFrequency( lowFreq )
161 , myHighFrequency( highFreq )
167 template<
class Archive>
168 void serialize( Archive& ar,
unsigned int version )
170 ar & BOOST_SERIALIZATION_NVP( myLowFrequency );
171 ar & BOOST_SERIALIZATION_NVP( myHighFrequency );
188 Color(
float red,
float green,
float blue )
197 template<
class Archive>
198 void serialize( Archive& ar,
unsigned int version )
200 ar & BOOST_SERIALIZATION_NVP( myRed );
201 ar & BOOST_SERIALIZATION_NVP( myGreen );
202 ar & BOOST_SERIALIZATION_NVP( myBlue );