Debian Codegraph @

Source/Test/Evaluation/Events/CReasonerEvaluationNextEvent.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_TEST_EVALUATION_EVENTS_CREASONEREVALUATIONNEXTEVENT_H
22 #define KONCLUDE_TEST_EVALUATION_EVENTS_CREASONEREVALUATIONNEXTEVENT_H
23
24
25
26 // Libraries includes
27 #include <QString>
28
29 // Namespace includes
30 #include "../EvaluationSettings.h"
31 #include "../CReasonerEvaluationTestsuite.h"
32
33
34 // Other includes
35 #include "Concurrent/Events/CCustomEvent.h"
36
37 #include "Concurrent/Callback/CCallbackData.h"
38 #include "Concurrent/CThread.h"
39
40
41 // Logger includes
42 #include "Logger/CLogger.h"
43
44
45
46 namespace Konclude {
47
48 using namespace Concurrent;
49 using namespace Concurrent::Events;
50 using namespace Concurrent::Callback;
51
52 namespace Test {
53
54 namespace Evaluation {
55
56 namespace Events {
57
58
59
60 /*!
61 * \class CReasonerEvaluationNextEvent
62 * \author Andreas Steigmiller
63 * \version 0.1
64 * \brief
65 */
66 class CReasonerEvaluationNextEvent : public CCustomEvent, public CCallbackData {
67 // public methods
68 public:
69 //! Constructor
70 CReasonerEvaluationNextEvent(CThread* recieverThread, cint64 operationNumber);
71
72 //! Destructor
73 virtual ~CReasonerEvaluationNextEvent();
74
75 static const QEvent::Type EVENTTYPE = EVENTREASONEREVALUATIONNEXT;
76
77 virtual void doCallback();
78 cint64 getOperationNumber();
79
80 // protected methods
81 protected:
82
83 // protected variables
84 protected:
85 CThread* mRecieverThread;
86 cint64 mOperationNumber;
87
88 // private methods
89 private:
90
91 // private variables
92 private:
93
94 };
95
96
97 }; // end namespace Events
98
99 }; // end namespace Evaluation
100
101 }; // end namespace Test
102
103 }; // end namespace Konclude
104
105 #endif // KONCLUDE_TEST_EVALUATION_EVENTS_CREASONEREVALUATIONNEXTEVENT_H