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

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

Inheritance diagram for cutehmi::modbus::internal::InputRegisterPolling:
cutehmi::modbus::internal::DataContainerPolling< InputRegisterPolling, InputRegister > cutehmi::modbus::internal::IterableTasks cutehmi::NonCopyable

Public Member Functions

 InputRegisterPolling (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< InputRegisterPolling, InputRegister >
 DataContainerPolling (AbstractDevice *device, QUuid *requestId)
 
AbstractDevicedevice () const
 
bool runNext () override
 Run next task. More...
 
void reset () override
 Reset tasks iterator. More...
 
InputRegisterPollingderived ()
 
const InputRegisterPollingderived () 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< InputRegisterPolling, InputRegister >
typedef InputRegister 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

◆ InputRegisterPolling()

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

Member Function Documentation

◆ container()

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

◆ dataAt()

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

◆ maxRead()

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

◆ requestReadData()

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