Debian Codegraph @

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