Debian Codegraph @

Source/Reasoner/Kernel/Manager/CPreprocessingManager.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_MANAGER_CPREPROCESSINGMANAGER_H
22 #define KONCLUDE_REASONER_KERNEL_MANAGER_CPREPROCESSINGMANAGER_H
23
24 // Libraries includes
25 #include <QReadWriteLock>
26 #include <QHash>
27
28 // Namespace includes
29 #include "ManagerSettings.h"
30
31 // Other includes
32 #include "Reasoner/Preprocess/CPreprocessor.h"
33 #include "Reasoner/Preprocess/CRequirementConfigPreprocessingThread.h"
34
35 #include "Reasoner/Ontology/CConcreteOntology.h"
36
37 #include "Config/CConfigurationProvider.h"
38
39 #include "Control/Command/CConfigManagerReader.h"
40
41 // Logger includes
42 #include "Logger/CLogger.h"
43
44
45
46 namespace Konclude {
47
48 using namespace Config;
49 using namespace Control::Command;
50
51 namespace Reasoner {
52
53 using namespace Preprocess;
54 using namespace Ontology;
55
56 namespace Kernel {
57
58 namespace Manager {
59
60
61 /*!
62 *
63 * \class CPreprocessingManager
64 * \author Andreas Steigmiller
65 * \version 0.1
66 * \brief TODO
67 *
68 */
69 class CPreprocessingManager {
70 // public methods
71 public:
72 //! Constructor
73 CPreprocessingManager(CReasonerManager* reasonerManager);
74
75 //! Destructor
76 virtual ~CPreprocessingManager();
77
78 virtual CPreprocessor* getPreprocessor(CConcreteOntology *ontology, CConfigurationBase *config);
79
80
81 // protected methods
82 protected:
83
84 // protected variables
85 protected:
86 CReasonerManager* mReasonerManager;
87 QReadWriteLock mReadWriteLock;
88 QHash<CConcreteOntology*,CPreprocessor*> mOntoPreprocessHash;
89
90 // private methods
91 private:
92
93 // private variables
94 private:
95
96 };
97
98 }; // end namespace Manager
99
100 }; // end namespace Kernel
101
102 }; // end namespace Reasoner
103
104 }; // end namespace Konclude
105
106 #endif // KONCLUDE_REASONER_KERNEL_MANAGER_CPREPROCESSINGMANAGER_H