12#ifndef ARCANE_CORE_INTERNAL_ITIMEHISTORYMNGINTERNAL_H
13#define ARCANE_CORE_INTERNAL_ITIMEHISTORYMNGINTERNAL_H
19#include "arcane/core/ITimeHistoryMng.h"
20#include "arcane/core/IPropertyMng.h"
21#include "arcane/core/Directory.h"
22#include "arcane/core/MeshHandle.h"
42class ARCANE_CORE_EXPORT TimeHistoryAddValueArgInternal
53 , m_mesh_handle(mesh_handle)
56 TimeHistoryAddValueArgInternal(
const String& name,
bool end_time,
Integer subdomain_id)
57 : m_thp(name, end_time, subdomain_id)
64 const MeshHandle& meshHandle()
const {
return m_mesh_handle; }
Declarations of types used in Arcane.
Class managing a directory.
Interface of the property manager.
Interface for a curve writer.
Interface for the internal part of a value history manager.
virtual bool isIOMasterWriteOnly()=0
Method allowing to know if only the master process calls the writers.
virtual void setIOMasterWriteOnly(bool is_active)=0
Method allowing to define if only the master process calls the writers.
virtual bool isMasterIOOfSubDomain()=0
Method allowing to know if our process is the writer for our subdomain. In the case where replication...
virtual bool isMasterIO()=0
Method allowing to know if our process is the writer.
virtual bool isShrinkActive() const =0
Returns a boolean indicating if the history is compressed.
virtual void updateGlobalTimeCurve()=0
Method allowing the GlobalTime array to be copied into the global GlobalTime variable.
virtual void addObservers(IPropertyMng *prop_mng)=0
Method allowing observers saving the history before a checkpoint to be added.
virtual void setDumpActive(bool is_active)=0
Sets the output activation status.
virtual void dumpCurves(ITimeHistoryCurveWriter2 *writer)=0
Method allowing curves to be written using the provided writer.
virtual void dumpHistory()=0
Method allowing all curves to be written using all registered writers.
virtual bool isNonIOMasterCurvesEnabled()=0
Method allowing to know if all processes can have a value history.
virtual void addValue(const TimeHistoryAddValueArgInternal &thpi, Int32ConstArrayView values)=0
Method allowing values to be added to a history.
virtual void setShrinkActive(bool is_active)=0
Sets the boolean indicating if the history is compressed.
virtual void resizeArrayAfterRestore()=0
Method allowing the value arrays to be resized after a restart.
virtual void setActive(bool is_active)=0
Sets the activation status.
virtual void editOutputPath(const Directory &directory)=0
Method allowing the curve output directory to be changed.
virtual void addValue(const TimeHistoryAddValueArgInternal &thpi, RealConstArrayView values)=0
Method allowing values to be added to a history.
virtual void addValue(const TimeHistoryAddValueArgInternal &thpi, Int64ConstArrayView values)=0
Method allowing values to be added to a history.
virtual ~ITimeHistoryMngInternal()=default
Releases resources.
virtual void iterationsAndValues(const TimeHistoryAddValueArgInternal &thpi, UniqueArray< Int32 > &iterations, UniqueArray< Real > &values)=0
Method allowing the iterations and values of a history to be outputted.
virtual bool active() const =0
Indicates the activation status.
virtual void applyTransformation(ITimeHistoryTransformer *v)=0
Applies the transformation v to all curves.
virtual void readVariables(IMeshMng *mesh_mng, IMesh *default_mesh)=0
Method allowing previously written curves to be retrieved during a restart.
virtual void updateMetaData()=0
Method allowing the curve metadata to be updated.
virtual void addValue(const TimeHistoryAddValueArgInternal &thpi, Int64 value)=0
Method allowing a value to be added to a history.
virtual void addCurveWriter(Ref< ITimeHistoryCurveWriter2 > writer)=0
Method allowing a writer to be added for curve output.
virtual bool isDumpActive() const =0
Indicates the output activation status.
virtual void addValue(const TimeHistoryAddValueArgInternal &thpi, Int32 value)=0
Method allowing a value to be added to a history.
virtual void addNowInGlobalTime()=0
Method allowing the current GlobalTime to be added to the GlobalTimes array.
virtual void removeCurveWriter(const String &name)=0
Method allowing a writer to be removed.
virtual void addValue(const TimeHistoryAddValueArgInternal &thpi, Real value)=0
Method allowing a value to be added to a history.
Interface of an object transforming history curves.
Reference to an instance.
Unicode character string.
Class extending the arguments when adding a value to a value history.
1D data vector with value semantics (STL style).
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
std::int64_t Int64
Signed integer type of 64 bits.
Int32 Integer
Type representing an integer.
ConstArrayView< Int32 > Int32ConstArrayView
C equivalent of a 1D array of 32-bit integers.
ConstArrayView< Int64 > Int64ConstArrayView
C equivalent of a 1D array of 64-bit integers.
double Real
Type representing a real number.
std::int32_t Int32
Signed integer type of 32 bits.
ConstArrayView< Real > RealConstArrayView
C equivalent of a 1D array of reals.