Arcane  v3.16.4.0
Documentation utilisateur
Chargement...
Recherche...
Aucune correspondance
ITimeLoopService.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/* ITimeLoopService.cc (C) 2000-2025 */
9/* */
10/* Interface d'un service opérant lors de la boucle en temps. */
11/*---------------------------------------------------------------------------*/
12/*---------------------------------------------------------------------------*/
13#ifndef ARCANE_CORE_ITIMELOOPSERVICE_H
14#define ARCANE_CORE_ITIMELOOPSERVICE_H
15/*---------------------------------------------------------------------------*/
16/*---------------------------------------------------------------------------*/
17
19
20/*---------------------------------------------------------------------------*/
21/*---------------------------------------------------------------------------*/
22
23namespace Arcane
24{
25
26/*---------------------------------------------------------------------------*/
27/*---------------------------------------------------------------------------*/
28/*!
29 * \ingroup StandardService
30 * \brief Interface d'un service opérant lors de la boucle en temps.
31 *
32 * Un service implémentant cette interface permet de spécifier une
33 * action qui sera effectuée à un point précis de la boucle en temps.
34 */
36{
37 public:
38
39 virtual ~ITimeLoopService() = default;
40
41 public:
42
43 virtual void onTimeLoopBeginLoop() = 0;
44 virtual void onTimeLoopEndLoop() = 0;
45 virtual void onTimeLoopStartInit() = 0;
46 virtual void onTimeLoopContinueInit() = 0;
47 virtual void onTimeLoopExit() = 0;
48 virtual void onTimeLoopMeshChanged() = 0;
49 virtual void onTimeLoopRestore() = 0;
50};
51
52/*---------------------------------------------------------------------------*/
53/*---------------------------------------------------------------------------*/
54
55} // namespace Arcane
56
57/*---------------------------------------------------------------------------*/
58/*---------------------------------------------------------------------------*/
59
60#endif
Fichier de configuration d'Arcane.
Interface d'un service opérant lors de la boucle en temps.
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-