AuboStudio SDK 0.6.3

Public 成员函数 | Private 成员函数 | Private 属性 | 友元 | 所有成员列表
arcs::aubo_scope::TcpModel类 参考

This interface provides access to the TCPs that are currently available in AuboScope. 更多...

`#include <tcp_model.h>`

## Public 成员函数
| TcpModel (TcpModel &f)
| TcpModel (TcpModel &&f)
virtual | ~TcpModel ()
std::vector< TCPPtr > | getAll ()
TCPPtr | getTcp (const std::string &name)
TCPPtr | getDefaultTcp ()
std::string | connectedTo (const std::string &receiver, const std::function< void(TcpModel *)> &slot)
void | disconnectFrom (const std::string &receiver)

## Private 成员函数
| TcpModel ()

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

## 友元
class | DataSwitch

## 详细描述

This interface provides access to the TCPs that are currently available in AuboScope.

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

## 构造及析构函数说明

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

## ◆ disconnectFrom()

void arcs::aubo_scope::TcpModel::disconnectFrom | ( | const std::string & | receiver | ) |

## ◆ getAll()

std::vector<TCPPtr> arcs::aubo_scope::TcpModel::getAll | ( |  | ) |

返回
  A collection of all the TCPs in AuboScope, including user-defined TCPs and TCPs added by aubo_studio plugins.

## ◆ getDefaultTcp()

TCPPtr arcs::aubo_scope::TcpModel::getDefaultTcp | ( |  | ) |

## ◆ getTcp()

TCPPtr arcs::aubo_scope::TcpModel::getTcp | ( | const std::string & | name | ) |

## 友元及相关函数文档

## ◆ DataSwitch

friend class DataSwitch
| friend

在文件 tcp_model.h 第 38 行定义.

## 类成员变量说明

## ◆ d_

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

在文件 tcp_model.h 第 40 行定义.

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

- include/aubo_caps/domain/tcp/tcp_model.h