![]() |
ImFusion C++ SDK 4.5.0
|
Public Member Functions | |
| AlgorithmController * | create (Algorithm *a) const override |
| Create controller for a given algorithm instance if possible. | |
| Public Member Functions inherited from ImFusion::AlgorithmControllerFactory | |
| AlgorithmControllerFactory () | |
| AlgorithmControllerFactory (std::string module) | |
| AlgorithmControllerFactory (std::string module, bool checkLicense) | |
| std::string | moduleName () const |
| Returns the module name of the factory. | |
| DataController * | createDataController (const std::string &id, const DataList &data) const |
| Create data controller. | |
| virtual std::vector< std::string > | compatibleDataControllers (const DataList &data) const |
| Return list of data controllers compatible with input data. The list contains the data controller id. | |
| std::vector< std::string > | dataControllerNames () const |
| Return all registered algorithm names. | |
| template<class T> | |
| void | registerDataController (const std::string &name) |
| Register data controller. Categories are specified by separating them from the name with ; as separator (e.g. Filters;Gaussian). | |
| void | unregisterAllDataControllers () |
| Unregister all data controller of this factory. | |
Additional Inherited Members | |
| Protected Types inherited from ImFusion::AlgorithmControllerFactory | |
| typedef std::function< std::string(const DataList &data, const std::string &id, DataController **a)> | createCompatibleFunc |
| Protected Attributes inherited from ImFusion::AlgorithmControllerFactory | |
| std::string | m_moduleName |
| std::vector< createCompatibleFunc > | m_dataControllers |
| std::unordered_map< std::type_index, std::string > | m_dataControllerNames |
|
overridevirtual |
Create controller for a given algorithm instance if possible.
Implements ImFusion::AlgorithmControllerFactory.