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

Module manager interface. More...

#include <arcane/core/IModuleMng.h>

Inheritance diagram for Arcane::IModuleMng:
Collaboration diagram for Arcane::IModuleMng:

Public Member Functions

virtual ~IModuleMng ()
 Destructor.
virtual void addModule (Ref< IModule > m)=0
 Adds module m to the manager.
virtual void removeModule (Ref< IModule > m)=0
 Removes module m.
virtual void dumpList (std::ostream &o)=0
 Prints the list of modules in the manager to a stream o.
virtual ModuleCollection modules () const =0
 List of modules.
virtual void removeAllModules ()=0
 Removes and destroys modules managed by this manager.
virtual bool isModuleActive (const String &name)=0
 Indicates if the module named name is active.
virtual IModulefindModule (const String &name)=0
 Returns the instance of the module named name.

Detailed Description

Module manager interface.

Definition at line 38 of file IModuleMng.h.

Constructor & Destructor Documentation

◆ ~IModuleMng()

virtual Arcane::IModuleMng::~IModuleMng ( )
inlinevirtual

Destructor.

Frees resources

Definition at line 44 of file IModuleMng.h.

Member Function Documentation

◆ addModule()

virtual void Arcane::IModuleMng::addModule ( Ref< IModule > m)
pure virtual

Adds module m to the manager.

Implemented in Arcane::ModuleMng.

Referenced by Arcane::ModuleFactory::createModule(), and Arcane::MainFactory::createModuleMaster().

Here is the caller graph for this function:

◆ dumpList()

virtual void Arcane::IModuleMng::dumpList ( std::ostream & o)
pure virtual

Prints the list of modules in the manager to a stream o.

Implemented in Arcane::ModuleMng.

◆ findModule()

virtual IModule * Arcane::IModuleMng::findModule ( const String & name)
pure virtual

Returns the instance of the module named name.

If no module named name exists, returns 0.

Implemented in Arcane::ModuleMng.

◆ isModuleActive()

virtual bool Arcane::IModuleMng::isModuleActive ( const String & name)
pure virtual

Indicates if the module named name is active.

If no module named name exists, returns false.

Implemented in Arcane::ModuleMng.

◆ modules()

virtual ModuleCollection Arcane::IModuleMng::modules ( ) const
pure virtual

List of modules.

Implemented in Arcane::ModuleMng.

Referenced by Arcane::InternalInfosDumper::dumpArcaneDatabase().

Here is the caller graph for this function:

◆ removeAllModules()

virtual void Arcane::IModuleMng::removeAllModules ( )
pure virtual

Removes and destroys modules managed by this manager.

Implemented in Arcane::ModuleMng.

◆ removeModule()

virtual void Arcane::IModuleMng::removeModule ( Ref< IModule > m)
pure virtual

Removes module m.

Implemented in Arcane::ModuleMng.


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