Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
AnyItemFamilyObserver.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/* AnyItemFamilyObserver.h (C) 2000-2025 */
9/* */
10/* Observer Interfaces for family and link family */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_CORE_ANYITEM_ANYITEMFAMILYOBSERVER_H
13#define ARCANE_CORE_ANYITEM_ANYITEMFAMILYOBSERVER_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
17#include "arcane/core/anyitem/AnyItemGlobal.h"
18
19/*---------------------------------------------------------------------------*/
20/*---------------------------------------------------------------------------*/
21
22namespace Arcane::AnyItem
23{
24
25/*---------------------------------------------------------------------------*/
26/*---------------------------------------------------------------------------*/
27
32{
33 public:
34
35 virtual ~IFamilyObserver() {}
36
38 virtual void notifyFamilyIsInvalidate() = 0;
39
41 virtual void notifyFamilyIsIncreased() = 0;
42};
43
44/*---------------------------------------------------------------------------*/
45
50{
51 public:
52
53 virtual ~ILinkFamilyObserver() {}
54
56 virtual void notifyFamilyIsInvalidate() = 0;
57
59 virtual void notifyFamilyIsReserved() = 0;
60};
61
62/*---------------------------------------------------------------------------*/
63/*---------------------------------------------------------------------------*/
64
65} // namespace Arcane::AnyItem
66
67/*---------------------------------------------------------------------------*/
68/*---------------------------------------------------------------------------*/
69
70#endif
AnyItem family observer interface.
virtual void notifyFamilyIsIncreased()=0
Notifies the observer that the family has been increased.
virtual void notifyFamilyIsInvalidate()=0
Notifies the observer that the family is invalidated.
AnyItem link family observer interface.
virtual void notifyFamilyIsInvalidate()=0
Notifies the observer that the family is invalidated.
virtual void notifyFamilyIsReserved()=0
Notifies the observer that the family is reserved.