Arcane
v3.14.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
DirectExecutionFunctor.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
/* DirectExecutionFunctor.h (C) 2000-2022 */
9
/* */
10
/* Fonctor pour l'exécution directe. */
11
/*---------------------------------------------------------------------------*/
12
#ifndef ARCANE_LAUNCHER_INTERNAL_DIRECTEXECUTIONFUNCTOR_H
13
#define ARCANE_LAUNCHER_INTERNAL_DIRECTEXECUTIONFUNCTOR_H
14
/*---------------------------------------------------------------------------*/
15
/*---------------------------------------------------------------------------*/
16
17
#include "arcane/launcher/LauncherGlobal.h"
18
19
/*---------------------------------------------------------------------------*/
20
/*---------------------------------------------------------------------------*/
21
22
namespace
Arcane
23
{
24
25
/*---------------------------------------------------------------------------*/
26
/*---------------------------------------------------------------------------*/
27
28
class
ARCANE_LAUNCHER_EXPORT
IDirectExecutionFunctor
29
{
30
public
:
31
virtual
~IDirectExecutionFunctor
(){}
32
virtual
int
execute(
DirectExecutionContext
*)
33
{
34
return
(-1);
35
}
36
};
37
38
/*---------------------------------------------------------------------------*/
39
/*---------------------------------------------------------------------------*/
40
41
class
ARCANE_LAUNCHER_EXPORT
IDirectSubDomainExecutionFunctor
42
{
43
public
:
44
virtual
~IDirectSubDomainExecutionFunctor
(){}
45
virtual
int
execute(
DirectSubDomainExecutionContext
*)
46
{
47
return
(-1);
48
}
49
};
50
51
/*---------------------------------------------------------------------------*/
52
/*---------------------------------------------------------------------------*/
53
54
class
ARCANE_LAUNCHER_EXPORT
DirectExecutionWrapper
55
{
56
public
:
57
static
int
run(
IDirectExecutionFunctor
*);
58
static
int
run(
IDirectSubDomainExecutionFunctor
*);
59
static
int
run();
60
};
61
62
/*---------------------------------------------------------------------------*/
63
/*---------------------------------------------------------------------------*/
64
65
}
// End namespace Arcane
66
67
/*---------------------------------------------------------------------------*/
68
/*---------------------------------------------------------------------------*/
69
70
#endif
Arcane::DirectExecutionContext
Contexte d'exécution directe.
Definition
DirectExecutionContext.h:33
Arcane::DirectExecutionWrapper
Definition
DirectExecutionFunctor.h:55
Arcane::DirectSubDomainExecutionContext
Contexte d'exécution directe avec création d'un sous-domaine.
Definition
DirectSubDomainExecutionContext.h:32
Arcane::IDirectExecutionFunctor
Definition
DirectExecutionFunctor.h:29
Arcane::IDirectSubDomainExecutionFunctor
Definition
DirectExecutionFunctor.h:42
Arcane
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
Definition
AcceleratorGlobal.h:36
arcane
launcher
internal
DirectExecutionFunctor.h
Généré le Lundi 18 Novembre 2024 03:01:36 pour Arcane par
1.9.8