CuteHMI - Modbus (CuteHMI.Modbus.2)
cutehmi::modbus::internal::IterableTasks Class Referenceabstract

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

Inheritance diagram for cutehmi::modbus::internal::IterableTasks:
cutehmi::NonCopyable cutehmi::modbus::internal::DataContainerPolling< DERIVED, DATA > cutehmi::modbus::internal::PollingIterator cutehmi::modbus::internal::DataContainerPolling< CoilPolling, Coil > cutehmi::modbus::internal::DataContainerPolling< DiscreteInputPolling, DiscreteInput > cutehmi::modbus::internal::DataContainerPolling< HoldingRegisterPolling, HoldingRegister > cutehmi::modbus::internal::DataContainerPolling< InputRegisterPolling, InputRegister > cutehmi::modbus::internal::CoilPolling cutehmi::modbus::internal::DiscreteInputPolling cutehmi::modbus::internal::HoldingRegisterPolling cutehmi::modbus::internal::InputRegisterPolling

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 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

- Protected Member Functions inherited from cutehmi::NonCopyable
 NonCopyable ()=default
 
 NonCopyable (NonCopyable &&other)=default
 
 ~NonCopyable ()=default
 
NonCopyableoperator= (NonCopyable &&other)=default
 

Member Typedef Documentation

◆ CoilDataContainer

◆ DiscreteInputDataContainer

◆ HoldingRegisterDataContainer

◆ InputRegisterDataContainer

Constructor & Destructor Documentation

◆ ~IterableTasks()

virtual cutehmi::modbus::internal::IterableTasks::~IterableTasks ( )
virtualdefault

Member Function Documentation

◆ coilData()

const IterableTasks::CoilDataContainer & cutehmi::modbus::internal::IterableTasks::coilData ( const AbstractDevice device) const

◆ discreteInputData()

const IterableTasks::DiscreteInputDataContainer & cutehmi::modbus::internal::IterableTasks::discreteInputData ( const AbstractDevice device) const

◆ holdingRegisterData()

const IterableTasks::HoldingRegisterDataContainer & cutehmi::modbus::internal::IterableTasks::holdingRegisterData ( const AbstractDevice device) const

◆ inputRegisterData()

const IterableTasks::InputRegisterDataContainer & cutehmi::modbus::internal::IterableTasks::inputRegisterData ( const AbstractDevice device) const

◆ reset()

◆ runNext()