|
AuboStudio SDK
0.6.3
|
|
|
|
|
\chinese IO 基础接口 这是表示 AuboScope 中所有可用 I/O 类型的基础接口。 \endchinese \english Io This is the base interface representing all types of I/Os available in AuboScope. 更多...
#include <io.h>

Public 类型 | |
| enum | IoType : int { DIGITAL , ANALOG , INTEGER , BOOLEAN , DOUBLE } |
| enum | InterfaceType : int { STANDARD , TOOL , CONFIGURABLE , LINKIO , MODBUS , GENERAL_PURPOSE , PROFINET , ETHERNET_IP } |
Public 成员函数 | |
| Io (Io &f) | |
| Io (Io &&f) | |
| virtual | ~Io () |
| std::string | getDisplayName () const |
| \chinese 获取当前安装中I/O的用户自定义名称 | |
| std::string | getDefaultName () const |
| \chinese 获取I/O的机器人默认名称 | |
| std::string | getValueStr () const |
| \chinese 获取I/O的当前读数值(字符串形式) | |
| IoType | getType () const |
| \chinese 获取I/O类型 | |
| InterfaceType | getInterfaceType () const |
| \chinese 获取此I/O所属的接口类型 | |
| int | getAction () const |
| \chinese 获取I/O的动作编号 | |
| bool | isInput () const |
| \chinese 判断I/O是否支持读取值 | |
| bool | isResolvable () const |
| \chinese 某些I/O(如MODBUS I/O和模拟工具输入)在某些情况下可能不可用。此方法用于判断 I/O是否可用。 | |
| size_t | hashCode () |
Protected 成员函数 | |
| Io () | |
Private 属性 | |
| void * | d_ { nullptr } |
友元 | |
| class | DataSwitch |
\chinese IO 基础接口 这是表示 AuboScope 中所有可用 I/O 类型的基础接口。 \endchinese \english Io This is the base interface representing all types of I/Os available in AuboScope.
\endenglish
| enum arcs::aubo_scope::Io::InterfaceType : int |
| enum arcs::aubo_scope::Io::IoType : int |
| arcs::aubo_scope::Io::Io | ( | Io && | f | ) |
|
virtual |
|
protected |
| int arcs::aubo_scope::Io::getAction | ( | ) | const |
\chinese 获取I/O的动作编号
| std::string arcs::aubo_scope::Io::getDefaultName | ( | ) | const |
\chinese 获取I/O的机器人默认名称
| std::string arcs::aubo_scope::Io::getDisplayName | ( | ) | const |
\chinese 获取当前安装中I/O的用户自定义名称
| InterfaceType arcs::aubo_scope::Io::getInterfaceType | ( | ) | const |
\chinese 获取此I/O所属的接口类型
| IoType arcs::aubo_scope::Io::getType | ( | ) | const |
\chinese 获取I/O类型
| std::string arcs::aubo_scope::Io::getValueStr | ( | ) | const |
\chinese 获取I/O的当前读数值(字符串形式)
| size_t arcs::aubo_scope::Io::hashCode | ( | ) |
| bool arcs::aubo_scope::Io::isInput | ( | ) | const |
\chinese 判断I/O是否支持读取值
true,否则返回false。 \endchinese \english Returns true if I/O supports reading of values and false otherwise. true if I/O supports reading of values. \endenglish | bool arcs::aubo_scope::Io::isResolvable | ( | ) | const |
\chinese 某些I/O(如MODBUS I/O和模拟工具输入)在某些情况下可能不可用。此方法用于判断 I/O是否可用。
true,否则返回false。 \endchinese \english 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. true, if I/O can be resolved. false otherwise. \endenglish
|
friend |