CuteHMI - Modbus (CuteHMI.Modbus.4)
|
#include <cutehmi/modbus/internal/PollingIterator.hpp>
Public Member Functions | |
PollingIterator (AbstractDevice *device) | |
bool | runNext () override |
Run next task. More... | |
void | reset () override |
Reset tasks iterator. More... | |
QUuid & | requestId () |
const QUuid & | requestId () 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::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::PollingIterator::PollingIterator | ( | AbstractDevice * | device | ) |
QUuid & cutehmi::modbus::internal::PollingIterator::requestId | ( | ) |
const QUuid & cutehmi::modbus::internal::PollingIterator::requestId | ( | ) | const |
|
overridevirtual |
Reset tasks iterator.
Implements cutehmi::modbus::internal::IterableTasks.
|
overridevirtual |
Run next task.
false
if there are no more tasks to run, true
otherwise. Implements cutehmi::modbus::internal::IterableTasks.