CuteHMI - Modbus (CuteHMI.Modbus.4)
|
#include <cutehmi/modbus/internal/DataContainerPolling.hpp>
Public Types | |
typedef DATA | 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 |
Public Member Functions | |
DataContainerPolling (AbstractDevice *device, QUuid *requestId) | |
AbstractDevice * | device () const |
bool | runNext () override |
Run next task. More... | |
void | reset () override |
Reset tasks iterator. More... | |
DERIVED & | derived () |
const DERIVED & | 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 | |
Protected Member Functions inherited from cutehmi::NonCopyable | |
NonCopyable ()=default | |
NonCopyable (NonCopyable &&other)=default | |
~NonCopyable ()=default | |
NonCopyable & | operator= (NonCopyable &&other)=default |
typedef DATA cutehmi::modbus::internal::DataContainerPolling< DERIVED, DATA >::Data |
typedef RegisterTraits<Data>::Container cutehmi::modbus::internal::DataContainerPolling< DERIVED, DATA >::DataContainer |
cutehmi::modbus::internal::DataContainerPolling< DERIVED, DATA >::DataContainerPolling | ( | AbstractDevice * | device, |
QUuid * | requestId | ||
) |
DERIVED & cutehmi::modbus::internal::DataContainerPolling< DERIVED, DATA >::derived |
const DERIVED & cutehmi::modbus::internal::DataContainerPolling< DERIVED, DATA >::derived |
AbstractDevice * cutehmi::modbus::internal::DataContainerPolling< DERIVED, DATA >::device |
|
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.