Debian Codegraph @

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