Debian Codegraph @

Source/Reasoner/Answerer/Events/CAnswerComplexQueryEvent.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_ANSWERER_EVENTS_CANSWERCOMPLEXQUERYEVENT_H
22 #define KONCLUDE_REASONER_ANSWERER_EVENTS_CANSWERCOMPLEXQUERYEVENT_H
23
24
25
26 // Libraries includes
27
28
29 // Namespace includes
30 #include "../AnswererSettings.h"
31 #include "../CAnsweringHandler.h"
32
33
34 // Other includes
35 #include "Concurrent/Events/CCustomEvent.h"
36
37 #include "Utilities/Memory/CMemoryPool.h"
38
39 #include "Reasoner/Query/CComplexAnsweringQuery.h"
40
41
42 // Logger includes
43 #include "Logger/CLogger.h"
44
45
46
47 namespace Konclude {
48
49 using namespace Concurrent::Events;
50 using namespace Utilities::Memory;
51
52 namespace Reasoner {
53
54 using namespace Ontology;
55 using namespace Query;
56
57 namespace Answerer {
58
59 namespace Events {
60
61
62
63 /*!
64 * \class CAnswerComplexQueryEvent
65 * \author Andreas Steigmiller
66 * \version 0.1
67 * \brief
68 */
69 class CAnswerComplexQueryEvent : public CCustomEvent {
70 // public methods
71 public:
72 //! Constructor
73 CAnswerComplexQueryEvent(CComplexAnsweringQuery* complexQuery, CCallbackData* callbackData);
74
75 CComplexAnsweringQuery* getComplexQuery();
76 CCallbackData* getCallbackData();
77
78 static const QEvent::Type EVENTTYPE = EVENTANSWERCOMPLEXQUERY;
79
80 // protected methods
81 protected:
82
83 // protected variables
84 protected:
85 CComplexAnsweringQuery* mComplexQuery;
86 CCallbackData* mCallbackData;
87
88
89 // private methods
90 private:
91
92 // private variables
93 private:
94
95 };
96
97 }; // end namespace Events
98
99 }; // end namespace Answerer
100
101 }; // end namespace Reasoner
102
103 }; // end namespace Konclude
104
105 #endif // KONCLUDE_REASONER_ANSWERER_EVENTS_CANSWERCOMPLEXQUERYEVENT_H