#include <ImFusion/Base/FactoryBase.h>
Abstract base class for all factories.
More...
Abstract base class for all factories.
|
| | 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.
|
|
|
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.
|
◆ FactoryBase() [1/2]
| ImFusion::FactoryBase::FactoryBase |
( |
| ) |
|
No license check is performed for the module instantiated with this constructor.
- Deprecated
- "Use factory with a module name."
◆ FactoryBase() [2/2]
| ImFusion::FactoryBase::FactoryBase |
( |
std::string | module, |
|
|
bool | checkLicense = true ) |
|
explicit |
- Parameters
-
| module | The module name of the factory. |
| checkLicense | If true, the license is checked for the module. |
◆ getComponentPath() [1/2]
Returns the path to the component referred to by name.
e.g. Reg.Sim.name
◆ getComponentPath() [2/2]
Returns the path to the component referred to by name.
e.g. moduleName.name
The documentation for this class was generated from the following file:
- ImFusion/Base/FactoryBase.h