Debian Codegraph @

Source/Reasoner/Kernel/Cache/Events/CWriteSatisfiableCacheEntryEvent.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_CACHE_EVENTS_CWRITESATISFIABLECACHEENTRYEVENT_H
22 #define KONCLUDE_REASONER_KERNEL_CACHE_EVENTS_CWRITESATISFIABLECACHEENTRYEVENT_H
23
24 #include <QEvent>
25 #include <QList>
26
27 #include "Concurrent/Events/CCustomEvent.h"
28
29 #include "../CacheSettings.h"
30 #include "../CCacheValue.h"
31
32 namespace Konclude {
33
34 namespace Reasoner {
35
36 namespace Kernel {
37
38 namespace Cache {
39
40 namespace Events {
41
42
43 /*!
44 * \class CWriteSatisfiableCacheEntryEvent
45 * \author Andreas Steigmiller
46 * \version 0.1
47 * \brief
48 */
49 class CWriteSatisfiableCacheEntryEvent : public Concurrent::Events::CCustomEvent {
50 // public methods
51 public:
52 //! Constructor
53 CWriteSatisfiableCacheEntryEvent(const QList<CCacheValue> itemList = QList<CCacheValue>(), const QList<CCacheValue> outList = QList<CCacheValue>());
54
55 //! Destructor
56 virtual ~CWriteSatisfiableCacheEntryEvent();
57
58 QList<CCacheValue> *getCacheItemList();
59 void setCacheItemList(QList<CCacheValue> &list);
60
61 QList<CCacheValue> *getCacheOutcomeList();
62 void setCacheOutcomeList(QList<CCacheValue> &list);
63
64 // protected methods
65 protected:
66
67 // private members
68 private:
69 QList<CCacheValue> cacheItemList;
70 QList<CCacheValue> cacheOutcomeList;
71
72
73 };
74
75 }; // end namespace Events
76
77 }; // end namespace Cache
78
79 }; // end namespace Kernel
80
81 }; // end namespace Reasoner
82
83 }; // end namespace Konclude
84
85 #endif // KONCLUDE_REASONER_KERNEL_CACHE_EVENTS_CWRITESATISFIABLECACHEENTRYEVENT_H