Debian Codegraph @

Source/Logger/Events/CConfigureLoggerEvent.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 LOGGER_EVENTS_CCONFIGURELOGGEREVENT_H
21 #define LOGGER_EVENTS_CCONFIGURELOGGEREVENT_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 CConfigureLoggerEvent
45 * \author Andreas Steigmiller
46 * \version 0.1
47 * \brief
48 */
49 class CConfigureLoggerEvent : public CCustomEvent {
50 // public methods
51 public:
52 //! Constructor
53 CConfigureLoggerEvent(qint64 maxLogMessages, double minLogLevel);
54
55 //! Destructor
56 virtual ~CConfigureLoggerEvent();
57
58 qint64 getMaxLogMessageCount();
59 double getMinLoggingLevel();
60
61
62 // protected methods
63 protected:
64
65
66 // private members
67 private:
68 qint64 mMaxLogMessageCount;
69 double mMinLogLevel;
70
71
72 };
73
74 }; // end namespace Events
75
76 }; // end namespace Logger
77
78 }; // end namespace Konclude
79
80 #endif // LOGGER_EVENTS_CCONFIGURELOGGEREVENT_H