comparison transform/FeatureExtractionModelTransformer.h @ 1580:c01cbe41aeb5 fix-static-analysis

Use override throughout
author Chris Cannam
date Mon, 26 Nov 2018 13:48:45 +0000
parents 48e9f538e6e9
children ad5f892c0c4d
comparison
equal deleted inserted replaced
1579:232d6ddf257d 1580:c01cbe41aeb5
45 const Transforms &relatedTransforms); 45 const Transforms &relatedTransforms);
46 46
47 virtual ~FeatureExtractionModelTransformer(); 47 virtual ~FeatureExtractionModelTransformer();
48 48
49 // ModelTransformer method, retrieve the additional models 49 // ModelTransformer method, retrieve the additional models
50 Models getAdditionalOutputModels(); 50 Models getAdditionalOutputModels() override;
51 bool willHaveAdditionalOutputModels(); 51 bool willHaveAdditionalOutputModels() override;
52 52
53 protected: 53 protected:
54 bool initialise(); 54 bool initialise();
55 void deinitialise(); 55 void deinitialise();
56 56
57 virtual void run(); 57 void run() override;
58 58
59 Vamp::Plugin *m_plugin; 59 Vamp::Plugin *m_plugin;
60 std::vector<Vamp::Plugin::OutputDescriptor *> m_descriptors; // per transform 60 std::vector<Vamp::Plugin::OutputDescriptor *> m_descriptors; // per transform
61 std::vector<int> m_fixedRateFeatureNos; // to assign times to FixedSampleRate features 61 std::vector<int> m_fixedRateFeatureNos; // to assign times to FixedSampleRate features
62 std::vector<int> m_outputNos; // list of plugin output indexes required for this group of transforms 62 std::vector<int> m_outputNos; // list of plugin output indexes required for this group of transforms
78 float **buffer); 78 float **buffer);
79 79
80 bool m_haveOutputs; 80 bool m_haveOutputs;
81 QMutex m_outputMutex; 81 QMutex m_outputMutex;
82 QWaitCondition m_outputsCondition; 82 QWaitCondition m_outputsCondition;
83 void awaitOutputModels(); 83 void awaitOutputModels() override;
84 84
85 // just casts: 85 // just casts:
86 86
87 DenseTimeValueModel *getConformingInput(); 87 DenseTimeValueModel *getConformingInput();
88 88