ImFusion C++ SDK 4.4.0
ImFusion::AnatomyPlugin::AnatomyControllerFactory Class Reference
Inheritance diagram for ImFusion::AnatomyPlugin::AnatomyControllerFactory:

Public Member Functions

virtual AlgorithmControllercreate (Algorithm *a) const
 Create controller for a given algorithm instance if possible.
Public Member Functions inherited from ImFusion::AlgorithmControllerFactory
 AlgorithmControllerFactory ()
 AlgorithmControllerFactory (std::string module, bool checkLicense=true)
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.
Public Member Functions inherited from ImFusion::FactoryBase
 FactoryBase ()
 No license check is performed for the module instantiated with this constructor.
 FactoryBase (std::string module, bool checkLicense=true)
std::string moduleName () const
 Returns the module name of the 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 Member Functions inherited from ImFusion::FactoryBase
virtual ~FactoryBase ()
 Virtual destructor.
std::string getComponentPath (const std::string &componentName) const
 Returns the path to the component referred to by name.
bool isLicensed (const std::string &name)
 Return true if the license allows the use of the component referred to by name.
Static Protected Member Functions inherited from ImFusion::FactoryBase
static std::string getComponentPath (const std::string &moduleName, const std::string &componentName)
 Returns the path to the component referred to by name.
static bool isLicensed (const std::string &moduleName, const std::string &name)
 Return true if the license allows the use of the component referred to by name.
Protected Attributes inherited from ImFusion::AlgorithmControllerFactory
std::vector< createCompatibleFunc > m_dataControllers
std::unordered_map< std::type_index, std::stringm_dataControllerNames
Protected Attributes inherited from ImFusion::FactoryBase
std::string m_factoryModule
bool m_checkLicense

Member Function Documentation

◆ create()

virtual AlgorithmController * ImFusion::AnatomyPlugin::AnatomyControllerFactory::create ( Algorithm * a) const
virtual

Create controller for a given algorithm instance if possible.

Implements ImFusion::AlgorithmControllerFactory.


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