Interface for a case execution session. More...
#include <arcane/core/ISession.h>
Public Member Functions | |
| virtual | ~ISession ()=default |
| Frees resources. | |
| virtual IApplication * | application () const =0 |
| Application. | |
| virtual ISubDomain * | createSubDomain (const SubDomainBuildInfo &sdbi)=0 |
| Creates a sub-domain with the parameters contained in sdbi. | |
| virtual void | endSession (int ret_val)=0 |
| Ends the session with the return code ret_val. | |
| virtual SubDomainCollection | subDomains ()=0 |
| List of sub-domains of the session. | |
| virtual void | doAbort ()=0 |
| Performs an abort. | |
| virtual bool | checkIsValidCaseVersion (const String &version)=0 |
| Checks if the dataset version version is valid. | |
| virtual void | writeExecInfoFile ()=0 |
| Writes the execution information file. | |
| Public Member Functions inherited from Arcane::IBase | |
| virtual | ~IBase ()=default |
| Frees resources. | |
| virtual void | build ()=0 |
| Constructs the instance members. The instance is not usable until this method has been called. This method must be called before initialize(). | |
| virtual void | initialize ()=0 |
| Initializes the instance. The instance is not usable until this method has been called. | |
| virtual IBase * | objectParent () const =0 |
| Parent of this object. | |
| virtual String | objectNamespaceURI () const =0 |
| Namespace of the object. | |
| virtual String | objectLocalName () const =0 |
| Local name of the object. | |
| virtual VersionInfo | objectVersion () const =0 |
| Service version number. | |
| virtual ITraceMng * | traceMng () const =0 |
| Trace manager. | |
| virtual IRessourceMng * | ressourceMng () const =0 |
| Resource manager. | |
| virtual IServiceMng * | serviceMng () const =0 |
| Service manager. | |
Interface for a case execution session.
A session manages the execution of a case in a process.
This execution can be distributed across multiple sub-domains using multi-threading.
Definition at line 36 of file ISession.h.
|
pure virtual |
Implemented in Arcane::Session.
Referenced by Arcane::ServiceLoader::loadSessionServices().
|
pure virtual |
Checks if the dataset version version is valid.
| true | if the version is valid |
| false | otherwise |
Implemented in Arcane::Session.
|
pure virtual |
Creates a sub-domain with the parameters contained in sdbi.
The created sub-domain is added to the list of sub-domains of the session. The document containing the dataset is opened and its XML validity is checked, but the options of the services and modules are not read.
Implemented in Arcane::Session.
Referenced by Arcane::CodeService::createAndLoadCase(), Arcane::InternalInfosDumper::dumpArcaneDatabase(), and Arcane::InternalInfosDumper::dumpInternalAllInfos().
|
pure virtual |
Performs an abort.
Implemented in Arcane::Session.
|
pure virtual |
Ends the session with the return code ret_val.
Implemented in Arcane::ArcaneSession, and Arcane::Session.
|
pure virtual |
List of sub-domains of the session.
Implemented in Arcane::Session.
|
pure virtual |
Writes the execution information file.
Implemented in Arcane::ArcaneSession, and Arcane::Session.
Referenced by Arcane::ArcaneCodeService::initCase().