Arcane  v3.16.6.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
ICheckpointMng.h
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2025 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
4// See the top-level COPYRIGHT file for details.
5// SPDX-License-Identifier: Apache-2.0
6//-----------------------------------------------------------------------------
7/*---------------------------------------------------------------------------*/
8/* ICheckpointMng.h (C) 2000-2025 */
9/* */
10/* Interface du gestionnaire des informations des protections. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_CORE_ICHECKPOINTMNG_H
13#define ARCANE_CORE_ICHECKPOINTMNG_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
18
19/*---------------------------------------------------------------------------*/
20/*---------------------------------------------------------------------------*/
21
22namespace Arcane
23{
24
25/*---------------------------------------------------------------------------*/
26/*---------------------------------------------------------------------------*/
27
28
29/*---------------------------------------------------------------------------*/
30/*---------------------------------------------------------------------------*/
42class ARCANE_CORE_EXPORT ICheckpointMng
43{
44 public:
45
46 virtual ~ICheckpointMng() = default;
47
48 public:
49
57 ARCANE_DEPRECATED_122 virtual void readCheckpoint() = 0;
58
64 virtual void readCheckpoint(ICheckpointReader* reader) = 0;
65
79 virtual ARCANE_DEPRECATED_2018 void readCheckpoint(ByteConstArrayView infos) = 0;
80
87 virtual CheckpointInfo readCheckpointInfo(Span<const Byte> infos, const String& buf_name) = 0;
88
94 virtual void readCheckpoint(const CheckpointInfo& checkpoint_info) = 0;
95
112 virtual ARCANE_DEPRECATED_2018 void readDefaultCheckpoint() = 0;
113
127
135 ARCANE_DEPRECATED_122 virtual void writeCheckpoint(ICheckpointWriter* writer) = 0;
136
149 virtual void writeCheckpoint(ICheckpointWriter* writer, ByteArray& infos) = 0;
150
160 virtual void writeDefaultCheckpoint(ICheckpointWriter* writer) = 0;
161
169
177};
178
179/*---------------------------------------------------------------------------*/
180/*---------------------------------------------------------------------------*/
181
182} // namespace Arcane
183
184/*---------------------------------------------------------------------------*/
185/*---------------------------------------------------------------------------*/
186
187#endif
188
Déclarations des types généraux de Arcane.
Informations sur une protection.
Interface du gestionnaire des informations des protections.
virtual IObservable * writeObservable()=0
Observable en écriture.
virtual ARCANE_DEPRECATED_2018 void readCheckpoint(ByteConstArrayView infos)=0
Lit une protection.
virtual ~ICheckpointMng()=default
Libère les ressources.
virtual ARCANE_DEPRECATED_122 void readCheckpoint()=0
Lit une protection.
virtual CheckpointInfo readCheckpointInfo(Span< const Byte > infos, const String &buf_name)=0
Lit les informations d'une protection.
virtual ARCANE_DEPRECATED_2018 void readDefaultCheckpoint()=0
Lit une protection par défaut.
virtual ARCANE_DEPRECATED_122 void writeCheckpoint(ICheckpointWriter *writer)=0
Écrit une protection par défaut avec l'écrivain writer.
virtual void readCheckpoint(const CheckpointInfo &checkpoint_info)=0
Lit une protection.
virtual void readCheckpoint(ICheckpointReader *reader)=0
Lit une protection.
virtual CheckpointInfo readDefaultCheckpointInfo()=0
Lit les informations de protection par défaut.
virtual IObservable * readObservable()=0
Observable en lecture.
virtual void writeDefaultCheckpoint(ICheckpointWriter *writer)=0
Écrit une protection avec l'écrivain writer.
virtual void writeCheckpoint(ICheckpointWriter *writer, ByteArray &infos)=0
Écrit une protection avec l'écrivain writer.
Interface du service de lecture d'une protection/reprise.
Interface du service d'écriture d'une protection/reprise.
Interface d'un observable.
Vue d'un tableau d'éléments de type T.
Definition Span.h:513
Chaîne de caractères unicode.
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
Array< Byte > ByteArray
Tableau dynamique à une dimension de caractères.
Definition UtilsTypes.h:208
ConstArrayView< Byte > ByteConstArrayView
Equivalent C d'un tableau à une dimension de caractères.
Definition UtilsTypes.h:563