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

Internal discrete input. More...

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

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

Public Member Functions

 DiscreteInput (bool value=0)
 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 discrete input.

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

Constructor & Destructor Documentation

◆ DiscreteInput()

cutehmi::modbus::internal::DiscreteInput::DiscreteInput ( bool  value = 0)
explicit

Constructor.

Parameters
valueinitial value.

Member Function Documentation

◆ setValue()

void cutehmi::modbus::Register1::setValue