svcore
1.9
|
ModelTransformerFactory.h
Go to the documentation of this file.
ModelId transform(const Transform &transform, const ModelTransformer::Input &input, QString &message, AdditionalModelHandler *handler=0)
Return the output model resulting from applying the named transform to the given input model...
Definition: ModelTransformerFactory.cpp:207
ModelTransformer * createTransformer(const Transforms &transforms, const ModelTransformer::Input &input)
Definition: ModelTransformerFactory.cpp:184
std::set< ModelTransformer * > TransformerSet
Definition: ModelTransformerFactory.h:167
static ModelTransformerFactory * getInstance()
Definition: ModelTransformerFactory.cpp:50
virtual bool configure(ModelTransformer::Input &input, Transform &transform, std::shared_ptr< Vamp::PluginBase > plugin, ModelId &inputModel, AudioPlaySource *source, sv_frame_t startFrame, sv_frame_t duration, const QMap< QString, ModelId > &modelMap, QStringList candidateModelNames, QString defaultModelName)=0
Definition: ModelTransformer.h:44
static ModelTransformerFactory * m_instance
Definition: ModelTransformerFactory.h:173
ModelTransformer::Input getConfigurationForTransform(Transform &transform, std::vector< ModelId > candidateInputModels, ModelId defaultInputModel, AudioPlaySource *source=0, sv_frame_t startFrame=0, sv_frame_t duration=0, UserConfigurator *configurator=0)
Fill out the configuration for the given transform (may include asking the user by calling back on th...
Definition: ModelTransformerFactory.cpp:60
std::vector< ModelId > transformMultiple(const Transforms &transform, const ModelTransformer::Input &input, QString &message, AdditionalModelHandler *handler=0)
Return the multiple output models resulting from applying the named transforms to the given input mod...
Definition: ModelTransformerFactory.cpp:222
virtual ~ModelTransformerFactory()
Definition: ModelTransformerFactory.cpp:55
void transformFailed(QString transformName, QString message)
TransformerConfigurationMap m_lastConfigurations
Definition: ModelTransformerFactory.h:165
TransformerSet m_runningTransformers
Definition: ModelTransformerFactory.h:168
void transformerFinished()
Definition: ModelTransformerFactory.cpp:276
virtual ~AdditionalModelHandler()
Definition: ModelTransformerFactory.h:78
Definition: Transform.h:34
A ModelTransformer turns one data model into another.
Definition: ModelTransformer.h:37
bool haveRunningTransformers() const
Definition: ModelTransformerFactory.cpp:336
std::map< TransformId, QString > TransformerConfigurationMap
Definition: ModelTransformerFactory.h:164
Definition: ById.h:115
std::map< ModelTransformer *, AdditionalModelHandler * > HandlerMap
Definition: ModelTransformerFactory.h:170
Generated by 1.8.11