Arcane  v3.14.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
ApplicationBuildInfo.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/* ApplicationBuildInfo.h (C) 2000-2022 */
9/* */
10/* Informations pour construire une instance de IApplication. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_UTILS_APPLICATIONBUILDINFO_H
13#define ARCANE_UTILS_APPLICATIONBUILDINFO_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
18
19/*---------------------------------------------------------------------------*/
20/*---------------------------------------------------------------------------*/
21
22namespace Arcane
23{
24class CaseDatasetSource;
25
26/*---------------------------------------------------------------------------*/
27/*---------------------------------------------------------------------------*/
31class ARCANE_CORE_EXPORT ApplicationBuildInfo
32{
33 class Impl;
34 public:
35
40
41 public:
42
43 void setMessagePassingService(const String& name);
44 String messagePassingService() const;
45
46 void setTaskImplementationService(const String& name);
47 void setTaskImplementationServices(const StringList& names);
48 StringList taskImplementationServices() const;
49
50 void setThreadImplementationService(const String& name);
51 void setThreadImplementationServices(const StringList& names);
52 StringList threadImplementationServices() const;
53
54 Int32 nbTaskThread() const;
55 void setNbTaskThread(Integer v);
56
57 Int32 nbSharedMemorySubDomain() const;
58 void setNbSharedMemorySubDomain(Int32 v);
59
60 Int32 nbReplicationSubDomain() const;
61 void setNbReplicationSubDomain(Int32 v);
62
63 Int32 nbProcessusSubDomain() const;
64 void setNbProcessusSubDomain(Int32 v);
65
70 void setConfigFileName(const String& name);
71
82 String configFileName() const;
83
88 void setOutputLevel(Int32 v);
89 Int32 outputLevel() const;
90
95 void setVerbosityLevel(Int32 v);
96 Int32 verbosityLevel() const;
97
98 Int32 minimalVerbosityLevel() const;
99 void setMinimalVerbosityLevel(Int32 v);
100
101 bool isMasterHasOutputFile() const;
102 void setIsMasterHasOutputFile(bool v);
103
111 void setOutputDirectory(const String& name);
112 String outputDirectory() const;
113
114 public:
115
117 void setApplicationName(const String& v);
119 String applicationName() const;
120
122 void setCodeVersion(const VersionInfo& version_info);
124 VersionInfo codeVersion() const;
125
127 void setCodeName(const String& code_name);
129 String codeName() const;
130
132 String threadBindingStrategy() const;
133
135 void threadBindingStrategy(const String& v);
136
138 CaseDatasetSource& caseDatasetSource();
140 const CaseDatasetSource& caseDatasetSource() const;
141
142 public:
143
148 void internalSetDefaultMessagePassingService(const String& name);
149 String internalDefaultMessagePassingService() const;
150
151 public:
152
160 void addDynamicLibrary(const String& lib_name);
161
162 public:
163
164 void addParameter(const String& name,const String& value);
172 void parseArguments(const CommandLineArguments& args);
173
174 public:
175
176 ApplicationInfo& _internalApplicationInfo();
177 const ApplicationInfo& _internalApplicationInfo() const;
178
179 public:
180
181 void setDefaultValues();
182 void setDefaultServices();
183
184 private:
185
186 Impl* m_p;
187};
188
189/*---------------------------------------------------------------------------*/
190/*---------------------------------------------------------------------------*/
191
192} // End namespace Arcane
193
194/*---------------------------------------------------------------------------*/
195/*---------------------------------------------------------------------------*/
196
197#endif
198
Déclarations des types utilisés dans Arcane.
Informations pour construire une instance de IApplication.
Informations sur une application.
Source d'un jeu de données d'un cas.
Arguments de la ligne de commande.
Lecteur des fichiers de maillage via la bibliothèque LIMA.
Definition Lima.cc:120
Informations sur une version.
Definition VersionInfo.h:46
Chaîne de caractères unicode.
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-