swift
interpolationsetuplist.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (C) 2018 swift Project Community / Contributors
2 // SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-swift-pilot-client-1
3 
5 
6 #ifndef SWIFT_MISC_SIMULATION_INTERPOLATION_INTERPOLATIONSETUPLIST_H
7 #define SWIFT_MISC_SIMULATION_INTERPOLATION_INTERPOLATIONSETUPLIST_H
8 
10 #include "misc/collection.h"
11 #include "misc/sequence.h"
13 #include "misc/swiftmiscexport.h"
14 
15 SWIFT_DECLARE_SEQUENCE_MIXINS(swift::misc::simulation, CInterpolationAndRenderingSetupPerCallsign,
16  CInterpolationSetupList)
17 
18 namespace swift::misc::simulation
19 {
21  class SWIFT_MISC_EXPORT CInterpolationSetupList :
22  public CSequence<CInterpolationAndRenderingSetupPerCallsign>,
23  public aviation::ICallsignObjectList<CInterpolationAndRenderingSetupPerCallsign, CInterpolationSetupList>,
24  public mixin::MetaType<CInterpolationSetupList>
25  {
26  public:
27  SWIFT_MISC_DECLARE_USING_MIXIN_METATYPE(CInterpolationSetupList)
29 
31  CInterpolationSetupList();
32 
34  CInterpolationSetupList(const CInterpolationAndRenderingSetupPerCallsign &setup);
35 
37  CInterpolationSetupList(const CSequence<CInterpolationAndRenderingSetupPerCallsign> &other);
38  };
39 } // namespace swift::misc::simulation
40 
41 Q_DECLARE_METATYPE(swift::misc::simulation::CInterpolationSetupList)
43 
44 #endif // SWIFT_MISC_SIMULATION_INTERPOLATION_INTERPOLATIONSETUPLIST_H
Generic ordered container with value semantics.
Definition: collection.h:107
CSequence()=default
Default constructor.
#define SWIFT_MISC_DECLARE_USING_MIXIN_METATYPE(DERIVED)
When a derived class and a base class both inherit from mixin::MetaType, the derived class uses this ...
#define SWIFT_DECLARE_SEQUENCE_MIXINS(Namespace, T, List)
Explicit template declaration of mixins for a CSequence subclass to be placed near the top of the hea...
Definition: sequence.h:62
#define SWIFT_MISC_EXPORT
Export a class or function from the library.