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

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

Inheritance diagram for cutehmi::modbus::internal::HoldingRegisterPolling:
cutehmi::modbus::internal::DataContainerPolling< HoldingRegisterPolling, HoldingRegister > cutehmi::modbus::internal::IterableTasks cutehmi::NonCopyable

Public Member Functions

 HoldingRegisterPolling (AbstractDevice *device, QUuid *requestId)
 
const DataContainercontainer () const
 
const DatadataAt (quint16 address) const
 
void requestReadData (quint16 address, quint16 amount, QUuid *requestId)
 
int maxRead () const
 
- Public Member Functions inherited from cutehmi::modbus::internal::DataContainerPolling< HoldingRegisterPolling, HoldingRegister >
 DataContainerPolling (AbstractDevice *device, QUuid *requestId)
 
AbstractDevicedevice () const
 
bool runNext () override
 Run next task. More...
 
void reset () override
 Reset tasks iterator. More...
 
HoldingRegisterPollingderived ()
 
const HoldingRegisterPollingderived () const
 
- Public Member Functions inherited from cutehmi::modbus::internal::IterableTasks
virtual ~IterableTasks ()=default
 
virtual bool runNext ()=0
 Run next task. More...
 
virtual void reset ()=0
 Reset tasks iterator. More...
 
const CoilDataContainercoilData (const AbstractDevice *device) const
 
const DiscreteInputDataContainerdiscreteInputData (const AbstractDevice *device) const
 
const HoldingRegisterDataContainerholdingRegisterData (const AbstractDevice *device) const
 
const InputRegisterDataContainerinputRegisterData (const AbstractDevice *device) const
 

Additional Inherited Members

- Public Types inherited from cutehmi::modbus::internal::DataContainerPolling< HoldingRegisterPolling, HoldingRegister >
typedef HoldingRegister Data
 
typedef RegisterTraits< Data >::Container DataContainer
 
- Public Types inherited from cutehmi::modbus::internal::IterableTasks
typedef RegisterTraits< Coil >::Container CoilDataContainer
 
typedef RegisterTraits< DiscreteInput >::Container DiscreteInputDataContainer
 
typedef RegisterTraits< HoldingRegister >::Container HoldingRegisterDataContainer
 
typedef RegisterTraits< InputRegister >::Container InputRegisterDataContainer
 
- Protected Member Functions inherited from cutehmi::NonCopyable
 NonCopyable ()=default
 
 NonCopyable (NonCopyable &&other)=default
 
 ~NonCopyable ()=default
 
NonCopyableoperator= (NonCopyable &&other)=default
 

Constructor & Destructor Documentation

◆ HoldingRegisterPolling()

cutehmi::modbus::internal::HoldingRegisterPolling::HoldingRegisterPolling ( AbstractDevice device,
QUuid requestId 
)

Member Function Documentation

◆ container()

const HoldingRegisterPolling::DataContainer & cutehmi::modbus::internal::HoldingRegisterPolling::container ( ) const

◆ dataAt()

const HoldingRegisterPolling::Data * cutehmi::modbus::internal::HoldingRegisterPolling::dataAt ( quint16  address) const

◆ maxRead()

int cutehmi::modbus::internal::HoldingRegisterPolling::maxRead ( ) const

◆ requestReadData()

void cutehmi::modbus::internal::HoldingRegisterPolling::requestReadData ( quint16  address,
quint16  amount,
QUuid requestId 
)