mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 02:35:33 +08:00
* missing exports for new classes * public non virtual convertToQString, propertyByIndex * removed left-over of watchdog * virtual destructor for avionicsbase.h
This commit is contained in:
committed by
Mathew Sutcliffe
parent
e7f65ba0b6
commit
f18cfed087
@@ -88,10 +88,13 @@ namespace BlackMisc
|
||||
void setEnabled(bool enable) { this->m_enabled = enable;}
|
||||
|
||||
//! \copydoc CValueObject::propertyByIndex
|
||||
virtual CVariant propertyByIndex(const BlackMisc::CPropertyIndex &index) const override;
|
||||
CVariant propertyByIndex(const BlackMisc::CPropertyIndex &index) const;
|
||||
|
||||
//! \copydoc CValueObject::setPropertyByIndex
|
||||
virtual void setPropertyByIndex(const CVariant &variant, const BlackMisc::CPropertyIndex &index) override;
|
||||
void setPropertyByIndex(const CVariant &variant, const BlackMisc::CPropertyIndex &index);
|
||||
|
||||
//! \copydoc CValueObject::convertToQString
|
||||
QString convertToQString(bool i18n = false) const;
|
||||
|
||||
protected:
|
||||
//! Default constructor
|
||||
@@ -101,9 +104,6 @@ namespace BlackMisc
|
||||
CModulator(const QString &name, const BlackMisc::PhysicalQuantities::CFrequency &activeFrequency, const BlackMisc::PhysicalQuantities::CFrequency &standbyFrequency) :
|
||||
CModulator::CValueObject(name), m_frequencyActive(activeFrequency), m_frequencyStandby(standbyFrequency) {}
|
||||
|
||||
//! \copydoc CValueObject::convertToQString
|
||||
virtual QString convertToQString(bool i18n = false) const override;
|
||||
|
||||
//! Set active frequency
|
||||
void setFrequencyActiveKHz(double frequencyKHz)
|
||||
{
|
||||
@@ -207,16 +207,18 @@ namespace BlackMisc
|
||||
//! Easy access to derived class (CRTP template parameter)
|
||||
AVIO *derived() { return static_cast<AVIO *>(this); }
|
||||
|
||||
//! \cond PRIVATE
|
||||
class CComSystem;
|
||||
class CNavSystem;
|
||||
class CAdfSystem;
|
||||
|
||||
extern template class BLACKMISC_EXPORT_TEMPLATE CModulator<CComSystem>;
|
||||
extern template class BLACKMISC_EXPORT_TEMPLATE CModulator<CNavSystem>;
|
||||
extern template class BLACKMISC_EXPORT_TEMPLATE CModulator<CAdfSystem>;
|
||||
//! \endcond
|
||||
};
|
||||
|
||||
//! \cond PRIVATE
|
||||
class CComSystem;
|
||||
class CNavSystem;
|
||||
class CAdfSystem;
|
||||
|
||||
extern template class BLACKMISC_EXPORT_TEMPLATE CModulator<CComSystem>;
|
||||
extern template class BLACKMISC_EXPORT_TEMPLATE CModulator<CNavSystem>;
|
||||
extern template class BLACKMISC_EXPORT_TEMPLATE CModulator<CAdfSystem>;
|
||||
//! \endcond
|
||||
|
||||
} // namespace
|
||||
} // namespace
|
||||
|
||||
|
||||
Reference in New Issue
Block a user