|
1 | 1 | // -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
|
2 | 2 | //-----------------------------------------------------------------------------
|
3 |
| -// Copyright 2000-2023 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com) |
| 3 | +// Copyright 2000-2025 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com) |
4 | 4 | // See the top-level COPYRIGHT file for details.
|
5 | 5 | // SPDX-License-Identifier: Apache-2.0
|
6 | 6 | //-----------------------------------------------------------------------------
|
7 | 7 | /*---------------------------------------------------------------------------*/
|
8 |
| -/* IItemFamily.h (C) 2000-2024 */ |
| 8 | +/* IItemFamily.h (C) 2000-2025 */ |
9 | 9 | /* */
|
10 | 10 | /* Interface d'une famille d'entités. */
|
11 | 11 | /*---------------------------------------------------------------------------*/
|
12 |
| -#ifndef ARCANE_IITEMFAMILY_H |
13 |
| -#define ARCANE_IITEMFAMILY_H |
| 12 | +#ifndef ARCANE_CORE_IITEMFAMILY_H |
| 13 | +#define ARCANE_CORE_IITEMFAMILY_H |
14 | 14 | /*---------------------------------------------------------------------------*/
|
15 | 15 | /*---------------------------------------------------------------------------*/
|
16 | 16 |
|
17 |
| -#include "arcane/ArcaneTypes.h" |
18 |
| -#include "arcane/ItemTypes.h" |
19 |
| -#include "arcane/VariableTypedef.h" |
20 |
| -#include "arcane/Parallel.h" |
| 17 | +#include "arcane/core/ArcaneTypes.h" |
| 18 | +#include "arcane/core/ItemTypes.h" |
| 19 | +#include "arcane/core/VariableTypedef.h" |
| 20 | +#include "arcane/core/Parallel.h" |
21 | 21 |
|
22 | 22 | /*---------------------------------------------------------------------------*/
|
23 | 23 | /*---------------------------------------------------------------------------*/
|
24 | 24 |
|
25 | 25 | namespace Arcane
|
26 | 26 | {
|
27 | 27 |
|
28 |
| -/*---------------------------------------------------------------------------*/ |
29 |
| -/*---------------------------------------------------------------------------*/ |
30 |
| - |
31 |
| -class IParallelMng; |
32 |
| -class IDataOperation; |
33 |
| -class ItemUniqueId; |
34 |
| -class IItemInternalSortFunction; |
35 |
| -class IVariableSynchronizer; |
36 |
| -class IParticleFamily; |
37 |
| -class GroupIndexTable; |
38 |
| -class IItemConnectivityInfo; |
39 |
| -class IItemConnectivityMng; |
40 |
| -class IItemConnectivity; |
41 |
| -class IExtraGhostItemsBuilder; |
42 |
| -class IIncrementalItemConnectivity; |
43 |
| -class IItemFamilyPolicyMng; |
44 |
| -class IItemFamilyTopologyModifier; |
45 |
| -class ItemInternalConnectivityList; |
46 |
| -class Properties; |
47 |
| - |
48 |
| -namespace mesh |
49 |
| -{ |
50 |
| - class ItemDataList; |
51 |
| - class DynamicMesh; |
52 |
| - class ItemFamily; |
53 |
| -} |
54 |
| - |
55 | 28 | /*---------------------------------------------------------------------------*/
|
56 | 29 | /*---------------------------------------------------------------------------*/
|
57 | 30 | /*!
|
@@ -109,8 +82,8 @@ namespace mesh
|
109 | 82 | */
|
110 | 83 | class ARCANE_CORE_EXPORT IItemFamily
|
111 | 84 | {
|
112 |
| - friend class mesh::DynamicMesh; |
113 |
| - friend class mesh::ItemFamily; |
| 85 | + friend mesh::DynamicMesh; |
| 86 | + friend mesh::ItemFamily; |
114 | 87 |
|
115 | 88 | public:
|
116 | 89 |
|
@@ -706,6 +679,11 @@ class ARCANE_CORE_EXPORT IItemFamily
|
706 | 679 | //! Propriétés associées à cette famille.
|
707 | 680 | virtual Properties* properties() =0;
|
708 | 681 |
|
| 682 | + public: |
| 683 | + |
| 684 | + //! Evènement pour l'ajout et la suppression d'entité |
| 685 | + virtual EventObservableView<const ItemFamilyItemListChangedEventArgs&> itemListChangedEvent() = 0; |
| 686 | + |
709 | 687 | public:
|
710 | 688 |
|
711 | 689 | /*!
|
|
0 commit comments