CuteHMI - Modbus (CuteHMI.Modbus.2)
AbstractServerBackend.hpp
1 #ifndef H_EXTENSIONS_CUTEHMI_MODBUS_2_INCLUDE_CUTEHMI_MODBUS_INTERNAL_ABSTRACTSERVERBACKEND_HPP
2 #define H_EXTENSIONS_CUTEHMI_MODBUS_2_INCLUDE_CUTEHMI_MODBUS_INTERNAL_ABSTRACTSERVERBACKEND_HPP
3 
4 #include "common.hpp"
5 #include "AbstractDeviceBackend.hpp"
6 
7 #include <cutehmi/InplaceError.hpp>
8 #include <cutehmi/modbus/AbstractServer.hpp>
9 
10 #include <QObject>
11 #include <QUuid>
12 
13 namespace cutehmi {
14 namespace modbus {
15 namespace internal {
16 
21 class CUTEHMI_MODBUS_PRIVATE AbstractServerBackend:
23 {
24  Q_OBJECT
25 
26  signals:
27  void setBusyRequested(bool busy);
28 
29  void busyUpdated(bool busy);
30 
31  protected:
32  explicit AbstractServerBackend(QObject * parent = nullptr);
33 
34  protected slots:
35  virtual void setBusy(bool busy) = 0;
36 };
37 
38 }
39 }
40 }
41 
42 #endif
43 
44 //(c)C: Copyright © 2019, Michał Policht <michal@policht.pl>. All rights reserved.
45 //(c)C: This file is a part of CuteHMI.
46 //(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.
47 //(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.
48 //(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/>.
QObject
cutehmi
cutehmi::modbus::internal::AbstractServerBackend
Abstract server backend.
Definition: AbstractServerBackend.hpp:21
std::internal
T internal(T... args)
cutehmi::modbus::internal::AbstractDeviceBackend
Abstract device backend.
Definition: AbstractDeviceBackend.hpp:23