Debian Codegraph @

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