AuboStudio SDK  0.6.3
arcs::aubo_scope::Io类 参考

\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>

类 arcs::aubo_scope::Io 继承关系图:

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

在文件 io.h22 行定义.

成员枚举类型说明

◆ InterfaceType

枚举值
STANDARD 
TOOL 
CONFIGURABLE 
LINKIO 
MODBUS 
GENERAL_PURPOSE 
PROFINET 
ETHERNET_IP 

在文件 io.h33 行定义.

◆ IoType

枚举值
DIGITAL 
ANALOG 
INTEGER 
BOOLEAN 
DOUBLE 

在文件 io.h25 行定义.

构造及析构函数说明

◆ Io() [1/3]

arcs::aubo_scope::Io::Io ( Io & f)

引用了 Io().

被这些函数引用 Io() , 以及 Io().

函数调用图:
这是这个函数的调用关系图:

◆ Io() [2/3]

arcs::aubo_scope::Io::Io ( Io && f)

引用了 Io().

函数调用图:

◆ ~Io()

virtual arcs::aubo_scope::Io::~Io ( )
virtual

◆ Io() [3/3]

arcs::aubo_scope::Io::Io ( )
protected

成员函数说明

◆ getAction()

int arcs::aubo_scope::Io::getAction ( ) const

\chinese 获取I/O的动作编号

返回
I/O的动作编号。 \endchinese \english Returns the action number of the I/O.
the action number of the I/O. \endenglish

◆ getDefaultName()

std::string arcs::aubo_scope::Io::getDefaultName ( ) const

\chinese 获取I/O的机器人默认名称

返回
I/O的默认名称。 \endchinese \english Returns the robot default name of the I/O.
the robot default name of the I/O. \endenglish

◆ getDisplayName()

std::string arcs::aubo_scope::Io::getDisplayName ( ) const

\chinese 获取当前安装中I/O的用户自定义名称

返回
I/O的显示名称。 \endchinese \english Returns the user defined name of the IO in the currently selected installation.
the user defined name of the IO. \endenglish

◆ getInterfaceType()

InterfaceType arcs::aubo_scope::Io::getInterfaceType ( ) const

\chinese 获取此I/O所属的接口类型

返回
接口类型枚举。 \endchinese \english Returns the interface type this I/O belongs to.
the interface type this I/O belongs to. \endenglish

◆ getType()

IoType arcs::aubo_scope::Io::getType ( ) const

\chinese 获取I/O类型

返回
I/O类型枚举。 \endchinese \english Returns the I/O type.
the I/O type. \endenglish

◆ getValueStr()

std::string arcs::aubo_scope::Io::getValueStr ( ) const

\chinese 获取I/O的当前读数值(字符串形式)

返回
I/O的当前读数。 \endchinese \english Returns the current reading of the I/O as a string.
get current reading of the I/O as a string. \endenglish

◆ hashCode()

size_t arcs::aubo_scope::Io::hashCode ( )

◆ isInput()

bool arcs::aubo_scope::Io::isInput ( ) const

\chinese 判断I/O是否支持读取值

返回
如果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

◆ isResolvable()

bool arcs::aubo_scope::Io::isResolvable ( ) const

\chinese 某些I/O(如MODBUS I/O和模拟工具输入)在某些情况下可能不可用。此方法用于判断 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

◆ DataSwitch

friend class DataSwitch
friend

在文件 io.h158 行定义.

引用了 DataSwitch.

被这些函数引用 DataSwitch.

类成员变量说明

◆ d_

void* arcs::aubo_scope::Io::d_ { nullptr }
private

在文件 io.h159 行定义.


该类的文档由以下文件生成:
  • include/aubo_caps/domain/io/io.h