AuboCaps
0.4.1
|
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, SAFETYIO, LINKIO, MODBUS, GENERAL_PURPOSE } |
enum | DigitalInputAction : int { INPUT_DEFAULT, GO_HOME, FREEDRIVE, START_PROGRAM, STOP_PROGRAM, PAUSE_PROGRAM, POPUP_DISMISS } |
enum | DigitalOutputAction : int { OUTPUT_DEFAULT, LOW_WHEN_NOT_RUNNING, HIGH_WHEN_NOT_RUNNING, HIGH_WHEN_RUNNING_LOW_WHEN_STOP } |
enum | AnalogInputAction : int { ANANLOG_INPUT_DEFAULT } |
enum | AnalogOutputAction : int { ANANLOG_OUTPUT_DEFAULT, ANANLOG_MIN_WHEN_NOT_RUNNING, ANANLOG_MAX_WHEN_NOT_RUNNING, ANANLOG_MAX_WHEN_RUNNING_MIN_WHEN_STOP } |
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 |
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... | |
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::AnalogInputAction : int |
enum arcs::aubo_scope::Io::AnalogOutputAction : int |
enum arcs::aubo_scope::Io::DigitalInputAction : int |
enum arcs::aubo_scope::Io::DigitalOutputAction : int |
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 |
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 |
std::string arcs::aubo_scope::Io::getValueStr | ( | ) | const |
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.