Arcane  v3.14.10.0
Documentation utilisateur
Chargement...
Recherche...
Aucune correspondance
IFunctorWithAddress.h
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/* IFunctorWithAddress.h (C) 2000-2012 */
9/* */
10/* Interface d'un fonctor. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_UTILS_IFUNCTOR_WITH_ADDRESS_H
13#define ARCANE_UTILS_IFUNCTOR_WITH_ADDRESS_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
17#include "arcane/utils/IFunctor.h"
19
20/*---------------------------------------------------------------------------*/
21/*---------------------------------------------------------------------------*/
22
23ARCANE_BEGIN_NAMESPACE
24
25/*---------------------------------------------------------------------------*/
26/*---------------------------------------------------------------------------*/
27/*!
28 * \brief Interface d'un fonctor.
29 * \ingroup Core
30 */
31class ARCANE_UTILS_EXPORT IFunctorWithAddress
32: public IFunctor
33{
34 public:
35
36 //! Libère les ressources
38
39 public:
40
41 /*!
42 * \internal
43 * \brief Retourne l'adresse de la méthode associé.
44 * \warning Cette méthode ne doit être appelée que par HYODA
45 * et n'est pas valide sur toutes les plate-formes.
46 */
47 virtual void* functorAddress() =0;
48};
49
50/*---------------------------------------------------------------------------*/
51/*---------------------------------------------------------------------------*/
52
53ARCANE_END_NAMESPACE
54
55/*---------------------------------------------------------------------------*/
56/*---------------------------------------------------------------------------*/
57
58#endif
59
Fichier de configuration d'Arcane.
Interface d'un fonctor.
virtual ~IFunctorWithAddress()
Libère les ressources.