comparison transform/TransformFactory.h @ 1227:5d886b7b4029 piper

Error reporting for Piper server startup
author Chris Cannam
date Fri, 21 Oct 2016 16:24:30 +0100
parents 6b1af0f05f06
children 9c14dee72329
comparison
equal deleted inserted replaced
1226:91ff08313375 1227:5d886b7b4029
194 * descriptions of transforms is not required. 194 * descriptions of transforms is not required.
195 */ 195 */
196 void setParametersFromPluginConfigurationXml(Transform &transform, 196 void setParametersFromPluginConfigurationXml(Transform &transform,
197 QString xml); 197 QString xml);
198 198
199 QString getStartupFailureReport() const {
200 return m_errorString;
201 }
202
199 protected: 203 protected:
200 typedef std::map<TransformId, TransformDescription> TransformDescriptionMap; 204 typedef std::map<TransformId, TransformDescription> TransformDescriptionMap;
201 205
202 TransformDescriptionMap m_transforms; 206 TransformDescriptionMap m_transforms;
203 bool m_transformsPopulated; 207 bool m_transformsPopulated;
204 208
205 TransformDescriptionMap m_uninstalledTransforms; 209 TransformDescriptionMap m_uninstalledTransforms;
206 bool m_uninstalledTransformsPopulated; 210 bool m_uninstalledTransformsPopulated;
207 211
212 QString m_errorString;
213
208 void populateTransforms(); 214 void populateTransforms();
209 void populateUninstalledTransforms(); 215 void populateUninstalledTransforms();
210 void populateFeatureExtractionPlugins(TransformDescriptionMap &); 216 void populateFeatureExtractionPlugins(TransformDescriptionMap &);
211 void populateRealTimePlugins(TransformDescriptionMap &); 217 void populateRealTimePlugins(TransformDescriptionMap &);
212 218