CuteHMI - Modbus (CuteHMI.Modbus.4)
|
#include <cutehmi/modbus/internal/CoilPolling.hpp>
Public Member Functions | |
CoilPolling (AbstractDevice *device, QUuid *requestId) | |
const DataContainer & | container () const |
const Data * | dataAt (quint16 address) const |
void | requestReadData (quint16 address, quint16 amount, QUuid *requestId) |
int | maxRead () const |
Public Member Functions inherited from cutehmi::modbus::internal::DataContainerPolling< CoilPolling, Coil > | |
DataContainerPolling (AbstractDevice *device, QUuid *requestId) | |
AbstractDevice * | device () const |
bool | runNext () override |
Run next task. More... | |
void | reset () override |
Reset tasks iterator. More... | |
CoilPolling & | derived () |
const CoilPolling & | derived () 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 CoilDataContainer & | coilData (const AbstractDevice *device) const |
const DiscreteInputDataContainer & | discreteInputData (const AbstractDevice *device) const |
const HoldingRegisterDataContainer & | holdingRegisterData (const AbstractDevice *device) const |
const InputRegisterDataContainer & | inputRegisterData (const AbstractDevice *device) const |
Additional Inherited Members | |
Public Types inherited from cutehmi::modbus::internal::DataContainerPolling< CoilPolling, Coil > | |
typedef Coil | 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 | |
NonCopyable & | operator= (NonCopyable &&other)=default |
cutehmi::modbus::internal::CoilPolling::CoilPolling | ( | AbstractDevice * | device, |
QUuid * | requestId | ||
) |
const CoilPolling::DataContainer & cutehmi::modbus::internal::CoilPolling::container | ( | ) | const |
const CoilPolling::Data * cutehmi::modbus::internal::CoilPolling::dataAt | ( | quint16 | address | ) | const |
int cutehmi::modbus::internal::CoilPolling::maxRead | ( | ) | const |
void cutehmi::modbus::internal::CoilPolling::requestReadData | ( | quint16 | address, |
quint16 | amount, | ||
QUuid * | requestId | ||
) |