Arcane  v3.14.10.0
Documentation développeur
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/*---------------------------------------------------------------------------*/
31class ARCANE_UTILS_EXPORT IFunctorWithAddress
32: public IFunctor
33{
34 public:
35
38
39 public:
40
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.
virtual void * functorAddress()=0
Retourne l'adresse de la méthode associé.