Debian Codegraph @

Source/Reasoner/Kernel/Calculation/CConfigDependedCalculationEnvironmentFactory.h

raw
1 /*
2 * Copyright (C) 2013-2015, 2019 by the Konclude Developer Team.
3 *
4 * This file is part of the reasoning system Konclude.
5 * For details and support, see <http://konclude.com/>.
6 *
7 * Konclude is free software: you can redistribute it and/or modify
8 * it under the terms of version 3 of the GNU Lesser General Public
9 * License (LGPLv3) as published by the Free Software Foundation.
10 *
11 * Konclude is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU (Lesser) General Public License for more details.
15 *
16 * You should have received a copy of the GNU (Lesser) General Public
17 * License along with Konclude. If not, see <http://www.gnu.org/licenses/>.
18 *
19 */
20
21 #ifndef KONCLUDE_REASONER_KERNEL_CALCULATION_CCONFIGDEPENDEDCALCULATIONENVIRONMENTFACTORY_H
22 #define KONCLUDE_REASONER_KERNEL_CALCULATION_CCONFIGDEPENDEDCALCULATIONENVIRONMENTFACTORY_H
23
24 // Libraries includes
25
26
27 // Namespace includes
28 #include "CConcurrentTaskCalculationEnvironment.h"
29 #include "CCalculationEnvironmentFactory.h"
30 #include "CTaskHandleAlgorithmBuilder.h"
31
32 // Other includes
33 #include "Reasoner/Kernel/Task/CSatisfiableCalculationTaskJobCallbackExecuter.h"
34 #include "Reasoner/Kernel/Task/CSatisfiableCalculationTaskStatusPropagator.h"
35
36 #include "Config/CConfigurationProvider.h"
37 #include "Config/CConfigDataReader.h"
38
39 #include "Utilities/Memory/CCentralizedAllocationConfigProvidedDependendLimitation.h"
40 #include "Utilities/Memory/CNewCentralizedLimitedAllocationMemoryPoolProvider.h"
41
42 // Logger includes
43 #include "Logger/CLogger.h"
44
45
46
47 namespace Konclude {
48
49 using namespace Config;
50 using namespace Scheduler;
51 using namespace Utilities::Memory;
52
53 namespace Reasoner {
54
55 namespace Kernel {
56
57 namespace Calculation {
58
59
60 /*!
61 *
62 * \class CConfigDependedCalculationEnvironmentFactory
63 * \author Andreas Steigmiller
64 * \version 0.1
65 * \brief TODO
66 *
67 */
68 class CConfigDependedCalculationEnvironmentFactory : public CCalculationEnvironmentFactory {
69 // public methods
70 public:
71 //! Constructor
72 CConfigDependedCalculationEnvironmentFactory(CTaskHandleAlgorithmBuilder* taskHandleAlgBuilder);
73
74 //! Destructor
75 virtual ~CConfigDependedCalculationEnvironmentFactory();
76
77 virtual CCalculationEnviroment *createCalculationContext(CConfigurationProvider* configProvider);
78
79
80 // protected methods
81 protected:
82
83 // protected variables
84 protected:
85 CTaskHandleAlgorithmBuilder* mTaskHandleAlgBuilder;
86
87 // private methods
88 private:
89
90 // private variables
91 private:
92
93 };
94
95 }; // end namespace Calculation
96
97 }; // end namespace Kernel
98
99 }; // end namespace Reasoner
100
101 }; // end namespace Konclude
102
103 #endif // KONCLUDE_REASONER_KERNEL_CALCULATION_CCONFIGDEPENDEDCALCULATIONENVIRONMENTFACTORY_H