1 #ifndef AUBO_SCOPE_DIGITAL_IO_H 2 #define AUBO_SCOPE_DIGITAL_IO_H 29 bool setValue(
bool high);
38 friend class DataSwitch;
46 : interface_(interface), is_input_(is_input)
51 return std::dynamic_pointer_cast<
DigitalIo>(io) !=
nullptr &&
53 io->isInput() == is_input_;
63 bool operator()(IoPtr io) {
return io && io->isInput(); }
68 bool operator()(IoPtr io) {
return io && !io->isInput(); }
74 #endif // AUBO_SCOPE_DIGITAL_IO_H bool operator()(IoPtr io)
ARCS_CLASS_FORWARD(GripForceCapability)
This is the base interface representing all types of I/Os available in AuboScope. ...
InterfaceType getInterfaceType() const
This interface provides support for digital I/Os.
Io::InterfaceType interface_
DigitalIoFilter(Io::InterfaceType interface, bool is_input)
bool operator()(IoPtr io)