CuteHMI - Shared Database (CuteHMI.SharedDatabase.0)
DatabaseThread.hpp
1 #ifndef H_EXTENSIONS_CUTEHMI_SHAREDDATABASE_0_INCLUDE_CUTEHMI_SHAREDDATABASE_INTERNAL_DATABASETHREAD_HPP
2 #define H_EXTENSIONS_CUTEHMI_SHAREDDATABASE_0_INCLUDE_CUTEHMI_SHAREDDATABASE_INTERNAL_DATABASETHREAD_HPP
3 
4 #include "common.hpp"
5 #include "DatabaseConnectionHandler.hpp"
6 
7 #include <QThread>
8 
9 namespace cutehmi {
10 namespace shareddatabase {
11 namespace internal {
12 
13 class CUTEHMI_SHAREDDATABASE_PRIVATE DatabaseThread:
14  public QThread
15 {
16  Q_OBJECT
17 
18  public:
19  DatabaseThread(QObject * parent = nullptr);
20 
22 
23  protected:
24  void run() override;
25 
26  private:
27  struct Members
28  {
30  };
31 
32  MPtr<Members> m;
33 };
34 
35 }
36 }
37 }
38 
39 #endif
40 
41 //(c)C: Copyright © 2020, Michał Policht <michal@policht.pl>. All rights reserved.
42 //(c)C: This file is a part of CuteHMI.
43 //(c)C: CuteHMI is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
44 //(c)C: CuteHMI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
45 //(c)C: You should have received a copy of the GNU Lesser General Public License along with CuteHMI. If not, see <https://www.gnu.org/licenses/>.
QThread
cutehmi::MPtr< Members >
QObject
cutehmi
std::internal
T internal(T... args)
cutehmi::shareddatabase::internal::DatabaseThread
Definition: DatabaseThread.hpp:13
std::unique_ptr