Mercurial > hg > svcore
comparison plugin/transform/RealTimeEffectModelTransformer.h @ 383:94fc0591ea43 1.2-stable
* merge from trunk (1.2 ended up being tracked from trunk, but we may want
this branch for fixes later)
author | Chris Cannam |
---|---|
date | Wed, 27 Feb 2008 10:32:45 +0000 |
parents | f620ce48c950 |
children |
comparison
equal
deleted
inserted
replaced
349:f39d33b0b265 | 383:94fc0591ea43 |
---|---|
14 */ | 14 */ |
15 | 15 |
16 #ifndef _REAL_TIME_PLUGIN_TRANSFORMER_H_ | 16 #ifndef _REAL_TIME_PLUGIN_TRANSFORMER_H_ |
17 #define _REAL_TIME_PLUGIN_TRANSFORMER_H_ | 17 #define _REAL_TIME_PLUGIN_TRANSFORMER_H_ |
18 | 18 |
19 #include "PluginTransformer.h" | 19 #include "ModelTransformer.h" |
20 #include "plugin/RealTimePluginInstance.h" | 20 #include "plugin/RealTimePluginInstance.h" |
21 | 21 |
22 class DenseTimeValueModel; | 22 class DenseTimeValueModel; |
23 | 23 |
24 class RealTimeEffectModelTransformer : public PluginTransformer | 24 class RealTimeEffectModelTransformer : public ModelTransformer |
25 { | 25 { |
26 public: | 26 public: |
27 RealTimeEffectModelTransformer(Model *inputModel, | 27 RealTimeEffectModelTransformer(Input input, |
28 QString plugin, | 28 const Transform &transform); |
29 const ExecutionContext &context, | |
30 QString configurationXml = "", | |
31 QString units = "", | |
32 int output = -1); // -1 -> audio, 0+ -> data | |
33 virtual ~RealTimeEffectModelTransformer(); | 29 virtual ~RealTimeEffectModelTransformer(); |
34 | 30 |
35 protected: | 31 protected: |
36 virtual void run(); | 32 virtual void run(); |
37 | 33 |
38 QString m_pluginId; | |
39 QString m_configurationXml; | |
40 QString m_units; | 34 QString m_units; |
41 | |
42 RealTimePluginInstance *m_plugin; | 35 RealTimePluginInstance *m_plugin; |
43 int m_outputNo; | 36 int m_outputNo; |
44 | 37 |
45 // just casts | 38 // just casts |
46 DenseTimeValueModel *getInput(); | 39 DenseTimeValueModel *getConformingInput(); |
47 }; | 40 }; |
48 | 41 |
49 #endif | 42 #endif |
50 | 43 |