Arcane  v3.14.10.0
Documentation utilisateur
Chargement...
Recherche...
Aucune correspondance
IMeshMaterialVariableFactoryMng.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/* IMeshMaterialVariableFactoryMng.h (C) 2000-2022 */
9/* */
10/* Interface du gestionnaire de fabrique de variables matériaux. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_CORE_MATERIALS_IMESHMATERIALVARIABLEFACTORYMNG_H
13#define ARCANE_CORE_MATERIALS_IMESHMATERIALVARIABLEFACTORYMNG_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
17#include "arcane/ArcaneTypes.h"
18#include "arcane/core/materials/MaterialsCoreGlobal.h"
19
20/*---------------------------------------------------------------------------*/
21/*---------------------------------------------------------------------------*/
22
23namespace Arcane::Materials
24{
25
26/*---------------------------------------------------------------------------*/
27/*---------------------------------------------------------------------------*/
28/*!
29 * \internal
30 * \brief Interface du gestionnaire de fabrique de variables matériaux.
31 */
32class ARCANE_CORE_EXPORT IMeshMaterialVariableFactoryMng
33{
34 public:
35
36 virtual ~IMeshMaterialVariableFactoryMng() = default;
37
38 public:
39
40 //! Construit l'instance
41 virtual void build() =0;
42
43 //! Gestionnaire de trace associé
44 virtual ITraceMng* traceMng() const =0;
45
46 //! Enregistre la fabrique \a factory.
47 virtual void registerFactory(Ref<IMeshMaterialVariableFactory> factory) =0;
48
49 //! Créé une variable matériau.
51 createVariable(const String& storage_type,
52 const MaterialVariableBuildInfo& build_info) =0;
53};
54
55/*---------------------------------------------------------------------------*/
56/*---------------------------------------------------------------------------*/
57
58} // End namespace Arcane::Materials
59
60/*---------------------------------------------------------------------------*/
61/*---------------------------------------------------------------------------*/
62
63#endif
virtual ITraceMng * traceMng() const =0
Gestionnaire de trace associé
virtual void build()=0
Construit l'instance.
virtual IMeshMaterialVariable * createVariable(const String &storage_type, const MaterialVariableBuildInfo &build_info)=0
Créé une variable matériau.
virtual void registerFactory(Ref< IMeshMaterialVariableFactory > factory)=0
Enregistre la fabrique factory.
Interface d'une variable matériau d'un maillage.
Interface du gestionnaire de traces.
Chaîne de caractères unicode.
Active toujours les traces dans les parties Arcane concernant les matériaux.