comparison plugin/transform/FeatureExtractionModelTransformer.cpp @ 344:277006c62fea

* Fix idiotic bug in previous commit
author Chris Cannam
date Wed, 28 Nov 2007 13:20:40 +0000
parents 46519c04321b
children d7c41483af8f 94fc0591ea43
comparison
equal deleted inserted replaced
343:46519c04321b 344:277006c62fea
33 33
34 #include <iostream> 34 #include <iostream>
35 35
36 FeatureExtractionModelTransformer::FeatureExtractionModelTransformer(Model *inputModel, 36 FeatureExtractionModelTransformer::FeatureExtractionModelTransformer(Model *inputModel,
37 QString pluginId, 37 QString pluginId,
38 ExecutionContext context, 38 const ExecutionContext &context,
39 QString configurationXml, 39 QString configurationXml,
40 QString outputName) : 40 QString outputName) :
41 PluginTransformer(inputModel, context), 41 PluginTransformer(inputModel, context),
42 m_plugin(0), 42 m_plugin(0),
43 m_descriptor(0), 43 m_descriptor(0),
60 std::cerr << "FeatureExtractionModelTransformer: Failed to instantiate plugin \"" 60 std::cerr << "FeatureExtractionModelTransformer: Failed to instantiate plugin \""
61 << pluginId.toStdString() << "\"" << std::endl; 61 << pluginId.toStdString() << "\"" << std::endl;
62 return; 62 return;
63 } 63 }
64 64
65 context.makeConsistentWithPlugin(m_plugin); 65 m_context.makeConsistentWithPlugin(m_plugin);
66 66
67 if (configurationXml != "") { 67 if (configurationXml != "") {
68 PluginXml(m_plugin).setParametersFromXml(configurationXml); 68 PluginXml(m_plugin).setParametersFromXml(configurationXml);
69 } 69 }
70 70