\chinese TCP 模型 此接口提供对 AuboScope 中当前可用的 TCP 的访问。 \endchinese \english TcpModel This interface provides access to the TCPs that are currently available in AuboScope.
更多...
#include <tcp_model.h>
\chinese TCP 模型 此接口提供对 AuboScope 中当前可用的 TCP 的访问。 \endchinese \english TcpModel This interface provides access to the TCPs that are currently available in AuboScope.
\endenglish
在文件 tcp_model.h 第 24 行定义.
◆ TcpModel() [1/3]
| arcs::aubo_scope::TcpModel::TcpModel |
( |
TcpModel & | f | ) |
|
◆ TcpModel() [2/3]
| arcs::aubo_scope::TcpModel::TcpModel |
( |
TcpModel && | f | ) |
|
◆ ~TcpModel()
| virtual arcs::aubo_scope::TcpModel::~TcpModel |
( |
| ) |
|
|
virtual |
◆ TcpModel() [3/3]
| arcs::aubo_scope::TcpModel::TcpModel |
( |
| ) |
|
|
private |
◆ connectedTo()
| std::string arcs::aubo_scope::TcpModel::connectedTo |
( |
const std::string & | receiver, |
|
|
const std::function< void(TcpModel *)> & | slot ) |
\chinese 注册变更回调
- 参数
-
- 返回
- 连接标识符。 \endchinese \english Register callback for changed.
- 参数
-
| receiver | the receiver identifier. |
| slot | the callback function. |
- 返回
- the connection identifier. \endenglish
引用了 TcpModel().
◆ disconnectFrom()
| void arcs::aubo_scope::TcpModel::disconnectFrom |
( |
const std::string & | receiver | ) |
|
\chinese 断开回调连接
- 参数
-
| receiver | 接收者标识。 \endchinese \english Disconnect a callback. |
| receiver | the receiver identifier. \endenglish |
◆ getAll()
| std::vector< TCPPtr > arcs::aubo_scope::TcpModel::getAll |
( |
| ) |
|
\chinese 获取AuboScope中所有TCP的集合
- 返回
- 所有TCP的集合。 \endchinese \english Returns a collection of all the TCPs in AuboScope.
-
A collection of all the TCPs in AuboScope. \endenglish
◆ getDefaultTcp()
| TCPPtr arcs::aubo_scope::TcpModel::getDefaultTcp |
( |
| ) |
|
TCP \chinese 获取默认TCP
- 返回
- 默认TCP。 \endchinese \english Returns the default TCP.
-
the default TCP. \endenglish
◆ getTcp()
| TCPPtr arcs::aubo_scope::TcpModel::getTcp |
( |
const std::string & | name | ) |
|
TCP \chinese 根据名称获取TCP
- 参数
-
- 返回
- 对应名称的TCP。 \endchinese \english Get a TCP by name.
- 参数
-
- 返回
- the TCP with the given name. \endenglish
◆ DataSwitch
◆ d_
| void* arcs::aubo_scope::TcpModel::d_ { nullptr } |
|
private |
该类的文档由以下文件生成: