|
AuboCaps
0.6.2
|
This interface provides support for digital I/Os. More...
#include <digital_io.h>


Public Member Functions | |
| DigitalIo (DigitalIo &f) | |
| DigitalIo (DigitalIo &&f) | |
| ~DigitalIo () | |
| bool | setValue (bool high) |
| Set digital I/O output signal. More... | |
| bool | getValue () |
Public Member Functions inherited from arcs::aubo_scope::Io | |
| Io (Io &f) | |
| Io (Io &&f) | |
| virtual | ~Io () |
| std::string | getDisplayName () const |
| std::string | getDefaultName () const |
| std::string | getValueStr () const |
| IoType | getType () const |
| InterfaceType | getInterfaceType () const |
| bool | isInput () const |
| bool | isResolvable () const |
| Some I/Os, such as MODBUS I/Os and analog Tool inputs, are in some situations not present in AuboScope or available for use. More... | |
| size_t | hashCode () |
Private Member Functions | |
| DigitalIo () | |
Private Attributes | |
| void * | d_ { nullptr } |
Friends | |
| class | DataSwitch |
Additional Inherited Members | |
Public Types inherited from arcs::aubo_scope::Io | |
| enum | IoType : int { DIGITAL, ANALOG, INTEGER, BOOLEAN, DOUBLE } |
| enum | InterfaceType : int { STANDARD, TOOL, CONFIGURABLE, LINKIO, MODBUS, GENERAL_PURPOSE } |
Protected Member Functions inherited from arcs::aubo_scope::Io | |
| Io () | |
This interface provides support for digital I/Os.
Definition at line 14 of file digital_io.h.
| arcs::aubo_scope::DigitalIo::DigitalIo | ( | DigitalIo & | f | ) |
| arcs::aubo_scope::DigitalIo::DigitalIo | ( | DigitalIo && | f | ) |
| arcs::aubo_scope::DigitalIo::~DigitalIo | ( | ) |
|
private |
| bool arcs::aubo_scope::DigitalIo::getValue | ( | ) |
| bool arcs::aubo_scope::DigitalIo::setValue | ( | bool | high | ) |
Set digital I/O output signal.
Note that the I/O must be an output I/O.
| high | the digital value to be set. |
true if the digital signal was set, false if the signal was not set, e.g. because the controller was not running.
|
friend |
Definition at line 38 of file digital_io.h.
|
private |
Definition at line 40 of file digital_io.h.
1.8.11