Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
IFunctorWithAddress.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/* IFunctorWithAddress.h (C) 2000-2012 */
9/* */
10/* Interface of a functor. */
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
23namespace Arcane
24{
25
26/*---------------------------------------------------------------------------*/
27/*---------------------------------------------------------------------------*/
28
33class ARCANE_UTILS_EXPORT IFunctorWithAddress
34: public IFunctor
35{
36 public:
37
40
41 public:
42
49 virtual void* functorAddress() = 0;
50};
51
52/*---------------------------------------------------------------------------*/
53/*---------------------------------------------------------------------------*/
54
55} // namespace Arcane
56
57/*---------------------------------------------------------------------------*/
58/*---------------------------------------------------------------------------*/
59
60#endif
Arcane configuration file.
Interface of a functor.
virtual ~IFunctorWithAddress()
Frees resources.
virtual void * functorAddress()=0
Returns the address of the associated method.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --