Debian Codegraph @

Source/Control/Command/Instructions/CGetQueryDependentKnowledgeBaseRevisionUpdatesCommand.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_CONTROL_COMMAND_CGETQUERYDEPENDENTKNOWLEDGEBASEREVISIONUPDATESCOMMAND_H
22 #define KONCLUDE_CONTROL_COMMAND_CGETQUERYDEPENDENTKNOWLEDGEBASEREVISIONUPDATESCOMMAND_H
23
24 // Libraries includes
25 #include <QString>
26 #include <QDomElement>
27
28 // Namespace includes
29 #include "CParseOntologyCommand.h"
30 #include "CKnowledgeBaseRevisionCommandProvider.h"
31 #include "CQueriesCommandProvider.h"
32
33 // Other includes
34 #include "Control/Command/CommandSettings.h"
35 #include "Control/Command/CCommand.h"
36 #include "Control/Command/CPreconditionCommand.h"
37 #include "Control/Command/CCommandProcessedPrecondition.h"
38
39 #include "Reasoner/Query/CQuery.h"
40
41
42 // Logger includes
43 #include "Logger/CLogger.h"
44
45 using namespace Konclude::Logger;
46
47
48 namespace Konclude {
49
50 using namespace Reasoner::Query;
51
52 namespace Control {
53
54 namespace Command {
55
56 namespace Instructions {
57
58 /*!
59 *
60 * \class CGetQueryDependentKnowledgeBaseRevisionUpdatesCommand
61 * \author Andreas Steigmiller
62 * \version 0.1
63 * \brief TODO
64 *
65 */
66 class CGetQueryDependentKnowledgeBaseRevisionUpdatesCommand : public CPreconditionCommand, public CQueriesCommandProvider {
67 // public methods
68 public:
69 //! Constructor
70 CGetQueryDependentKnowledgeBaseRevisionUpdatesCommand(CQueriesCommandProvider *queriesCommandProvider, CCommand *parentSuperCommand = 0);
71
72 //! Destructor
73 virtual ~CGetQueryDependentKnowledgeBaseRevisionUpdatesCommand();
74
75 virtual qint64 getCommandTag();
76
77 virtual QString getBriefCommandDescription();
78
79 virtual CCommand *getCommand();
80
81
82 virtual QList<CQuery*> getQueryList();
83
84
85 // protected methods
86 protected:
87
88 // protected variables
89 protected:
90
91 CQueriesCommandProvider* mQueriesCommandProvider;
92 QList<CQuery*> mQueryList;
93
94 // private methods
95 private:
96
97 // private variables
98 private:
99
100 };
101
102 }; // end namespace Instructions
103
104 }; // end namespace Command
105
106 }; // end namespace Control
107
108 }; // end namespace Konclude
109
110 #endif // KONCLUDE_CONTROL_COMMAND_CGETQUERYDEPENDENTKNOWLEDGEBASEREVISIONUPDATESCOMMAND_H