Debian Codegraph @

Source/Concurrent/Events/CRequestFeedbackEvent.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 #ifndef KONCLUDE_CONCURRENT_EVENTS_CREQUESTFEEDBACKEVENT_H
21 #define KONCLUDE_CONCURRENT_EVENTS_CREQUESTFEEDBACKEVENT_H
22
23 #include <QEvent>
24 #include <QThread>
25
26
27 #include "../ConcurrentSettings.h"
28 #include "../CWatchDog.h"
29
30
31
32 #include "CControlEvent.h"
33
34
35 namespace Konclude {
36
37 namespace Concurrent {
38
39 namespace Events {
40
41
42
43 /*!
44 * \class CRequestFeedbackEvent
45 * \author Andreas Steigmiller
46 * \version 0.1
47 * \brief
48 */
49 class CRequestFeedbackEvent : public CControlEvent {
50 // public methods
51 public:
52 //! Constructor
53 CRequestFeedbackEvent();
54 CRequestFeedbackEvent(CWatchDog *watchDogThread, qint64 number);
55
56 //! Destructor
57 virtual ~CRequestFeedbackEvent();
58
59 CWatchDog *getWatchDogThread();
60 void setWatchDogThread(CWatchDog *watchDogThread);
61
62 qint64 getUpdateNumber();
63 void setUpdateNumber(qint64 number);
64
65
66 // protected methods
67 protected:
68
69
70 // private members
71 private:
72 CWatchDog *watchDog;
73 qint64 updateNumber;
74
75 };
76
77 }; // end namespace Events
78
79 }; // end namespace Concurrent
80
81 }; // end namespace Konclude
82
83 #endif // KONCLUDE_CONCURRENT_EVENTS_CREQUESTFEEDBACKEVENT_H