Debian Codegraph @

Source/Logger/Events/CReleaseLogMessagesEvent.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_LOGGER_EVENTS_CRELEASELOGMESSAGESEVENT_H
21 #define KONCLUDE_LOGGER_EVENTS_CRELEASELOGMESSAGESEVENT_H
22
23 #include <QEvent>
24 #include <QLinkedList>
25 #include <QStringList>
26
27 #include "Concurrent/Events/CCustomEvent.h"
28
29 #include "../LoggerSettings.h"
30 #include "../CLogMessage.h"
31
32
33 namespace Konclude {
34
35 using namespace Concurrent;
36 using namespace Events;
37
38 namespace Logger {
39
40 namespace Events {
41
42
43 /*!
44 * \class CReleaseLogMessagesEvent
45 * \author Andreas Steigmiller
46 * \version 0.1
47 * \brief
48 */
49 class CReleaseLogMessagesEvent : public CCustomEvent {
50 // public methods
51 public:
52 //! Constructor
53 CReleaseLogMessagesEvent(QLinkedList<CLogMessage *> &logMessages);
54 CReleaseLogMessagesEvent();
55
56 //! Destructor
57 virtual ~CReleaseLogMessagesEvent();
58
59
60 void setLogMessages(QLinkedList<CLogMessage *> &logMessages);
61 QLinkedList<CLogMessage *> getLogMessages();
62
63
64 // protected methods
65 protected:
66
67
68 // private members
69 private:
70 QLinkedList<CLogMessage *> messages;
71
72
73 };
74
75 }; // end namespace Events
76
77 }; // end namespace Logger
78
79 }; // end namespace Konclude
80
81 #endif // KONCLUDE_LOGGER_EVENTS_CRELEASELOGMESSAGESEVENT_H