CuteHMI - Modbus (CuteHMI.Modbus.2)
cutehmi::modbus::internal::Coil Class Reference

Internal coil. More...

#include <cutehmi/modbus/internal/Coil.hpp>

Inheritance diagram for cutehmi::modbus::internal::Coil:
cutehmi::modbus::Register1

Public Member Functions

 Coil (bool value=false)
 Constructor. More...
 
void setValue (bool value)
 
- Public Member Functions inherited from cutehmi::modbus::Register1
 Register1 (bool value=false)
 Constructor. More...
 
bool value () const
 
void rest ()
 
void awake ()
 
bool wakeful () const
 

Additional Inherited Members

- Protected Member Functions inherited from cutehmi::modbus::Register1
void setValue (bool value)
 

Detailed Description

Internal coil.

This is internal class that exposes protected functions such as setValue().

Constructor & Destructor Documentation

◆ Coil()

cutehmi::modbus::internal::Coil::Coil ( bool  value = false)
explicit

Constructor.

Parameters
valueinitial value.

Member Function Documentation

◆ setValue()

void cutehmi::modbus::Register1::setValue