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

\chinese IO 模型 提供从当前机器人安装中获取 I/O 的方法。 \endchinese \english IoModel Provides methods that returns I/Os from the current robot installation. 更多...

#include <io_model.h>

Public 成员函数

 IoModel (IoModel &f)
 IoModel (IoModel &&f)
 ~IoModel ()
std::vector< IoPtr > getAll ()
 \chinese 获取所有可用的I/O集合
IoPtr getIo (const std::string &name)
 Io \chinese 根据名称获取I/O
std::vector< IoPtr > getIos (std::function< bool(IoPtr)> filter)
 \chinese 使用过滤器获取I/O子集

Private 成员函数

 IoModel ()

Private 属性

void * d_ { nullptr }

友元

class DataSwitch

详细描述

\chinese IO 模型 提供从当前机器人安装中获取 I/O 的方法。 \endchinese \english IoModel Provides methods that returns I/Os from the current robot installation.

\endenglish

在文件 io_model.h24 行定义.

构造及析构函数说明

◆ IoModel() [1/3]

arcs::aubo_scope::IoModel::IoModel ( IoModel & f)

引用了 IoModel().

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

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

◆ IoModel() [2/3]

arcs::aubo_scope::IoModel::IoModel ( IoModel && f)

引用了 IoModel().

函数调用图:

◆ ~IoModel()

arcs::aubo_scope::IoModel::~IoModel ( )

◆ IoModel() [3/3]

arcs::aubo_scope::IoModel::IoModel ( )
private

成员函数说明

◆ getAll()

std::vector< IoPtr > arcs::aubo_scope::IoModel::getAll ( )

\chinese 获取所有可用的I/O集合

返回
可用I/O的集合。 \endchinese \english Returns the collection of available I/Os, including Modbus, EuroMap67 and named General Purpose Registers.
the collection of available I/Os. \endenglish

◆ getIo()

IoPtr arcs::aubo_scope::IoModel::getIo ( const std::string & name)

Io \chinese 根据名称获取I/O

参数
nameI/O名称。
返回
对应名称的I/O。 \endchinese \english Get an I/O by name.
参数
namethe name of the I/O.
返回
the I/O with the given name. \endenglish

◆ getIos()

std::vector< IoPtr > arcs::aubo_scope::IoModel::getIos ( std::function< bool(IoPtr)> filter)

\chinese 使用过滤器获取I/O子集

参数
filter过滤器。
返回
被过滤器接受的I/O集合。 \endchinese \english Get a subset of I/Os using a filter.
参数
filtersee IOFilterFactory.
返回
the collection of IOs that are accepted by the filter. \endenglish

◆ DataSwitch

friend class DataSwitch
friend

在文件 io_model.h77 行定义.

引用了 DataSwitch.

被这些函数引用 DataSwitch.

类成员变量说明

◆ d_

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

在文件 io_model.h79 行定义.


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