Arcane  4.1.12.0
User 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
29/*!
30 * \brief Interface of a functor.
31 * \ingroup Core
32 */
33class ARCANE_UTILS_EXPORT IFunctorWithAddress
34: public IFunctor
35{
36 public:
37
38 //! Frees resources
40
41 public:
42
43 /*!
44 * \internal
45 * \brief Returns the address of the associated method.
46 * \warning This method must only be called by HYODA
47 * and is not valid on all platforms.
48 */
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.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --