Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::IModuleFactory2 Class Referenceabstract

Module factory interface (V2). More...

#include <arcane/core/IModuleFactory.h>

Inheritance diagram for Arcane::IModuleFactory2:
Collaboration diagram for Arcane::IModuleFactory2:

Public Member Functions

virtual Ref< IModulecreateModuleInstance (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 IServiceInfoserviceInfo () const =0
 Information about the module that can be created by this factory.

Detailed Description

Module factory interface (V2).

This interface is reserved for IModuleFactoryInfo and should not be used directly.

Definition at line 107 of file IModuleFactory.h.

Constructor & Destructor Documentation

◆ ~IModuleFactory2()

virtual Arcane::IModuleFactory2::~IModuleFactory2 ( )
inlinevirtual

Definition at line 111 of file IModuleFactory.h.

Member Function Documentation

◆ createModuleInstance()

virtual Ref< IModule > Arcane::IModuleFactory2::createModuleInstance ( ISubDomain * sd,
const MeshHandle & mesh_handle )
pure virtual

Creates a module instance.

Parameters
sdassociated sub-domain.
meshmesh associated with the module.
Returns
the created module

Implemented in Arcane::ModuleFactory2T< ModuleType >.

◆ initializeModuleFactory()

virtual void Arcane::IModuleFactory2::initializeModuleFactory ( ISubDomain * sd)
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 >.

◆ moduleName()

virtual String Arcane::IModuleFactory2::moduleName ( ) const
pure virtual

Name of the module created by this factory.

Implemented in Arcane::ModuleFactory2.

◆ serviceInfo()

virtual const IServiceInfo * Arcane::IModuleFactory2::serviceInfo ( ) const
pure virtual

Information about the module that can be created by this factory.

Implemented in Arcane::ModuleFactory2.


The documentation for this class was generated from the following file: