Class for directly executing code without going through the time loop. More...
#include <arcane/impl/ArcaneSimpleExecutor.h>
Classes | |
| class | Impl |
Public Member Functions | |
| ArcaneSimpleExecutor (const ArcaneSimpleExecutor &)=delete | |
| const ArcaneSimpleExecutor & | operator= (const ArcaneSimpleExecutor &)=delete |
| ApplicationBuildInfo & | applicationBuildInfo () |
| const ApplicationBuildInfo & | applicationBuildInfo () const |
| int | initialize () |
| ISubDomain * | createSubDomain (const String &case_file_name) |
| ISubDomain * | createSubDomain (const String &case_file_name, Span< const std::byte > file_content) |
| int | runCode (IFunctor *f) |
Private Member Functions | |
| void | _checkInit () |
| void | _setDefaultVerbosityLevel (Integer level) |
| Sets the trace level to level if it is not set. | |
Private Attributes | |
| Impl * | m_p |
Class for directly executing code without going through the time loop.
Only one instance of this class must exist at any given time.
This class is internal to Arcane. If you want to have a standalone execution, use ArcaneLauncher instead.
Instances of this class use the value of ArcaneMain::defaultApplicationInfo() to initialize themselves and notably retrieve the command line arguments.
The initialize() method must be called before calling other methods such as createSubDomain(). It is possible to modify the application creation parameters by modifying the values of the instance returned by applicationBuildInfo().
Definition at line 53 of file ArcaneSimpleExecutor.h.
| Arcane::ArcaneSimpleExecutor::ArcaneSimpleExecutor | ( | ) |
Definition at line 97 of file ArcaneSimpleExecutor.cc.
| Arcane::ArcaneSimpleExecutor::~ArcaneSimpleExecutor | ( | ) |
Definition at line 117 of file ArcaneSimpleExecutor.cc.
|
private |
Definition at line 126 of file ArcaneSimpleExecutor.cc.
|
private |
Sets the trace level to level if it is not set.
Definition at line 139 of file ArcaneSimpleExecutor.cc.
| ApplicationBuildInfo & Arcane::ArcaneSimpleExecutor::applicationBuildInfo | ( | ) |
Definition at line 190 of file ArcaneSimpleExecutor.cc.
| const ApplicationBuildInfo & Arcane::ArcaneSimpleExecutor::applicationBuildInfo | ( | ) | const |
Definition at line 199 of file ArcaneSimpleExecutor.cc.
| ISubDomain * Arcane::ArcaneSimpleExecutor::createSubDomain | ( | const String & | case_file_name | ) |
Definition at line 264 of file ArcaneSimpleExecutor.cc.
| ISubDomain * Arcane::ArcaneSimpleExecutor::createSubDomain | ( | const String & | case_file_name, |
| Span< const std::byte > | file_content ) |
Definition at line 208 of file ArcaneSimpleExecutor.cc.
| int Arcane::ArcaneSimpleExecutor::initialize | ( | ) |
Definition at line 156 of file ArcaneSimpleExecutor.cc.
| int Arcane::ArcaneSimpleExecutor::runCode | ( | IFunctor * | f | ) |
Definition at line 174 of file ArcaneSimpleExecutor.cc.
|
private |
Definition at line 77 of file ArcaneSimpleExecutor.h.