|
svcore
1.9
|
#include <PluginXml.h>


Public Member Functions | |
| PluginXml (Vamp::PluginBase *plugin) | |
| virtual | ~PluginXml () |
| virtual void | toXml (QTextStream &stream, QString indent="", QString extraAttributes="") const |
| Export plugin settings to XML. More... | |
| virtual void | setParameters (const QXmlAttributes &) |
| Set the parameters and program of a plugin from a set of XML attributes. More... | |
| virtual void | setParametersFromXml (QString xml) |
| Set the parameters and program of a plugin from an XML plugin element as returned by toXml. More... | |
| virtual QString | toXmlString (QString indent="", QString extraAttributes="") const |
| Convert this exportable object to XML in a string. More... | |
Static Public Member Functions | |
| static QString | encodeConfigurationChars (QString text) |
| static QString | decodeConfigurationChars (QString text) |
| static QString | encodeEntities (QString) |
| static QString | encodeColour (int r, int g, int b) |
| static int | getObjectExportId (const void *) |
Protected Member Functions | |
| QString | stripInvalidParameterNameCharacters (QString) const |
Protected Attributes | |
| Vamp::PluginBase * | m_plugin |
Definition at line 24 of file PluginXml.h.
| PluginXml::PluginXml | ( | Vamp::PluginBase * | plugin | ) |
Definition at line 33 of file PluginXml.cpp.
|
virtual |
Definition at line 38 of file PluginXml.cpp.
|
virtual |
Export plugin settings to XML.
Implements XmlExportable.
Definition at line 59 of file PluginXml.cpp.
References encodeConfigurationChars(), XmlExportable::encodeEntities(), RealTimePluginInstance::getConfigurePairs(), m_plugin, and stripInvalidParameterNameCharacters().
Referenced by TransformFactory::getPluginConfigurationXml().
|
virtual |
Set the parameters and program of a plugin from a set of XML attributes.
This is a partial inverse of toXml.
Definition at line 127 of file PluginXml.cpp.
References CHECK_ATTRIBUTE, RealTimePluginInstance::configure(), decodeConfigurationChars(), m_plugin, and stripInvalidParameterNameCharacters().
Referenced by setParametersFromXml().
|
virtual |
Set the parameters and program of a plugin from an XML plugin element as returned by toXml.
This is a partial inverse of toXml.
Definition at line 194 of file PluginXml.cpp.
References setParameters().
Referenced by ModelTransformerFactory::getConfigurationForTransform(), and TransformFactory::setParametersFromPluginConfigurationXml().
|
static |
Definition at line 41 of file PluginXml.cpp.
Referenced by toXml().
|
static |
Definition at line 50 of file PluginXml.cpp.
Referenced by setParameters().
|
protected |
Definition at line 228 of file PluginXml.cpp.
Referenced by setParameters(), and toXml().
|
virtualinherited |
Convert this exportable object to XML in a string.
The default implementation calls toXml and returns the result as a string. Do not override this unless you really know what you're doing.
Definition at line 25 of file XmlExportable.cpp.
References XmlExportable::toXml().
Referenced by ModelTransformerFactory::getConfigurationForTransform(), and RDFTransformFactoryImpl::getTransforms().
|
staticinherited |
Definition at line 41 of file XmlExportable.cpp.
Referenced by TextMatcher::test(), toXml(), OneDimensionalPoint::toXml(), TimeValuePoint::toXml(), ImagePoint::toXml(), TextPoint::toXml(), RegionRec::toXml(), Note::toXml(), FlexiNote::toXml(), WritableWaveFileModel::toXml(), WaveFileModel::toXml(), SparseValueModel< RegionRec >::toXml(), Transform::toXml(), and Model::toXml().
|
staticinherited |
Definition at line 54 of file XmlExportable.cpp.
|
staticinherited |
Definition at line 71 of file XmlExportable.cpp.
References mutex.
Referenced by FFTDataServer::generateFileBasename(), AlignmentModel::toXml(), EditableDenseThreeDimensionalModel::toXml(), and Model::toXml().
|
protected |
Definition at line 56 of file PluginXml.h.
Referenced by setParameters(), and toXml().