CuteHMI - Modbus (CuteHMI.Modbus.4)
cutehmi::modbus::internal::RegisterControllerMixin< DERIVED > Class Template Reference

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

Protected Types

typedef RegisterControllerTraits< DERIVED >::ValueType ValueType
 

Protected Member Functions

 RegisterControllerMixin ()
 
void setValue (ValueType value)
 
void writeValue ()
 
void timerEvent (QTimerEvent *event)
 
void onRequestCompleted (QJsonObject request, QJsonObject reply)
 
void clearPostponedWrite ()
 

Member Typedef Documentation

◆ ValueType

template<typename DERIVED >
typedef RegisterControllerTraits<DERIVED>::ValueType cutehmi::modbus::internal::RegisterControllerMixin< DERIVED >::ValueType
protected

Constructor & Destructor Documentation

◆ RegisterControllerMixin()

template<typename DERIVED >
cutehmi::modbus::internal::RegisterControllerMixin< DERIVED >::RegisterControllerMixin
protected

Member Function Documentation

◆ clearPostponedWrite()

template<typename DERIVED >
void cutehmi::modbus::internal::RegisterControllerMixin< DERIVED >::clearPostponedWrite
protected

◆ onRequestCompleted()

template<typename DERIVED >
void cutehmi::modbus::internal::RegisterControllerMixin< DERIVED >::onRequestCompleted ( QJsonObject  request,
QJsonObject  reply 
)
protected

◆ setValue()

template<typename DERIVED >
void cutehmi::modbus::internal::RegisterControllerMixin< DERIVED >::setValue ( ValueType  value)
protected

◆ timerEvent()

template<typename DERIVED >
void cutehmi::modbus::internal::RegisterControllerMixin< DERIVED >::timerEvent ( QTimerEvent event)
protected

◆ writeValue()

template<typename DERIVED >
void cutehmi::modbus::internal::RegisterControllerMixin< DERIVED >::writeValue
protected