Debian Codegraph @

Source/Reasoner/Preprocess/Events/CPreprocessOntologyEvent.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_PREPROCESS_EVENTS_CPREPROCESSONTOLOGYEVENT_H
22 #define KONCLUDE_REASONER_PREPROCESS_EVENTS_CPREPROCESSONTOLOGYEVENT_H
23
24
25
26 // Libraries includes
27
28
29 // Namespace includes
30 #include "../PreprocessSettings.h"
31
32
33 // Other includes
34 #include "Concurrent/Events/CCustomEvent.h"
35 #include "Concurrent/Callback/CCallbackData.h"
36
37 #include "Reasoner/Ontology/CConcreteOntology.h"
38 #include "Reasoner/Ontology/COntologyProcessingRequirement.h"
39
40 #include "Config/CConfigurationBase.h"
41
42 // Logger includes
43 #include "Logger/CLogger.h"
44
45
46
47 namespace Konclude {
48
49 using namespace Concurrent::Events;
50 using namespace Concurrent::Callback;
51 using namespace Config;
52
53 namespace Reasoner {
54
55 using namespace Ontology;
56
57 namespace Preprocess {
58
59 namespace Events {
60
61
62
63 /*!
64 * \class CPreprocessOntologyEvent
65 * \author Andreas Steigmiller
66 * \version 0.1
67 * \brief
68 */
69 class CPreprocessOntologyEvent : public CCustomEvent {
70 // public methods
71 public:
72 //! Constructor
73 CPreprocessOntologyEvent(CConcreteOntology* ontology, CConfigurationBase* configuration, const QList<COntologyProcessingRequirement*>& requirementList, CCallbackData* callbackData = 0);
74 CPreprocessOntologyEvent(CConcreteOntology* ontology, CConfigurationBase* configuration, CCallbackData* callbackData = 0);
75
76 //! Destructor
77 virtual ~CPreprocessOntologyEvent();
78
79 CConcreteOntology* getOntology();
80 CCallbackData* getCallbackData();
81 CConfigurationBase* getConfiguration();
82 QList<COntologyProcessingRequirement*>* getPreprocessingRequirementList();
83
84 static const QEvent::Type EVENTTYPE = EVENTPPREPROCESSONTOLOGY;
85
86 // protected methods
87 protected:
88
89 // protected variables
90 protected:
91 CConcreteOntology* onto;
92 CConfigurationBase* config;
93 CCallbackData* callback;
94 QList<COntologyProcessingRequirement*> mRequirementList;
95
96 // private methods
97 private:
98
99 // private variables
100 private:
101
102 };
103
104 }; // end namespace Events
105
106 }; // end namespace Preprocess
107
108 }; // end namespace Reasoner
109
110 }; // end namespace Konclude
111
112 #endif // KONCLUDE_REASONER_PREPROCESS_EVENTS_CPREPROCESSONTOLOGYEVENT_H