|
CLAM-Development
1.4.0
|
#include <ProcessingFactory.hxx>
Static Public Member Functions | |
| static ProcessingFactory & | GetInstance () |
Additional Inherited Members | |
Public Types inherited from CLAM::Factory< Processing > | |
| typedef Processing | AbstractProduct |
| typedef std::string | RegistryKey |
| typedef std::list< Key > | Keys |
| typedef std::list< std::string > | Values |
| typedef std::list< Pair > | Pairs |
Public Member Functions inherited from CLAM::Factory< Processing > | |
| Factory () | |
| ~Factory () | |
| AbstractProduct * | Create (const RegistryKey name) |
| Gives ownership of the new created Product registered with the given name. | |
| AbstractProduct * | CreateSafe (const RegistryKey name) throw (ErrFactory) |
| Gives ownership of the new created Product registered with the given name. | |
| void | Clear () |
| void | AddCreator (const RegistryKey name, Creator *creator) |
| void | AddCreatorWarningRepetitions (const RegistryKey name, Creator *creator) |
| void | AddCreatorSafe (const RegistryKey name, Creator *creator) throw (ErrFactory) |
| void | DeleteCreator (const RegistryKey name) |
| void | GetRegisteredNames (std::list< std::string > &namesList) |
| bool | KeyExists (const RegistryKey &key) |
| bool | AttributeExists (const std::string &key, const std::string &attribute) |
| Keys | GetKeys (const std::string &attribute, const std::string &value) |
| Get all keys that have attribute==value in its metadata. | |
| Keys | GetKeys () |
| Get all keys in the factory. | |
| Pairs | GetPairsFromKey (const std::string &key) |
| Return all the metadata available for a product key. | |
| Values | GetSetOfValues (const std::string &attribute) |
| Get the set of all values present for a given metadata attribute. Example GetSetOfValues("category") could return ["modulators","generators","reverbs"] without repeated items. | |
| Values | GetValuesFromAttribute (const std::string &key, const std::string &attribute) |
| Return the list of values for a metadata attribute for a product key. | |
| Value | GetValueFromAttribute (const std::string &key, const std::string &attribute) |
| Return the value for a metadata attribute of product key. If multiple values exist returns the first value. | |
| void | AddAttribute (const std::string &key, const std::string &attribute, const std::string &value) |
| int | Count () |
Definition at line 10 of file ProcessingFactory.hxx.
|
static |
Definition at line 8 of file ProcessingFactory.cxx.
Referenced by CLAM::Network::AddProcessing(), CLAM::Network::getOrderedProcessingsByAttribute(), RunTimeLibraryLoader::GetUsedLibraries(), CLAM::ProcessingDefinitionAdapter::LoadFrom(), CLAM::Hidden::ProcessingClass2LadspaBase::ProcessingClass2LadspaBase(), RunTimeLibraryLoader::ReLoad(), RunTimeLadspaLibraryLoader::SetupLibrary(), and RunTimeFaustLibraryLoader::SetupLibrary().
1.8.1