CuteHMI - Modbus (CuteHMI.Modbus.2)
Coil.hpp
1 #ifndef H_EXTENSIONS_CUTEHMI_MODBUS_2_INCLUDE_CUTEHMI_MODBUS_INTERNAL_COIL_HPP
2 #define H_EXTENSIONS_CUTEHMI_MODBUS_2_INCLUDE_CUTEHMI_MODBUS_INTERNAL_COIL_HPP
3 
4 #include "../Coil.hpp"
5 
6 #include <QAtomicInteger>
7 
8 namespace cutehmi {
9 namespace modbus {
10 namespace internal {
11 
15 class CUTEHMI_MODBUS_API Coil:
17 {
18  typedef ::cutehmi::modbus::Coil Parent;
19 
20  public:
25  explicit Coil(bool value = false);
26 
27  using Parent::setValue;
28 };
29 
30 }
31 }
32 }
33 
34 #endif
35 
36 //(c)C: Copyright © 2019, Michał Policht <michal@policht.pl>. All rights reserved.
37 //(c)C: This file is a part of CuteHMI.
38 //(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.
39 //(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.
40 //(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/>.
cutehmi::modbus::Register1
Cached properties of 1 bit register.
Definition: Register1.hpp:14
cutehmi::modbus::Coil
Register1 Coil
Coil.
Definition: Coil.hpp:13
cutehmi
cutehmi::modbus::internal::Coil
Internal coil.
Definition: Coil.hpp:15
std::internal
T internal(T... args)