Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
DataFactory.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/* DataFactory.h (C) 2000-2021 */
9/* */
10/* Data factory. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_IMPL_DATAFACTORY_H
13#define ARCANE_IMPL_DATAFACTORY_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
17#include "arcane/core/IDataFactory.h"
18
19/*---------------------------------------------------------------------------*/
20/*---------------------------------------------------------------------------*/
21
22namespace Arcane
23{
24
25/*---------------------------------------------------------------------------*/
26/*---------------------------------------------------------------------------*/
27
31class DataFactory
32: public IDataFactory
33{
34 public:
35
36 DataFactory(IApplication* sm);
37 virtual ~DataFactory();
38
39 public:
40
41 void build() override;
42
43 IApplication* application() override { return m_application; }
44
46
47 private:
48
49 IApplication* m_application;
50};
51
52/*---------------------------------------------------------------------------*/
53/*---------------------------------------------------------------------------*/
54
55} // End namespace Arcane
56
57/*---------------------------------------------------------------------------*/
58/*---------------------------------------------------------------------------*/
59
60#endif
void build() override
Builds the instance.
IDataOperation * createDataOperation(Parallel::eReduceType rt) override
Creates an operation performing a reduction of type rt.
IApplication * application() override
Application.
Definition DataFactory.h:43
Application interface.
Interface of a data factory.
Interface of an operation on a data.
eReduceType
Supported reduction types.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --