Debian Codegraph @

Source/Reasoner/Kernel/Cache/Events/CWriteComputedConcequencesCacheEntryEvent.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_CWRITECOMPUTEDCONCEQUENCESCACHEENTRYEVENT_H
22 #define KONCLUDE_REASONER_KERNEL_CACHE_EVENTS_CWRITECOMPUTEDCONCEQUENCESCACHEENTRYEVENT_H
23
24 // Libraries includes
25 #include <QEvent>
26 #include <QList>
27
28 // Namespace includes
29
30
31 // Other includes
32 #include "Concurrent/Events/CCustomEvent.h"
33
34 #include "../CacheSettings.h"
35 #include "../CComputedConsequencesCacheWriteData.h"
36
37 #include "Utilities/Memory/CMemoryPool.h"
38
39 // Logger includes
40 #include "Logger/CLogger.h"
41
42
43 namespace Konclude {
44
45 using namespace Utilities::Memory;
46
47 namespace Reasoner {
48
49 namespace Kernel {
50
51 namespace Cache {
52
53 namespace Events {
54
55
56 /*!
57 *
58 * \class CWriteComputedConcequencesCacheEntryEvent
59 * \author Andreas Steigmiller
60 * \version 0.1
61 * \brief TODO
62 *
63 */
64 class CWriteComputedConcequencesCacheEntryEvent : public Concurrent::Events::CCustomEvent {
65 // public methods
66 public:
67 //! Constructor
68 CWriteComputedConcequencesCacheEntryEvent(CComputedConsequencesCacheWriteData* writeData, CMemoryPool* memoryPools);
69
70 static const QEvent::Type EVENTTYPE = EVENTWRITECOMPUTEDCONSEQUENCESCACHEDATAENTRY;
71
72
73 CComputedConsequencesCacheWriteData* getWriteData();
74 CMemoryPool* getMemoryPools();
75
76
77 // protected methods
78 protected:
79
80 // protected variables
81 protected:
82 CComputedConsequencesCacheWriteData* mWriteData;
83 CMemoryPool* mMemoryPools;
84
85 // private methods
86 private:
87
88 // private variables
89 private:
90
91
92 };
93
94 }; // end namespace Events
95
96 }; // end namespace Cache
97
98 }; // end namespace Kernel
99
100 }; // end namespace Reasoner
101
102 }; // end namespace Konclude
103
104 #endif // KONCLUDE_REASONER_KERNEL_CACHE_EVENTS_CWRITECOMPUTEDCONCEQUENCESCACHEENTRYEVENT_H