|
AuboStudio SDK
0.6.3
|
|
|
|
|
#include <tcp_contribution_model.h>
Public 成员函数 | |
| TcpContributionModel (TcpContributionModel &f) | |
| TcpContributionModel (TcpContributionModel &&f) | |
| virtual | ~TcpContributionModel () |
| TCPPtr | addTcp (const std::string &idKey, const std::string &suggested_name, const std::vector< double > &offset) |
| Add a TCP to the current AuboScope installation. | |
| TCPPtr | getTcp (const std::string &idKey) |
Returns the TCP previously added by this AuboCap using the same idKey. | |
| void | updateTcp (const std::string &idKey, const std::vector< double > &newOffset) |
| Update the offset of a TCP already added by this AuboCap. | |
| void | removeTcp (const std::string &idKey) |
| Remove a TCP added by this AuboCap from AuboScope. | |
Private 成员函数 | |
| TcpContributionModel () | |
Private 属性 | |
| void * | d_ { nullptr } |
友元 | |
| class | DataSwitch |
This interface provides functionality for adding, updating and removing TCPs in AuboScope.
Note: This interface must only be used in an installation contribution/
在文件 tcp_contribution_model.h 第 19 行定义.
| arcs::aubo_scope::TcpContributionModel::TcpContributionModel | ( | TcpContributionModel & | f | ) |
| arcs::aubo_scope::TcpContributionModel::TcpContributionModel | ( | TcpContributionModel && | f | ) |
|
virtual |
|
private |
| TCPPtr arcs::aubo_scope::TcpContributionModel::addTcp | ( | const std::string & | idKey, |
| const std::string & | suggested_name, | ||
| const std::vector< double > & | offset ) |
Add a TCP to the current AuboScope installation.
This makes it selectable by the end user. The TCP is not modifiable by the end user.
| idKey | The key to identify this TCP by. The key is for this AuboCap only, i.e. it only has to be unique for this AuboCap and not "globally" for other aubo_studio plugins. |
| suggested_name | Suggested name for the tcp/ Valid names must match regex [a-zA-Z][a-zA-Z0-9_]{0,14} for a total of 15 characters. The final name can be retrieved from the returned TCP instance. |
| offset | The offset of the TCP with respect to the tool output flange |
| TCPAlreadyAddedException | If called twice using the same idKey. Use getTCP(std::string) to check if the TCP has already been added to the current installation. Use updateTCP(std::string, Pose) to update the TCP if the offset of the TCP has changed. |
| IllegalTCPNameException | If the suggested name does not match required regex. |
| IllegalArgumentException | If the pose specified for the offset is not inside the valid range of a TCP offset as defined by AuboScope. |
| TCPPtr arcs::aubo_scope::TcpContributionModel::getTcp | ( | const std::string & | idKey | ) |
| void arcs::aubo_scope::TcpContributionModel::removeTcp | ( | const std::string & | idKey | ) |
| void arcs::aubo_scope::TcpContributionModel::updateTcp | ( | const std::string & | idKey, |
| const std::vector< double > & | newOffset ) |
|
friend |
|
private |
在文件 tcp_contribution_model.h 第 92 行定义.