1#ifndef AUBO_SCOPE_DIGITAL_IO_H
2#define AUBO_SCOPE_DIGITAL_IO_H
70 return std::dynamic_pointer_cast<DigitalIo>(io) !=
nullptr &&
82 bool operator()(IoPtr io) {
return io && io->isInput(); }
87 bool operator()(IoPtr io) {
return io && !io->isInput(); }
#define ARCS_CLASS_FORWARD(C)
Macro that forward declares a class and defines the respective smartpointers through ARCS_DECLARE_PTR...
DigitalIo This interface provides support for digital I/Os.
bool getValue()
Returns the last reading of the I/O.
bool setValue(bool high)
Set digital I/O output signal.
bool operator()(IoPtr io)
DigitalIoFilter(Io::InterfaceType interface, bool is_input)
Io::InterfaceType interface_
bool operator()(IoPtr io)