|
AuboStudio SDK
0.6.2
|
This is the base interface representing all types of I/Os available in AuboScope. More...
#include <io.h>

Public Types | |
| enum | IoType : int { DIGITAL, ANALOG, INTEGER, BOOLEAN, DOUBLE } |
| enum | InterfaceType : int { STANDARD, TOOL, CONFIGURABLE, LINKIO, MODBUS, GENERAL_PURPOSE } |
Public Member Functions | |
| 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 |
| int | getAction () 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 () |
Protected Member Functions | |
| Io () | |
Private Attributes | |
| void * | d_ { nullptr } |
Friends | |
| class | DataSwitch |
This is the base interface representing all types of I/Os available in AuboScope.
| enum arcs::aubo_scope::Io::InterfaceType : int |
| enum arcs::aubo_scope::Io::IoType : int |
| arcs::aubo_scope::Io::Io | ( | Io & | f | ) |
| arcs::aubo_scope::Io::Io | ( | Io && | f | ) |
|
virtual |
|
protected |
| int arcs::aubo_scope::Io::getAction | ( | ) | const |
| std::string arcs::aubo_scope::Io::getDefaultName | ( | ) | const |
| std::string arcs::aubo_scope::Io::getDisplayName | ( | ) | const |
| InterfaceType arcs::aubo_scope::Io::getInterfaceType | ( | ) | const |
Referenced by arcs::aubo_scope::DigitalIoFilter::operator()(), and arcs::aubo_scope::AnalogIoFilter::operator()().

| IoType arcs::aubo_scope::Io::getType | ( | ) | const |
Referenced by arcs::aubo_scope::ModbusIoFilter::operator()().

| std::string arcs::aubo_scope::Io::getValueStr | ( | ) | const |
| size_t arcs::aubo_scope::Io::hashCode | ( | ) |
| bool arcs::aubo_scope::Io::isInput | ( | ) | const |
true if I/O supports reading of values and false otherwise. | bool arcs::aubo_scope::Io::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.
This method can be used to determine if the I/O is available.
For more details about the specific situations where certain types of I/Os can be unresolved, see the relevant interfaces extending this base interface, e.g. ModbusIO#isResolvable().
true, if I/O can be resolved. false otherwise.
1.8.11