Debian Codegraph @

Source/Reasoner/Kernel/Manager/Events/CCalcQueryEvent.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_CCALCQUERYEVENT_H
22 #define KONCLUDE_REASONER_KERNEL_MANAGER_EVENTS_CCALCQUERYEVENT_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
39 // Logger includes
40 #include "Logger/CLogger.h"
41
42
43
44 namespace Konclude {
45
46 using namespace Concurrent::Events;
47
48 namespace Reasoner {
49
50 using namespace Query;
51
52 namespace Kernel {
53
54 namespace Manager {
55
56 namespace Events {
57
58
59
60 /*!
61 * \class CCalcQueryEvent
62 * \author Andreas Steigmiller
63 * \version 0.1
64 * \brief
65 */
66 class CCalcQueryEvent : public CCustomEvent {
67 // public methods
68 public:
69 //! Constructor
70 CCalcQueryEvent(CQuery *query, CCallbackData *callback);
71
72 //! Destructor
73 virtual ~CCalcQueryEvent();
74
75 CQuery *getQuery();
76 CCallbackData *getCallbackData();
77
78 static const QEvent::Type EVENTTYPE = EVENTCALCQUERY;
79
80 // protected methods
81 protected:
82
83 // protected variables
84 protected:
85 CQuery *query;
86 CCallbackData *callbackData;
87
88
89 // private methods
90 private:
91
92 // private variables
93 private:
94
95 };
96
97 }; // end namespace Events
98
99 }; // end namespace Manager
100
101 }; // end namespace Kernel
102
103 }; // end namespace Reasoner
104
105 }; // end namespace Konclude
106
107 #endif // KONCLUDE_REASONER_KERNEL_MANAGER_EVENTS_CCALCQUERYEVENT_H