6 #ifndef SWIFT_MISC_AVIATION_AIRCRAFTLIGHTS_H
7 #define SWIFT_MISC_AVIATION_AIRCRAFTLIGHTS_H
19 namespace swift::misc::aviation
28 IndexIsNull = CPropertyIndexRef::GlobalIndexINullable,
29 IndexStrobe = CPropertyIndexRef::GlobalIndexCAircraftLights,
46 CAircraftLights(
bool strobeOn,
bool landingOn,
bool taxiOn,
bool beaconOn,
bool navOn,
bool logoOn);
49 CAircraftLights(
bool strobeOn,
bool landingOn,
bool taxiOn,
bool beaconOn,
bool navOn,
bool logoOn,
50 bool recognition,
bool cabin);
116 QString convertToQString(
bool i18n =
false)
const;
131 bool m_isNull =
false;
132 bool m_strobeOn =
false;
133 bool m_landingOn =
false;
134 bool m_taxiOn =
false;
135 bool m_beaconOn =
false;
136 bool m_navOn =
false;
137 bool m_logoOn =
false;
138 bool m_recognition =
false;
139 bool m_cabin =
false;
Non-owning reference to a CPropertyIndex with a subset of its features.
Mix of the most commonly used mixin classes.
Value object encapsulating information about aircraft's lights.
void setStrobeOn(bool on)
Set strobe lights.
bool isRecognitionOn() const
Recognition lights on?
void setLogoOn(bool on)
Set logo lights.
CAircraftLights()=default
Default constructor.
bool isCabinOn() const
Cabin lights on?
void setBeaconOn(bool on)
Set beacon lights.
void setNull(bool null)
Null?
bool isLandingOn() const
Landing lights on?
bool isBeaconOn() const
Beacon lights on?
void setTaxiOn(bool on)
Set taxi lights.
void setCabinOn(bool on)
Set cabin lights.
void setNavOn(bool on)
Set nav lights.
CAircraftLights(std::nullptr_t)
Null constructor.
bool isNavOn() const
Nac lights on?
ColumnIndex
Properties by index.
bool isLogoOn() const
Logo lights on?
bool isTaxiOn() const
Taxi lights on?
void setRecognitionOn(bool on)
Set recognition lights.
bool isStrobeOn() const
Strobes lights on?
void setLandingOn(bool on)
Set landing lights.
#define SWIFT_MISC_EXPORT
Export a class or function from the library.
#define SWIFT_DECLARE_VALUEOBJECT_MIXINS(Namespace, Class)
Explicit template declaration of mixins for a CValueObject subclass to be placed near the top of the ...