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...
\chinese 数字 IO 接口 此接口提供对数字 I/O 的支持。 \endchinese \english DigitalIo This interface provides support fo...
bool getValue()
\chinese 获取I/O的最后一次读数
bool setValue(bool high)
\chinese 设置数字I/O输出信号。注意该I/O必须是输出类型。
bool operator()(IoPtr io)
DigitalIoFilter(Io::InterfaceType interface, bool is_input)
Io::InterfaceType interface_
bool operator()(IoPtr io)