Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
StandaloneAcceleratorMng.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/* StandaloneAcceleratorMng.h (C) 2000-2025 */
9/* */
10/* Standalone implementation (without IApplication) of 'IAcceleratorMng.h'. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_LAUNCHER_STANDALONEACCELERATORMNG_H
13#define ARCANE_LAUNCHER_STANDALONEACCELERATORMNG_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
17#include "arcane/launcher/LauncherGlobal.h"
18
19#include "arcane/utils/Ref.h"
21
22/*---------------------------------------------------------------------------*/
23/*---------------------------------------------------------------------------*/
24
25namespace Arcane
26{
27
28/*---------------------------------------------------------------------------*/
29/*---------------------------------------------------------------------------*/
30
31/*!
32 * \brief Standalone implementation of 'IAcceleratorMng.h'.
33 *
34 * Instances of this class are created by
35 * ArcaneLauncher::createStandaloneAcceleratorMng().
36 *
37 * This class uses a reference semantics.
38 *
39 * This instance allows using the %Arcane functionalities managing the
40 * accelerators without being forced to create a classic %Arcane application.
41 */
42class ARCANE_LAUNCHER_EXPORT StandaloneAcceleratorMng
43{
44 friend class ArcaneLauncher;
45 class Impl;
46
47 public:
48
49 StandaloneAcceleratorMng();
50
51 public:
52
53 //! Associated trace manager.
54 ITraceMng* traceMng() const;
55
56 //! Associated accelerator manager.
58
59 private:
60
61 Ref<Impl> m_p;
62};
63
64/*---------------------------------------------------------------------------*/
65/*---------------------------------------------------------------------------*/
66
67} // End namespace Arcane
68
69/*---------------------------------------------------------------------------*/
70/*---------------------------------------------------------------------------*/
71
72#endif
Declarations of Arcane's general types.
Reference to an instance.
ITraceMng * traceMng() const
Associated trace manager.
IAcceleratorMng * acceleratorMng() const
Associated accelerator manager.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --