Mercurial > hg > svcore
comparison transform/ModelTransformerFactory.cpp @ 686:b4a8d8221eaf debug-output
Remove most toStdString calls (no longer needed, with debug header)
author | Chris Cannam |
---|---|
date | Thu, 12 May 2011 17:31:24 +0100 |
parents | 12578237b99c |
children | 06f13a3b9e9e |
comparison
equal
deleted
inserted
replaced
685:99222d4bfc78 | 686:b4a8d8221eaf |
---|---|
85 QString id = transform.getPluginIdentifier(); | 85 QString id = transform.getPluginIdentifier(); |
86 | 86 |
87 bool ok = true; | 87 bool ok = true; |
88 QString configurationXml = m_lastConfigurations[transform.getIdentifier()]; | 88 QString configurationXml = m_lastConfigurations[transform.getIdentifier()]; |
89 | 89 |
90 std::cerr << "last configuration: " << configurationXml.toStdString() << std::endl; | 90 std::cerr << "last configuration: " << configurationXml << std::endl; |
91 | 91 |
92 Vamp::PluginBase *plugin = 0; | 92 Vamp::PluginBase *plugin = 0; |
93 | 93 |
94 if (FeatureExtractionPluginFactory::instanceFor(id)) { | 94 if (FeatureExtractionPluginFactory::instanceFor(id)) { |
95 | 95 |
180 transformer = | 180 transformer = |
181 new RealTimeEffectModelTransformer(input, transform); | 181 new RealTimeEffectModelTransformer(input, transform); |
182 | 182 |
183 } else { | 183 } else { |
184 std::cerr << "ModelTransformerFactory::createTransformer: Unknown transform \"" | 184 std::cerr << "ModelTransformerFactory::createTransformer: Unknown transform \"" |
185 << transform.getIdentifier().toStdString() << "\"" << std::endl; | 185 << transform.getIdentifier() << "\"" << std::endl; |
186 return transformer; | 186 return transformer; |
187 } | 187 } |
188 | 188 |
189 if (transformer) transformer->setObjectName(transform.getIdentifier()); | 189 if (transformer) transformer->setObjectName(transform.getIdentifier()); |
190 return transformer; | 190 return transformer; |