comparison transform/RealTimePluginTransform.h @ 27:61259228d029

* More to do with passing around step/blocksize etc from plugin dialog to plugins. Still some puzzling unresolved details.
author Chris Cannam
date Tue, 19 Sep 2006 14:37:06 +0000
parents d88d117e0c34
children 8ad306d8a568
comparison
equal deleted inserted replaced
26:d88d117e0c34 27:61259228d029
14 */ 14 */
15 15
16 #ifndef _REAL_TIME_PLUGIN_TRANSFORM_H_ 16 #ifndef _REAL_TIME_PLUGIN_TRANSFORM_H_
17 #define _REAL_TIME_PLUGIN_TRANSFORM_H_ 17 #define _REAL_TIME_PLUGIN_TRANSFORM_H_
18 18
19 #include "Transform.h" 19 #include "PluginTransform.h"
20 #include "plugin/RealTimePluginInstance.h" 20 #include "plugin/RealTimePluginInstance.h"
21 21
22 class DenseTimeValueModel; 22 class DenseTimeValueModel;
23 23
24 class RealTimePluginTransform : public Transform 24 class RealTimePluginTransform : public PluginTransform
25 { 25 {
26 public: 26 public:
27 RealTimePluginTransform(Model *inputModel, 27 RealTimePluginTransform(Model *inputModel,
28 QString plugin, 28 QString plugin,
29 int channel, 29 const ExecutionContext &context,
30 QString configurationXml = "", 30 QString configurationXml = "",
31 QString units = "", 31 QString units = "",
32 int output = 0, 32 int output = 0);
33 size_t blockSize = 0);
34 virtual ~RealTimePluginTransform(); 33 virtual ~RealTimePluginTransform();
35 34
36 protected: 35 protected:
37 virtual void run(); 36 virtual void run();
38 37
39 RealTimePluginInstance *m_plugin; 38 RealTimePluginInstance *m_plugin;
40 int m_channel;
41 int m_outputNo; 39 int m_outputNo;
42 size_t m_blockSize;
43 40
44 // just casts 41 // just casts
45 DenseTimeValueModel *getInput(); 42 DenseTimeValueModel *getInput();
46 }; 43 };
47 44