12#ifndef ARCANE_IMODULEFACTORY_H
13#define ARCANE_IMODULEFACTORY_H
17#include "arccore/base/ReferenceCounter.h"
51 virtual void addReference() = 0;
52 virtual void removeReference() = 0;
147class ARCANE_CORE_EXPORT ModuleFactoryReference
Arcane configuration file.
T * get() const
Returns the object referenced by the instance.
Module factory interface (V2).
virtual Ref< IModule > createModuleInstance(ISubDomain *sd, const MeshHandle &mesh_handle)=0
Creates a module instance.
virtual String moduleName() const =0
Name of the module created by this factory.
virtual void initializeModuleFactory(ISubDomain *sd)=0
Static initialization of the module.
virtual const IServiceInfo * serviceInfo() const =0
Information about the module that can be created by this factory.
Information about a module factory.
virtual String moduleName() const =0
Name of the module created by this factory.
virtual ~IModuleFactoryInfo()
Releases resources.
virtual void initializeModuleFactory(ISubDomain *sub_domain)=0
If the factory is a one-to-one module, initializes it on the sub-domain sub_domain.
virtual Ref< IModule > createModule(ISubDomain *parent, const MeshHandle &mesh_handle)=0
Creates a module.
virtual bool isAutoload() const =0
Indicates if the module should be loaded automatically.
virtual const IServiceInfo * serviceInfo() const =0
Information about the module that can be created by this factory.
Interface for service or module information.
Interface of the subdomain manager.
Reference to an instance.
Unicode character string.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --