Arcane  v3.14.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
MeshEvents.h
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2023 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/* MeshEvents.h (C) 2000-2023 */
9/* */
10/* Evènements sur un maillage. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_CORE_MESHEVENTS_H
13#define ARCANE_CORE_MESHEVENTS_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
18
19/*---------------------------------------------------------------------------*/
20/*---------------------------------------------------------------------------*/
21
22namespace Arcane
23{
24
25/*---------------------------------------------------------------------------*/
26/*---------------------------------------------------------------------------*/
27
36
37/*---------------------------------------------------------------------------*/
38/*---------------------------------------------------------------------------*/
42class ARCANE_CORE_EXPORT MeshEventArgs
43{
44 public:
45
47 : m_mesh(mesh)
48 , m_type(type)
49 {}
50
51 public:
52
53 IMesh* mesh() const { return m_mesh; }
54 eMeshEventType type() const { return m_type; }
55
56 private:
57
58 IMesh* m_mesh = nullptr;
59 eMeshEventType m_type;
60};
61
62/*---------------------------------------------------------------------------*/
63/*---------------------------------------------------------------------------*/
64
65} // namespace Arcane
66
67/*---------------------------------------------------------------------------*/
68/*---------------------------------------------------------------------------*/
69
70#endif
Déclarations des types généraux de Arcane.
Arguments des évènements sur le maillage.
Definition MeshEvents.h:43
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
eMeshEventType
Evènements générés par IMesh.
Definition MeshEvents.h:30
@ EndPrepareDump
Evènement envoyé à la fin de prepareForDump()
@ BeginPrepareDump
Evènement envoyé au début de prepareForDump()