Debian Codegraph @

Source/Reasoner/Answerer/CAnsweringManagerQueryData.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_CANSWERINGMANAGERQUERYDATA_H
22 #define KONCLUDE_REASONER_ANSWERER_CANSWERINGMANAGERQUERYDATA_H
23
24 // Libraries includes
25 #include <QLinkedList>
26
27 // Namespace includes
28 #include "AnswererSettings.h"
29 #include "CAnsweringMessageData.h"
30 #include "CAnswererThread.h"
31
32
33 // Other includes
34 #include "Reasoner/Query/CComplexAnsweringQuery.h"
35
36 #include "Concurrent/Callback/CCallbackData.h"
37
38
39
40 // Logger includes
41 #include "Logger/CLogger.h"
42 #include "Logger/CLogIdentifier.h"
43
44
45
46
47
48 namespace Konclude {
49
50 using namespace Concurrent::Callback;
51
52 namespace Reasoner {
53
54 using namespace Query;
55
56 namespace Answerer {
57
58
59
60 /*!
61 *
62 * \class CAnsweringManagerQueryData
63 * \author Andreas Steigmiller
64 * \version 0.1
65 * \brief TODO
66 *
67 */
68 class CAnsweringManagerQueryData {
69 // public methods
70 public:
71 //! Constructor
72 CAnsweringManagerQueryData(CComplexAnsweringQuery* query, CCallbackData* callback, bool compositionQuery);
73
74
75 CComplexAnsweringQuery* getQuery();
76 CCallbackData* getCallback();
77 CAnswererThread* getThread();
78 CAnsweringManagerQueryData* setThread(CAnswererThread* thread);
79 bool isCompositionQuery();
80
81
82 // protected methods
83 protected:
84
85 // protected variables
86 protected:
87 CAnswererThread* mThread;
88 CComplexAnsweringQuery* mQuery;
89 CCallbackData* mCallback;
90 bool mCompositionQuery;
91
92
93 // private methods
94 private:
95
96 // private variables
97 private:
98
99 };
100
101 }; // end namespace Answerer
102
103 }; // end namespace Reasoner
104
105 }; // end namespace Konclude
106
107 #endif // KONCLUDE_REASONER_ANSWERER_CANSWERINGMANAGERQUERYDATA_H