\chinese IO 模型 提供从当前机器人安装中获取 I/O 的方法。 \endchinese \english IoModel Provides methods that returns I/Os from the current robot installation.
更多...
#include <io_model.h>
|
| | 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子集
|
\chinese IO 模型 提供从当前机器人安装中获取 I/O 的方法。 \endchinese \english IoModel Provides methods that returns I/Os from the current robot installation.
\endenglish
在文件 io_model.h 第 24 行定义.
◆ IoModel() [1/3]
| arcs::aubo_scope::IoModel::IoModel |
( |
IoModel & | f | ) |
|
◆ IoModel() [2/3]
| arcs::aubo_scope::IoModel::IoModel |
( |
IoModel && | f | ) |
|
◆ ~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
- 参数
-
- 返回
- 对应名称的I/O。 \endchinese \english Get an I/O by name.
- 参数
-
- 返回
- 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子集
- 参数
-
- 返回
- 被过滤器接受的I/O集合。 \endchinese \english Get a subset of I/Os using a filter.
- 参数
-
- 返回
- the collection of IOs that are accepted by the filter. \endenglish
◆ DataSwitch
◆ d_
| void* arcs::aubo_scope::IoModel::d_ { nullptr } |
|
private |
该类的文档由以下文件生成: