CuteHMI - Modbus (CuteHMI.Modbus.4)
cutehmi::modbus::Register16 Class Reference

Cached properties of 16 bit register. More...

#include <cutehmi/modbus/Register16.hpp>

Inheritance diagram for cutehmi::modbus::Register16:
cutehmi::modbus::internal::HoldingRegister cutehmi::modbus::internal::InputRegister

Public Member Functions

 Register16 (quint16 value=0)
 Constructor. More...
 
quint16 value () const
 
void rest ()
 
void awake ()
 
bool wakeful () const
 

Protected Member Functions

void setValue (quint16 value)
 

Detailed Description

Cached properties of 16 bit register.

Constructor & Destructor Documentation

◆ Register16()

cutehmi::modbus::Register16::Register16 ( quint16  value = 0)
explicit

Constructor.

Parameters
valueinitial value.

Member Function Documentation

◆ awake()

void cutehmi::modbus::Register16::awake ( )

◆ rest()

void cutehmi::modbus::Register16::rest ( )

◆ setValue()

void cutehmi::modbus::Register16::setValue ( quint16  value)
protected

◆ value()

quint16 cutehmi::modbus::Register16::value ( ) const

◆ wakeful()

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