Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
ITimeHistoryAdder.h
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2026 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/* ITimeHistoryAdder.h (C) 2000-2024 */
9/* */
10/* Class interface allowing the addition of a value history linked to */
11/* a mesh. */
12/*---------------------------------------------------------------------------*/
13/*---------------------------------------------------------------------------*/
14
15#ifndef ARCANE_ITIMEHISTORYMNGADDER_H
16#define ARCANE_ITIMEHISTORYMNGADDER_H
17
18/*---------------------------------------------------------------------------*/
19/*---------------------------------------------------------------------------*/
20
22#include "arcane/utils/FatalErrorException.h"
23#include "arcane/core/ITimeHistoryMng.h"
24
25/*---------------------------------------------------------------------------*/
26/*---------------------------------------------------------------------------*/
27
28namespace Arcane
29{
30
31/*---------------------------------------------------------------------------*/
32/*---------------------------------------------------------------------------*/
33
39{
40 public:
41
42 virtual ~ITimeHistoryAdder() = default;
43
44 public:
45
52 virtual void addValue(const TimeHistoryAddValueArg& thp, Real value) = 0;
53
60 virtual void addValue(const TimeHistoryAddValueArg& thp, Int32 value) = 0;
61
68 virtual void addValue(const TimeHistoryAddValueArg& thp, Int64 value) = 0;
69
76 virtual void addValue(const TimeHistoryAddValueArg& thp, RealConstArrayView values) = 0;
77
84 virtual void addValue(const TimeHistoryAddValueArg& thp, Int32ConstArrayView values) = 0;
85
92 virtual void addValue(const TimeHistoryAddValueArg& thp, Int64ConstArrayView values) = 0;
93};
94
95/*---------------------------------------------------------------------------*/
96/*---------------------------------------------------------------------------*/
97
98} // namespace Arcane
99
100/*---------------------------------------------------------------------------*/
101/*---------------------------------------------------------------------------*/
102
103#endif
Declarations of types used in Arcane.
Class interface allowing the addition of one or more values to a value history.
virtual ~ITimeHistoryAdder()=default
Frees resources.
virtual void addValue(const TimeHistoryAddValueArg &thp, Int64 value)=0
Method allowing the addition of a value to a history.
virtual void addValue(const TimeHistoryAddValueArg &thp, Int32ConstArrayView values)=0
Method allowing the addition of values to a history.
virtual void addValue(const TimeHistoryAddValueArg &thp, RealConstArrayView values)=0
Method allowing the addition of values to a history.
virtual void addValue(const TimeHistoryAddValueArg &thp, Int32 value)=0
Method allowing the addition of a value to a history.
virtual void addValue(const TimeHistoryAddValueArg &thp, Real value)=0
Method allowing the addition of a value to a history.
virtual void addValue(const TimeHistoryAddValueArg &thp, Int64ConstArrayView values)=0
Method allowing the addition of values to a history.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
std::int64_t Int64
Signed integer type of 64 bits.
ConstArrayView< Int32 > Int32ConstArrayView
C equivalent of a 1D array of 32-bit integers.
Definition UtilsTypes.h:482
ConstArrayView< Int64 > Int64ConstArrayView
C equivalent of a 1D array of 64-bit integers.
Definition UtilsTypes.h:480
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.
Definition UtilsTypes.h:488