Arcane
v3.14.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
ObserverPool.cc
1
// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2
//-----------------------------------------------------------------------------
3
// Copyright 2000-2022 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
/* ObserverPool.cc (C) 2000-2004 */
9
/* */
10
/* Liste d'observateurs. */
11
/*---------------------------------------------------------------------------*/
12
/*---------------------------------------------------------------------------*/
13
14
15
#include "arcane/utils/ArcanePrecomp.h"
16
17
#include "arcane/utils/Deleter.h"
18
19
#include "arcane/ObserverPool.h"
20
21
/*---------------------------------------------------------------------------*/
22
/*---------------------------------------------------------------------------*/
23
24
ARCANE_BEGIN_NAMESPACE
25
26
/*---------------------------------------------------------------------------*/
27
/*---------------------------------------------------------------------------*/
28
29
ObserverPool::
30
~ObserverPool()
31
{
32
m_observers.each(
Deleter
());
33
}
34
35
void
ObserverPool::
36
detachAll()
37
{
38
m_observers.each(
Deleter
());
39
m_observers.clear();
40
}
41
42
/*---------------------------------------------------------------------------*/
43
/*---------------------------------------------------------------------------*/
44
45
ARCANE_END_NAMESPACE
46
47
/*---------------------------------------------------------------------------*/
48
/*---------------------------------------------------------------------------*/
49
Arcane::Deleter
Classe utilitaire pour la destruction des objets alloués par new.
Definition
Deleter.h:31
arcane
core
ObserverPool.cc
Généré le Lundi 18 Novembre 2024 03:01:03 pour Arcane par
1.9.8