Interface of the checkpoint/recovery write service. More...
#include <arcane/core/ICheckpointWriter.h>
Public Member Functions | |
| virtual | ~ICheckpointWriter ()=default |
| Releases resources. | |
| virtual IDataWriter * | dataWriter ()=0 |
| Returns the associated writer. | |
| virtual void | notifyBeginWrite ()=0 |
| Notifies that a checkpoint is going to be written with the current parameters. | |
| virtual void | notifyEndWrite ()=0 |
| Notifies that a checkpoint has just been written. | |
| virtual void | setFileName (const String &file_name)=0 |
| Sets the name of the checkpoint file. | |
| virtual String | fileName () const =0 |
| Name of the checkpoint file. | |
| virtual void | setBaseDirectoryName (const String &dirname)=0 |
| Sets the name of the checkpoint base directory. | |
| virtual String | baseDirectoryName () const =0 |
| Name of the checkpoint base directory. | |
| virtual void | setCheckpointTimes (RealConstArrayView times)=0 |
| Sets the checkpoint times. | |
| virtual ConstArrayView< Real > | checkpointTimes () const =0 |
| Checkpoint times. | |
| virtual void | close ()=0 |
| Closes the checkpoints. | |
| virtual String | readerServiceName () const =0 |
| Name of the reader service associated with this writer. | |
| virtual String | readerMetaData () const =0 |
| Metadata for the reader associated with this writer. | |
Interface of the checkpoint/recovery write service.
The instance must return an IDataWriter (via dataWriter()) to handle the writing.
The sequence of functions is as follows:
Definition at line 49 of file ICheckpointWriter.h.
|
pure virtual |
Name of the checkpoint base directory.
Implemented in Arcane::CheckpointService.
Referenced by Arcane::CheckpointMng::_writeCheckpointInfoFile().
|
pure virtual |
Checkpoint times.
Implemented in Arcane::CheckpointService.
Referenced by Arcane::CheckpointMng::_writeCheckpointInfoFile().
|
pure virtual |
Closes the checkpoints.
Implemented in Arcane::ArcaneBasicCheckpointService, and Arcane::ArcaneHdf5CheckpointService2.
|
pure virtual |
Returns the associated writer.
Implemented in Arcane::ArcaneBasicCheckpointService, and Arcane::ArcaneHdf5CheckpointService2.
|
pure virtual |
Name of the checkpoint file.
Implemented in Arcane::CheckpointService.
|
pure virtual |
Notifies that a checkpoint is going to be written with the current parameters.
Implemented in Arcane::ArcaneBasicCheckpointService, and Arcane::ArcaneHdf5CheckpointService2.
|
pure virtual |
Notifies that a checkpoint has just been written.
Implemented in Arcane::ArcaneBasicCheckpointService, and Arcane::ArcaneHdf5CheckpointService2.
|
pure virtual |
Metadata for the reader associated with this writer.
Implemented in Arcane::CheckpointService.
Referenced by Arcane::CheckpointMng::_writeCheckpointInfoFile().
|
pure virtual |
Name of the reader service associated with this writer.
Implemented in Arcane::ArcaneBasic2CheckpointService, Arcane::ArcaneBasicCheckpointService, and Arcane::ArcaneHdf5CheckpointService2.
Referenced by Arcane::CheckpointMng::_writeCheckpointInfoFile().
|
pure virtual |
Sets the name of the checkpoint base directory.
Implemented in Arcane::CheckpointService.
|
pure virtual |
Sets the checkpoint times.
The time of the current checkpoint is the last element of the array
Implemented in Arcane::CheckpointService.
|
pure virtual |
Sets the name of the checkpoint file.
Implemented in Arcane::CheckpointService.