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

#include <exportmodulemanager.h>

Inheritance diagram for oofem::ExportModuleManager:
Collaboration diagram for oofem::ExportModuleManager:

Public Member Functions

 ExportModuleManager (EngngModel *emodel)
virtual ~ExportModuleManager ()
std::unique_ptr< ExportModuleCreateModule (const char *name, int num, EngngModel *emodel) override
void doOutput (TimeStep *tStep, bool substepFlag=false)
void initialize ()
void terminate ()
const char * giveClassName () const override
 Returns class name of the receiver.
Public Member Functions inherited from oofem::ModuleManager< ExportModule >
 ModuleManager (EngngModel *emodel)
virtual ~ModuleManager ()
ModuleManageroperator= (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< ExportModule > &module)
ExportModulegiveModule (int num)
int giveNumberOfModules () const

Additional Inherited Members

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

Detailed Description

Class representing and implementing ExportModuleManager. It is attribute of EngngModel. It manages the export output modules, which perform module - specific output operations.

Definition at line 48 of file exportmodulemanager.h.

Constructor & Destructor Documentation

◆ ExportModuleManager()

oofem::ExportModuleManager::ExportModuleManager ( EngngModel * emodel)

◆ ~ExportModuleManager()

oofem::ExportModuleManager::~ExportModuleManager ( )
virtual

Definition at line 44 of file exportmodulemanager.C.

Member Function Documentation

◆ CreateModule()

std::unique_ptr< ExportModule > oofem::ExportModuleManager::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< ExportModule >.

Definition at line 47 of file exportmodulemanager.C.

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

◆ doOutput()

void oofem::ExportModuleManager::doOutput ( TimeStep * tStep,
bool substepFlag = false )

Writes the output. Loops over all modules and calls corresponding doOutput module service.

Parameters
tStepTime step.
substepFlagis set to true, only the modules with substepFlag set to true will be processed.

Definition at line 53 of file exportmodulemanager.C.

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

◆ giveClassName()

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

Returns class name of the receiver.

Implements oofem::ModuleManager< ExportModule >.

Definition at line 70 of file exportmodulemanager.h.

◆ initialize()

void oofem::ExportModuleManager::initialize ( )

Initializes output manager. The corresponding initialize module services are called.

Definition at line 67 of file exportmodulemanager.C.

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

◆ terminate()

void oofem::ExportModuleManager::terminate ( )

Terminates the receiver, the corresponding terminate module services are called.

Definition at line 76 of file exportmodulemanager.C.

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


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