Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
IModuleMaster.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/* IModuleMaster.h (C) 2000-2025 */
9/* */
10/* Interface of the Master module. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_CORE_IMODULEMASTER_H
13#define ARCANE_CORE_IMODULEMASTER_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
18
19/*---------------------------------------------------------------------------*/
20/*---------------------------------------------------------------------------*/
21
22namespace Arcane
23{
24
25/*---------------------------------------------------------------------------*/
26/*---------------------------------------------------------------------------*/
27
35class ARCANE_CORE_EXPORT IModuleMaster
36{
37 public:
38
40
41 virtual ~IModuleMaster() {}
42
43 public:
44
46
48
49 public:
50
53
55
56 virtual IModule* toModule() = 0;
57
60
62 virtual void addTimeLoopService(ITimeLoopService* tls) = 0;
63
72 virtual void dumpStandardCurves() = 0;
73};
74
75/*---------------------------------------------------------------------------*/
76/*---------------------------------------------------------------------------*/
77
78} // namespace Arcane
79
80/*---------------------------------------------------------------------------*/
81/*---------------------------------------------------------------------------*/
82
83#endif
Declarations of Arcane's general types.
Common variables of a case.
Interface of the main module.
virtual void dumpStandardCurves()=0
Outputs the standard curves.
static IModuleMaster * createDefault(const ModuleBuildInfo &)
Creation of an instance of IModuleMaster.
virtual IModule * toModule()=0
Conversion to standard module.
virtual void addTimeLoopService(ITimeLoopService *tls)=0
Adds the time loop service.
virtual CommonVariables * commonVariables()=0
Access to 'common' variables shared between all services and modules.
virtual CaseOptionsMain * caseoptions()=0
Returns the options of this module.
virtual ~IModuleMaster()
Destructor.
Interface of a module.
Definition IModule.h:40
Interface of a service operating during the time loop.
Information for building a module.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --