Arcane  4.2.3.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::ArcaneBasic2CheckpointReaderService Class Reference

Protection reading (version 2). More...

Inheritance diagram for Arcane::ArcaneBasic2CheckpointReaderService:
Collaboration diagram for Arcane::ArcaneBasic2CheckpointReaderService:

Public Member Functions

 ArcaneBasic2CheckpointReaderService (const ServiceBuildInfo &sbi)
IDataReader2 * dataReader () override
 Returns the data reader associated with this protection reader.
void notifyBeginRead (const CheckpointReadInfo &cri) override
 Notifies that a protection will be read with information from checkpoint_info.
void notifyEndRead () override
 Notifies the end of reading a protection.
Public Member Functions inherited from Arcane::AbstractService
 ~AbstractService () override
 Destructor.
virtual void build ()
 Build-level construction of the service.
IServiceInfo * serviceInfo () const override
 Access to service information. See IServiceInfo for details.
IBase * serviceParent () const override
 Access to the base interface of main Arcane objects.
IService * serviceInterface () override
 Returns the low-level IService interface of the service.
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::IService
virtual ~IService ()
 Releases resources.
Public Member Functions inherited from Arcane::ICheckpointReader2
virtual ~ICheckpointReader2 ()=default
 Frees resources.

Private Member Functions

String _defaultFileName (const CheckpointInfo &ci)

Private Attributes

IApplication * m_application
BasicReader * m_reader

Additional Inherited Members

Protected Member Functions inherited from Arcane::AbstractService
 AbstractService (const ServiceBuildInfo &)
 Constructor from a ServiceBuildInfo.
Protected Member Functions inherited from Arcane::TraceAccessor
void _setLocalVerboseLevel (Int32 v)
Int32 _localVerboseLevel () const
Protected Member Functions inherited from Arcane::IService
 IService ()
 Constructor.

Detailed Description

Protection reading (version 2).

Definition at line 240 of file BasicCheckpointService.cc.

Constructor & Destructor Documentation

◆ ArcaneBasic2CheckpointReaderService()

Arcane::ArcaneBasic2CheckpointReaderService::ArcaneBasic2CheckpointReaderService ( const ServiceBuildInfo & sbi)
inlineexplicit

Definition at line 246 of file BasicCheckpointService.cc.

Member Function Documentation

◆ _defaultFileName()

String Arcane::ArcaneBasic2CheckpointReaderService::_defaultFileName ( const CheckpointInfo & ci)
inlineprivate

Definition at line 263 of file BasicCheckpointService.cc.

◆ dataReader()

IDataReader2 * Arcane::ArcaneBasic2CheckpointReaderService::dataReader ( )
inlineoverridevirtual

Returns the data reader associated with this protection reader.

Implements Arcane::ICheckpointReader2.

Definition at line 251 of file BasicCheckpointService.cc.

◆ notifyBeginRead()

void Arcane::ArcaneBasic2CheckpointReaderService::notifyBeginRead ( const CheckpointReadInfo & cri)
overridevirtual

Notifies that a protection will be read with information from checkpoint_info.

Implements Arcane::ICheckpointReader2.

Definition at line 283 of file BasicCheckpointService.cc.

References Arcane::Directory::file(), Arcane::TraceAccessor::info(), and Arcane::TraceAccessor::traceMng().

Here is the call graph for this function:

◆ notifyEndRead()

void Arcane::ArcaneBasic2CheckpointReaderService::notifyEndRead ( )
overridevirtual

Notifies the end of reading a protection.

Implements Arcane::ICheckpointReader2.

Definition at line 307 of file BasicCheckpointService.cc.

Member Data Documentation

◆ m_application

IApplication* Arcane::ArcaneBasic2CheckpointReaderService::m_application
private

Definition at line 258 of file BasicCheckpointService.cc.

◆ m_reader

BasicReader* Arcane::ArcaneBasic2CheckpointReaderService::m_reader
private

Definition at line 259 of file BasicCheckpointService.cc.


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