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

Internal holding register. More...

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

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

Public Member Functions

 HoldingRegister (quint16 value=0)
 Constructor. More...
 
void setValue (quint16 value)
 
- Public Member Functions inherited from cutehmi::modbus::Register16
 Register16 (quint16 value=0)
 Constructor. More...
 
quint16 value () const
 
void rest ()
 
void awake ()
 
bool wakeful () const
 

Additional Inherited Members

- Protected Member Functions inherited from cutehmi::modbus::Register16
void setValue (quint16 value)
 

Detailed Description

Internal holding register.

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

Constructor & Destructor Documentation

◆ HoldingRegister()

cutehmi::modbus::internal::HoldingRegister::HoldingRegister ( quint16  value = 0)
explicit

Constructor.

Parameters
valueinitial value.

Member Function Documentation

◆ setValue()

void cutehmi::modbus::Register16::setValue