CuteHMI - Modbus (CuteHMI.Modbus.4)
|
#include <cutehmi/modbus/internal/IterableTasks.hpp>
Public Types | |
typedef RegisterTraits< Coil >::Container | CoilDataContainer |
typedef RegisterTraits< DiscreteInput >::Container | DiscreteInputDataContainer |
typedef RegisterTraits< HoldingRegister >::Container | HoldingRegisterDataContainer |
typedef RegisterTraits< InputRegister >::Container | InputRegisterDataContainer |
Public Member Functions | |
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 RegisterTraits<Coil>::Container cutehmi::modbus::internal::IterableTasks::CoilDataContainer |
typedef RegisterTraits<DiscreteInput>::Container cutehmi::modbus::internal::IterableTasks::DiscreteInputDataContainer |
typedef RegisterTraits<HoldingRegister>::Container cutehmi::modbus::internal::IterableTasks::HoldingRegisterDataContainer |
typedef RegisterTraits<InputRegister>::Container cutehmi::modbus::internal::IterableTasks::InputRegisterDataContainer |
|
virtualdefault |
const IterableTasks::CoilDataContainer & cutehmi::modbus::internal::IterableTasks::coilData | ( | const AbstractDevice * | device | ) | const |
const IterableTasks::DiscreteInputDataContainer & cutehmi::modbus::internal::IterableTasks::discreteInputData | ( | const AbstractDevice * | device | ) | const |
const IterableTasks::HoldingRegisterDataContainer & cutehmi::modbus::internal::IterableTasks::holdingRegisterData | ( | const AbstractDevice * | device | ) | const |
const IterableTasks::InputRegisterDataContainer & cutehmi::modbus::internal::IterableTasks::inputRegisterData | ( | const AbstractDevice * | device | ) | const |
|
pure virtual |
Reset tasks iterator.
Implemented in cutehmi::modbus::internal::DataContainerPolling< DERIVED, DATA >, cutehmi::modbus::internal::DataContainerPolling< CoilPolling, Coil >, cutehmi::modbus::internal::DataContainerPolling< DiscreteInputPolling, DiscreteInput >, cutehmi::modbus::internal::DataContainerPolling< HoldingRegisterPolling, HoldingRegister >, cutehmi::modbus::internal::DataContainerPolling< InputRegisterPolling, InputRegister >, and cutehmi::modbus::internal::PollingIterator.
|
pure virtual |
Run next task.
false
if there are no more tasks to run, true
otherwise. Implemented in cutehmi::modbus::internal::DataContainerPolling< DERIVED, DATA >, cutehmi::modbus::internal::DataContainerPolling< CoilPolling, Coil >, cutehmi::modbus::internal::DataContainerPolling< DiscreteInputPolling, DiscreteInput >, cutehmi::modbus::internal::DataContainerPolling< HoldingRegisterPolling, HoldingRegister >, cutehmi::modbus::internal::DataContainerPolling< InputRegisterPolling, InputRegister >, and cutehmi::modbus::internal::PollingIterator.