ImFusion C++ SDK 4.5.0
ImFusion::GraphPluginControllerFactory Class Reference

#include <ImFusion/Graph/GraphFactories.h>

Factory for controllers of the Graph plugin. More...

Inheritance diagram for ImFusion::GraphPluginControllerFactory:

Detailed Description

Factory for controllers of the Graph plugin.

AlgorithmControllerFactory interface

AlgorithmControllercreate (Algorithm *a) const override
 Create controller for a given algorithm instance if possible.

Additional Inherited Members

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.
DataControllercreateDataController (const std::string &id, const DataList &data) const
 Create data controller.
virtual std::vector< std::stringcompatibleDataControllers (const DataList &data) const
 Return list of data controllers compatible with input data. The list contains the data controller id.
std::vector< std::stringdataControllerNames () 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.
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::stringm_dataControllerNames

Member Function Documentation

◆ create()

AlgorithmController * ImFusion::GraphPluginControllerFactory::create ( Algorithm * a) const
overridevirtual

Create controller for a given algorithm instance if possible.

Implements ImFusion::AlgorithmControllerFactory.


The documentation for this class was generated from the following file:
  • ImFusion/Graph/GraphFactories.h
Search Tab / S to search, Esc to close