/* Copyright (C) 2018 * swift project Community / Contributors * * This file is part of swift project. It is subject to the license terms in the LICENSE file found in the top-level * directory of this distribution. No part of swift project, including this file, may be copied, modified, propagated, * or distributed except according to the terms contained in the LICENSE file. */ //! \file #ifndef BLACKMISC_SIMULATION_INTERPOLATIONSETUPLIST_H #define BLACKMISC_SIMULATION_INTERPOLATIONSETUPLIST_H #include "blackmisc/simulation/interpolationrenderingsetup.h" #include "blackmisc/aviation/callsignobjectlist.h" #include "blackmisc/blackmiscexport.h" #include "blackmisc/collection.h" #include "blackmisc/sequence.h" BLACK_DECLARE_SEQUENCE_MIXINS(BlackMisc::Simulation, CInterpolationAndRenderingSetupPerCallsign, CInterpolationSetupList) namespace BlackMisc::Simulation { //! Value object encapsulating a list of setups. class BLACKMISC_EXPORT CInterpolationSetupList : public CSequence, public Aviation::ICallsignObjectList, public Mixin::MetaType { public: BLACKMISC_DECLARE_USING_MIXIN_METATYPE(CInterpolationSetupList) using CSequence::CSequence; //! Default constructor. CInterpolationSetupList(); //! Single object CInterpolationSetupList(const CInterpolationAndRenderingSetupPerCallsign &setup); //! Construct from a base class object. CInterpolationSetupList(const CSequence &other); }; } // namespace Q_DECLARE_METATYPE(BlackMisc::Simulation::CInterpolationSetupList) Q_DECLARE_METATYPE(BlackMisc::CCollection) #endif //guard