mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-15 01:05:35 +08:00
refs #140, changed CValueObject classes to tupel concept
Remarks: Changes looking like an added file result from the shift of namespace voice -> audio
This commit is contained in:
@@ -23,6 +23,7 @@ namespace BlackMisc
|
||||
template <class AVIO> class CModulator : public CAvionicsBase
|
||||
{
|
||||
private:
|
||||
BLACK_ENABLE_TUPLE_CONVERSION(CModulator)
|
||||
BlackMisc::PhysicalQuantities::CFrequency m_frequencyActive; //!< active frequency
|
||||
BlackMisc::PhysicalQuantities::CFrequency m_frequencyStandby; //!< standby frequency
|
||||
qint32 m_volumeInput; //!< volume input
|
||||
@@ -112,6 +113,11 @@ namespace BlackMisc
|
||||
*/
|
||||
bool operator !=(const CModulator &other) const;
|
||||
|
||||
/*!
|
||||
* \copydoc CValueObject::compareImpl(otherBase)
|
||||
*/
|
||||
virtual int compareImpl(const CValueObject &otherBase) const override;
|
||||
|
||||
/*!
|
||||
* \brief COM1
|
||||
* \return
|
||||
@@ -314,4 +320,6 @@ namespace BlackMisc
|
||||
} // namespace
|
||||
} // namespace
|
||||
|
||||
BLACK_DECLARE_TUPLE_CONVERSION_TEMPLATE(BlackMisc::Aviation::CModulator, (o.m_frequencyActive, o.m_frequencyStandby, o.m_volumeInput , o.m_volumeOutput, o.m_enabled))
|
||||
|
||||
#endif // guard
|
||||
|
||||
Reference in New Issue
Block a user