AuboStudio SDK 0.6.3

Public 类型 | Public 成员函数 | Protected 成员函数 | Private 属性 | 友元 | 所有成员列表
arcs::aubo_scope::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
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. 更多...
size_t | hashCode ()

## Protected 成员函数
| Io ()

## Private 属性
void * | d_ { nullptr }

## 友元
class | DataSwitch

## 详细描述

This is the base interface representing all types of I/Os available in AuboScope.

在文件 io.h 第 16 行定义.

## 成员枚举类型说明

## ◆ InterfaceType

enum arcs::aubo_scope::Io::InterfaceType : int

枚举值
STANDARD |
TOOL |
CONFIGURABLE |
LINKIO |
MODBUS |
GENERAL_PURPOSE |
PROFINET |
ETHERNET_IP |

在文件 io.h 第 27 行定义.

## ◆ IoType

enum arcs::aubo_scope::Io::IoType : int

枚举值
DIGITAL |
ANALOG |
INTEGER |
BOOLEAN |
DOUBLE |

在文件 io.h 第 19 行定义.

## 构造及析构函数说明

## ◆ Io() [1/3]

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

## ◆ Io() [2/3]

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

## ◆ ~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

返回
  the action number of the I/O.

## ◆ getDefaultName()

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

返回
  the robot default name of the I/O.

## ◆ getDisplayName()

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

返回
  the user defined name of the IO in the currently selected installation.

## ◆ getInterfaceType()

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

返回
  the interface type this I/O belongs to.

## ◆ getType()

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

返回
  the I/O type.

## ◆ getValueStr()

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

返回
  get current reading of the I/O as a string.

## ◆ hashCode()

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

## ◆ isInput()

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

返回
  `true` if I/O supports reading of values and `false` otherwise.

## ◆ isResolvable()

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.

## 友元及相关函数文档

## ◆ DataSwitch

friend class DataSwitch
| friend

在文件 io.h 第 108 行定义.

## 类成员变量说明

## ◆ d_

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

在文件 io.h 第 109 行定义.

该类的文档由以下文件生成:

- include/aubo_caps/domain/io/io.h