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

Cached properties of 1 bit register. More...

#include <cutehmi/modbus/Register1.hpp>

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

Public Member Functions

 Register1 (bool value=false)
 Constructor. More...
 
bool value () const
 
void rest ()
 
void awake ()
 
bool wakeful () const
 

Protected Member Functions

void setValue (bool value)
 

Detailed Description

Cached properties of 1 bit register.

Constructor & Destructor Documentation

◆ Register1()

cutehmi::modbus::Register1::Register1 ( bool  value = false)
explicit

Constructor.

Parameters
valueinitial value.

Member Function Documentation

◆ awake()

void cutehmi::modbus::Register1::awake ( )

◆ rest()

void cutehmi::modbus::Register1::rest ( )

◆ setValue()

void cutehmi::modbus::Register1::setValue ( bool  value)
protected

◆ value()

bool cutehmi::modbus::Register1::value ( ) const

◆ wakeful()

bool cutehmi::modbus::Register1::wakeful ( ) const