OOFEM 3.0
Loading...
Searching...
No Matches
oofem::InitModuleManager Class Reference

#include <initmodulemanager.h>

Inheritance diagram for oofem::InitModuleManager:
Collaboration diagram for oofem::InitModuleManager:

Public Member Functions

 InitModuleManager (EngngModel *emodel)
virtual ~InitModuleManager ()
std::unique_ptr< InitModule > CreateModule (const char *name, int n, EngngModel *emodel) override
void doInit ()
const char * giveClassName () const override
 Returns class name of the receiver.
Public Member Functions inherited from oofem::ModuleManager< InitModule >
 ModuleManager (EngngModel *emodel)
virtual ~ModuleManager ()
ModuleManager & operator= (const ModuleManager &)=delete
virtual int instanciateYourself (DataReader &dr, const std::shared_ptr< InputRecord > &irPtr, InputFieldType ift, const std::string &name, DataReader::InputRecordType irType)
virtual void registerModule (std::unique_ptr< InitModule > &module)
InitModule * giveModule (int num)
int giveNumberOfModules () const

Additional Inherited Members

Protected Attributes inherited from oofem::ModuleManager< InitModule >
std::vector< std::unique_ptr< InitModule > > moduleList
 Module list.
int numberOfModules
 Number of modules.
EngngModel * emodel
 Associated Engineering model.

Detailed Description

Class representing and implementing InitModuleManager. It is attribute of EngngModel. It manages the init modules, which perform module - specific init oprations.

Definition at line 49 of file initmodulemanager.h.

Constructor & Destructor Documentation

◆ InitModuleManager()

oofem::InitModuleManager::InitModuleManager ( EngngModel * emodel)

◆ ~InitModuleManager()

oofem::InitModuleManager::~InitModuleManager ( )
virtual

Definition at line 43 of file initmodulemanager.C.

Member Function Documentation

◆ CreateModule()

std::unique_ptr< InitModule > oofem::InitModuleManager::CreateModule ( const char * name,
int n,
EngngModel * emodel )
overridevirtual

Creates new instance of module.

Parameters
nameName of module.
nNumber associated with module.
emodelEngineering model which receiver belongs to.

Implements oofem::ModuleManager< InitModule >.

Definition at line 46 of file initmodulemanager.C.

References oofem::classFactory, and oofem::ModuleManager< InitModule >::emodel.

◆ doInit()

void oofem::InitModuleManager::doInit ( )

Performs the initialization of individual modules. Loops over all modules and calls corresponding doInit module service.

Definition at line 52 of file initmodulemanager.C.

References oofem::ModuleManager< InitModule >::moduleList.

◆ giveClassName()

const char * oofem::InitModuleManager::giveClassName ( ) const
inlineoverridevirtual

Returns class name of the receiver.

Implements oofem::ModuleManager< InitModule >.

Definition at line 63 of file initmodulemanager.h.


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

This page is part of the OOFEM-3.0 documentation. Copyright Copyright (C) 1994-2025 Borek Patzak Bořek Patzák
Project e-mail: oofem@fsv.cvut.cz
Generated at for OOFEM by doxygen 1.15.0 written by Dimitri van Heesch, © 1997-2011