Debian Codegraph @

Source/Reasoner/Consistiser/Events/CRetrievedPrecomputationIndividualsCallbackEvent.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_CRETRIEVEDPRECOMPUTATIONINDIVIDUALSCALLBACKEVENT_H
22 #define KONCLUDE_REASONER_CONSISTISER_EVENTS_CRETRIEVEDPRECOMPUTATIONINDIVIDUALSCALLBACKEVENT_H
23
24
25
26 // Libraries includes
27
28
29 // Namespace includes
30 #include "../ConsistiserSettings.h"
31 #include "../CPrecomputationTestingItem.h"
32
33
34 // Other includes
35 #include "Concurrent/Events/CCustomEvent.h"
36
37 #include "Reasoner/Ontology/CConcreteOntology.h"
38
39 #include "Concurrent/Callback/CCallbackData.h"
40
41 #include "Reasoner/Query/CApproximatedSaturationCalculationJob.h"
42
43 // Logger includes
44 #include "Logger/CLogger.h"
45
46
47
48 namespace Konclude {
49
50 using namespace Concurrent::Events;
51 using namespace Concurrent::Callback;
52
53 namespace Reasoner {
54
55 using namespace Ontology;
56 using namespace Taxonomy;
57 using namespace Query;
58
59 namespace Consistiser {
60
61 namespace Events {
62
63
64
65 /*!
66 * \class CRetrievedPrecomputationIndividualsCallbackEvent
67 * \author Andreas Steigmiller
68 * \version 0.1
69 * \brief
70 */
71 class CRetrievedPrecomputationIndividualsCallbackEvent : public CCustomEvent, public CCallbackData {
72 // public methods
73 public:
74 //! Constructor
75 CRetrievedPrecomputationIndividualsCallbackEvent(CThread *receiverThread, COntologyPrecomputationItem* ontItem);
76
77 //! Destructor
78 virtual ~CRetrievedPrecomputationIndividualsCallbackEvent();
79
80 static const QEvent::Type EVENTTYPE = EVENTRETRIEVEDPRECOMPUATIONINDIVIDUALSCALLBACK;
81
82 virtual void doCallback();
83
84 COntologyPrecomputationItem* getOntologyPrecomputationItem();
85
86
87 // protected methods
88 protected:
89
90 // protected variables
91 protected:
92 CThread *recThread;
93 COntologyPrecomputationItem* mOntItem;
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_CRETRIEVEDPRECOMPUTATIONINDIVIDUALSCALLBACKEVENT_H