Module factory interface (V2). More...
#include <arcane/core/IModuleFactory.h>
Public Member Functions | |
| virtual Ref< IModule > | createModuleInstance (ISubDomain *sd, const MeshHandle &mesh_handle)=0 |
| Creates a module instance. | |
| virtual void | initializeModuleFactory (ISubDomain *sd)=0 |
| Static initialization of the module. | |
| virtual String | moduleName () const =0 |
| Name of the module created by this factory. | |
| virtual const IServiceInfo * | serviceInfo () const =0 |
| Information about the module that can be created by this factory. | |
Module factory interface (V2).
This interface is reserved for IModuleFactoryInfo and should not be used directly.
Definition at line 107 of file IModuleFactory.h.
|
inlinevirtual |
Definition at line 111 of file IModuleFactory.h.
|
pure virtual |
Creates a module instance.
| sd | associated sub-domain. |
| mesh | mesh associated with the module. |
Implemented in Arcane::ModuleFactory2T< ModuleType >.
|
pure virtual |
Static initialization of the module.
This method is called when the sub-domain is created, to perform specific module initializations before it is manufactured. For example, to add time loops specific to the module.
Implemented in Arcane::ModuleFactory2T< ModuleType >.
|
pure virtual |
Name of the module created by this factory.
Implemented in Arcane::ModuleFactory2.
|
pure virtual |
Information about the module that can be created by this factory.
Implemented in Arcane::ModuleFactory2.