#include <arcane/impl/Session.h>
Classes | |
| class | Impl |
| Session. More... | |
Public Member Functions | |
| Session (IApplication *) | |
| virtual void | build () |
| 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 () |
| Initializes the instance. The instance is not usable until this method has been called. | |
| virtual IBase * | objectParent () const |
| Parent of this object. | |
| virtual String | objectNamespaceURI () const |
| Namespace of the object. | |
| virtual String | objectLocalName () const |
| Local name of the object. | |
| virtual VersionInfo | objectVersion () const |
| Service version number. | |
| virtual IServiceMng * | serviceMng () const |
| Service manager. | |
| virtual IRessourceMng * | ressourceMng () const |
| Resource manager. | |
| virtual IApplication * | application () const |
| Application. | |
| virtual ITraceMng * | traceMng () const |
| Trace manager. | |
| virtual const String & | fileName () const |
| virtual ISubDomain * | createSubDomain (const SubDomainBuildInfo &sdbi) |
| Creates a sub-domain with the parameters contained in sdbi. | |
| virtual SubDomainCollection | subDomains () |
| List of sub-domains of the session. | |
| virtual void | doAbort () |
| Performs an abort. | |
| virtual void | endSession (int ret_val) |
| Ends the session with the return code ret_val. | |
| virtual void | writeExecInfoFile () |
| Writes the execution information file. | |
| virtual bool | checkIsValidCaseVersion (const String &version) |
| const char * | msgClassName () const |
| Public Member Functions inherited from Arcane::TraceAccessor | |
| TraceAccessor (ITraceMng *m) | |
| Constructs an accessor via the trace manager m. | |
| TraceAccessor (const TraceAccessor &rhs) | |
| Copy constructor. | |
| TraceAccessor & | operator= (const TraceAccessor &rhs) |
| Copy assignment operator. | |
| virtual | ~TraceAccessor () |
| Frees resources. | |
| ITraceMng * | traceMng () const |
| Trace manager. | |
| TraceMessage | info () const |
| Flow for an information message. | |
| TraceMessage | pinfo () const |
| Flow for a parallel information message. | |
| TraceMessage | info (char category) const |
| Flow for an information message of a given category. | |
| TraceMessage | pinfo (char category) const |
| Flow for a parallel information message of a given category. | |
| TraceMessage | info (bool v) const |
| Flow for an information message. | |
| TraceMessage | warning () const |
| Flow for a warning message. | |
| TraceMessage | pwarning () const |
| TraceMessage | error () const |
| Flow for an error message. | |
| TraceMessage | perror () const |
| TraceMessage | log () const |
| Flow for a log message. | |
| TraceMessage | plog () const |
| Flow for a log message. | |
| TraceMessage | logdate () const |
| Flow for a log message preceded by the date. | |
| TraceMessage | fatal () const |
| Flow for a fatal error message. | |
| TraceMessage | pfatal () const |
| Flow for a parallel fatal error message. | |
| TraceMessageDbg | debug (Trace::eDebugLevel=Trace::Medium) const |
| Flow for a debug message. | |
| Trace::eDebugLevel | configDbgLevel () const |
| Debug level of the configuration file. | |
| TraceMessage | info (Int32 verbose_level) const |
| Flow for an information message of a given level. | |
| TraceMessage | linfo () const |
| Flow for an information message with the local information level of this instance. | |
| TraceMessage | linfo (Int32 relative_level) const |
| Flow for an information message with the local information level of this instance. | |
| void | fatalMessage (const StandaloneTraceMessage &o) const |
| Public Member Functions inherited from Arcane::ISession | |
| virtual | ~ISession ()=default |
| Frees resources. | |
| Public Member Functions inherited from Arcane::IBase | |
| virtual | ~IBase ()=default |
| Frees resources. | |
Protected Member Functions | |
| IApplication * | _application () const |
| virtual void | _initSubDomain (ISubDomain *sd) |
| Protected Member Functions inherited from Arcane::TraceAccessor | |
| void | _setLocalVerboseLevel (Int32 v) |
| Int32 | _localVerboseLevel () const |
Private Member Functions | |
| void | _readCaseDocument () |
Private Attributes | |
| Impl * | m_p |
| Implementation. | |
| Arcane::Session::Session | ( | IApplication * | app | ) |
Definition at line 90 of file Session.cc.
|
virtual |
Definition at line 102 of file Session.cc.
|
protected |
Definition at line 214 of file Session.cc.
|
inlineprotectedvirtual |
|
virtual |
Implements Arcane::ISession.
Definition at line 198 of file Session.cc.
References m_p.
Referenced by Arcane::ArcaneSession::build(), and createSubDomain().
|
virtual |
Constructs the instance members. The instance is not usable until this method has been called. This method must be called before initialize().
Implements Arcane::IBase.
Reimplemented in Arcane::ArcaneSession.
Definition at line 114 of file Session.cc.
References Arcane::IMainFactory::createServiceMng(), and m_p.
Referenced by Arcane::ArcaneSession::build().
|
virtual |
The derived class can re-implement this method to specify its own dataset versioning mechanism. Without specific implementation, this method always returns false
| true | if the version is correct |
| false | otherwise |
Implements Arcane::ISession.
Definition at line 131 of file Session.cc.
|
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.
Implements Arcane::ISession.
Definition at line 141 of file Session.cc.
References application(), Arcane::IBase::initialize(), m_p, Arcane::IApplication::parallelSuperMng(), and Arcane::IParallelSuperMng::threadMng().
|
virtual |
Performs an abort.
Implements Arcane::ISession.
Definition at line 161 of file Session.cc.
References m_p, and Arcane::IParallelSuperMng::tryAbort().
|
inlinevirtual |
Ends the session with the return code ret_val.
Implements Arcane::ISession.
Reimplemented in Arcane::ArcaneSession.
|
virtual |
Definition at line 206 of file Session.cc.
|
inlinevirtual |
Initializes the instance. The instance is not usable until this method has been called.
Implements Arcane::IBase.
|
inline |
|
virtual |
Local name of the object.
Implements Arcane::IBase.
Definition at line 182 of file Session.cc.
References m_p.
|
virtual |
Namespace of the object.
Implements Arcane::IBase.
Definition at line 178 of file Session.cc.
References m_p.
|
virtual |
Parent of this object.
Implements Arcane::IBase.
Definition at line 172 of file Session.cc.
References m_p.
|
virtual |
|
virtual |
|
virtual |
Service manager.
Implements Arcane::IBase.
Definition at line 190 of file Session.cc.
References m_p.
|
virtual |
List of sub-domains of the session.
Implements Arcane::ISession.
Definition at line 210 of file Session.cc.
References m_p.
|
virtual |
Trace manager.
Implements Arcane::IBase.
Definition at line 202 of file Session.cc.
References Arcane::TraceAccessor::traceMng().
|
inlinevirtual |
Writes the execution information file.
Implements Arcane::ISession.
Reimplemented in Arcane::ArcaneSession.
|
private |
Implementation.
Definition at line 89 of file Session.h.
Referenced by application(), build(), createSubDomain(), doAbort(), objectLocalName(), objectNamespaceURI(), objectParent(), serviceMng(), and subDomains().