|
AuboStudio SDK
0.6.3
|
|
|
|
|
\chinese 程序节点工厂 此接口提供创建不同类型程序节点的方法。 更多...
#include <program_node_factory.h>
Public 成员函数 | |
| ProgramNodeFactory (ProgramNodeFactory &f) | |
| ProgramNodeFactory (ProgramNodeFactory &&f) | |
| virtual | ~ProgramNodeFactory () |
| ProgramNodePtr | createUserProgramNode (const char *typeid_service) |
| \chinese 创建一个 AuboCap 程序节点,该节点是 ProgramNodeContribution 的实例。 | |
| MoveNodePtr | createMoveNode () |
| \chinese 创建一个默认的移动节点,其下包含一个默认路点节点。 | |
| MoveNodePtr | createMoveNodeNoTemplate () |
| \chinese | |
| WaypointNodePtr | createWaypointNode () |
| \chinese 创建具有默认路点名称的路点节点(对应终端用户手动添加新节点时生成的名称)。 | |
| WaypointNodePtr | createWaypointNode (const std::string &suggested_name) |
| \chinese | |
| UntilNodePtr | createUntilNode () |
| \chinese 创建一个未指定 until 类型的 Until 节点。 | |
| DirectionNodePtr | createDirectionNode () |
| WaitNodePtr | createWaitNode () |
| SetNodePtr | createSetNode () |
| SetPayloadNodePtr | createSetPayloadNode () |
| PopupNodePtr | createPopupNode () |
| HaltNodePtr | createHaltNode () |
| CommentNodePtr | createCommentNode () |
| FolderNodePtr | createFolderNode () |
| LoopNodePtr | createLoopNode () |
| AssignmentNodePtr | createAssignmentNode () |
| IfNodePtr | createIfNode () |
| ElseIfNodePtr | createElseIfNode () |
| ElseNodePtr | createElseNode () |
| CircleMoveNodePtr | createCircleMoveNode () |
| PalletNodePtr | createPalletNode () |
| SeekNodePtr | createSeekNode () |
| ForceNodePtr | createForceNode () |
| ForceOptionNodePtr | createForceOptionNode () |
| AssemblyNodePtr | createAssemblyNode () |
| ScrewdrivingNodePtr | createScrewdrivingNode () |
| ScriptNodePtr | createScriptNode () |
| TimerNodePtr | createTimerNode () |
| SwitchNodePtr | createSwitchNode () |
| CaseNodePtr | createCaseNode () |
| DefaultCaseNodePtr | createDefaultCaseNode () |
| BreakNodePtr | createBreakNode () |
| SubProgNodePtr | createSubProgNode () |
| CallNodePtr | createCallNode () |
| OfflineTrackNodePtr | createOfflineTrackNode () |
| RecordTrackNodePtr | createRecordTrackNode () |
| ThreadNodePtr | createThreadNode () |
| ProgramHomeNodePtr | createProgramHomeNode () |
| VisualLocalizationProgramNodePtr | createVisualLocalizationProgramNode () |
| ConveyorTrackingNodePtr | createConveyorTrackingNode () |
| GripperNodePtr | createGripperNode (GripperDevicePtr gripperDevice) |
| \chinese | |
Private 成员函数 | |
| ProgramNodeFactory () | |
Private 属性 | |
| void * | d_ { nullptr } |
友元 | |
| class | DataSwitch |
\chinese 程序节点工厂 此接口提供创建不同类型程序节点的方法。
可以创建内置程序节点(由 AUBO Robots 提供)和 AuboCap 程序节点。大多数方法 将创建与终端用户手动添加节点时具有相同默认配置的节点。
请注意,此默认配置可能会因 AuboScope 版本而异。 \endchinese \english ProgramNodeFactory This interfaces supplies methods to create different types of program nodes.
Both built-in program nodes (provided by AUBO Robots) and AuboCap program nodes can be created. Most methods will create a node with the same default configuration as if the end user added the node manually.
Note that this default configuration may change between AuboScope versions. \endenglish
在文件 program_node_factory.h 第 70 行定义.
| arcs::aubo_scope::ProgramNodeFactory::ProgramNodeFactory | ( | ProgramNodeFactory & | f | ) |
引用了 ProgramNodeFactory().
被这些函数引用 ProgramNodeFactory() , 以及 ProgramNodeFactory().


| arcs::aubo_scope::ProgramNodeFactory::ProgramNodeFactory | ( | ProgramNodeFactory && | f | ) |
|
virtual |
|
private |
| AssemblyNodePtr arcs::aubo_scope::ProgramNodeFactory::createAssemblyNode | ( | ) |
| AssignmentNodePtr arcs::aubo_scope::ProgramNodeFactory::createAssignmentNode | ( | ) |
| BreakNodePtr arcs::aubo_scope::ProgramNodeFactory::createBreakNode | ( | ) |
| CallNodePtr arcs::aubo_scope::ProgramNodeFactory::createCallNode | ( | ) |
| CaseNodePtr arcs::aubo_scope::ProgramNodeFactory::createCaseNode | ( | ) |
| CircleMoveNodePtr arcs::aubo_scope::ProgramNodeFactory::createCircleMoveNode | ( | ) |
| CommentNodePtr arcs::aubo_scope::ProgramNodeFactory::createCommentNode | ( | ) |
| ConveyorTrackingNodePtr arcs::aubo_scope::ProgramNodeFactory::createConveyorTrackingNode | ( | ) |
| DefaultCaseNodePtr arcs::aubo_scope::ProgramNodeFactory::createDefaultCaseNode | ( | ) |
| DirectionNodePtr arcs::aubo_scope::ProgramNodeFactory::createDirectionNode | ( | ) |
| ElseIfNodePtr arcs::aubo_scope::ProgramNodeFactory::createElseIfNode | ( | ) |
| ElseNodePtr arcs::aubo_scope::ProgramNodeFactory::createElseNode | ( | ) |
| FolderNodePtr arcs::aubo_scope::ProgramNodeFactory::createFolderNode | ( | ) |
| ForceNodePtr arcs::aubo_scope::ProgramNodeFactory::createForceNode | ( | ) |
| ForceOptionNodePtr arcs::aubo_scope::ProgramNodeFactory::createForceOptionNode | ( | ) |
| GripperNodePtr arcs::aubo_scope::ProgramNodeFactory::createGripperNode | ( | GripperDevicePtr | gripperDevice | ) |
\chinese
创建新的夹爪程序节点。此节点类型可用于编程所选夹爪设备的夹取和释放动作。
程序节点将使用与终端用户在 AuboScope 中手动添加节点时相同的默认配置创建, 即未选择夹爪动作的未定义配置。
| gripperDevice | 要为其创建夹爪节点的夹爪设备,不能为 null。 创建的夹爪节点将为此设备编程夹爪动作。 |
| UnresolvedDeviceException | 当指定的 gripperDevice 设备不可解析时 \endchinese \english |
This method creates a new Gripper program node. This node type can be used for programming grip and release actions with a selected gripper device.
The program node will be created with the same default configuration as if the end user added the node manually in AuboScope, i.e. an undefined configuration where the gripper action is unselected.
| gripperDevice | the gripper device to create a Gripper node for, not null. The created Gripper node will program gripper actions for this device. |
TreeNode interface). | UnresolvedDeviceException | when the specified gripperDevice device is unresolved. See GripperDevice#isResolvable(). \endenglish |
| HaltNodePtr arcs::aubo_scope::ProgramNodeFactory::createHaltNode | ( | ) |
| IfNodePtr arcs::aubo_scope::ProgramNodeFactory::createIfNode | ( | ) |
| LoopNodePtr arcs::aubo_scope::ProgramNodeFactory::createLoopNode | ( | ) |
| MoveNodePtr arcs::aubo_scope::ProgramNodeFactory::createMoveNode | ( | ) |
\chinese 创建一个默认的移动节点,其下包含一个默认路点节点。
| MoveNodePtr arcs::aubo_scope::ProgramNodeFactory::createMoveNodeNoTemplate | ( | ) |
\chinese
创建一个默认的移动节点,其下不包含路点节点(例如用于插入命名路点)。
注意:移动节点必须至少包含一个路点节点才有效。
Creates a default Move node without a Waypoint node under it (e.g. to be used for inserting named waypoints).
Note that at least one Waypoint node must be under it for a Move node to be valid.
| OfflineTrackNodePtr arcs::aubo_scope::ProgramNodeFactory::createOfflineTrackNode | ( | ) |
| PalletNodePtr arcs::aubo_scope::ProgramNodeFactory::createPalletNode | ( | ) |
| PopupNodePtr arcs::aubo_scope::ProgramNodeFactory::createPopupNode | ( | ) |
| ProgramHomeNodePtr arcs::aubo_scope::ProgramNodeFactory::createProgramHomeNode | ( | ) |
| RecordTrackNodePtr arcs::aubo_scope::ProgramNodeFactory::createRecordTrackNode | ( | ) |
| ScrewdrivingNodePtr arcs::aubo_scope::ProgramNodeFactory::createScrewdrivingNode | ( | ) |
| ScriptNodePtr arcs::aubo_scope::ProgramNodeFactory::createScriptNode | ( | ) |
| SeekNodePtr arcs::aubo_scope::ProgramNodeFactory::createSeekNode | ( | ) |
| SetNodePtr arcs::aubo_scope::ProgramNodeFactory::createSetNode | ( | ) |
| SetPayloadNodePtr arcs::aubo_scope::ProgramNodeFactory::createSetPayloadNode | ( | ) |
| SubProgNodePtr arcs::aubo_scope::ProgramNodeFactory::createSubProgNode | ( | ) |
| SwitchNodePtr arcs::aubo_scope::ProgramNodeFactory::createSwitchNode | ( | ) |
| ThreadNodePtr arcs::aubo_scope::ProgramNodeFactory::createThreadNode | ( | ) |
| TimerNodePtr arcs::aubo_scope::ProgramNodeFactory::createTimerNode | ( | ) |
| UntilNodePtr arcs::aubo_scope::ProgramNodeFactory::createUntilNode | ( | ) |
\chinese 创建一个未指定 until 类型的 Until 节点。
| ProgramNodePtr arcs::aubo_scope::ProgramNodeFactory::createUserProgramNode | ( | const char * | typeid_service | ) |
\chinese 创建一个 AuboCap 程序节点,该节点是 ProgramNodeContribution 的实例。
| typeid_service | 创建程序节点贡献的服务 |
null。 | IllegalArgumentException | 如果参数 ProgramNodeService 为 null 或未实现 ProgramNodeService \endchinese \english This method creates a AuboCap program node which is an instance of a contribution/ProgramNodeContribution. |
| typeid_service | is the service creating the program node contribution |
ProgramNode which represents the contribution/ProgramNodeContribution created by ProgramNodeService. Returns null if AuboCap providing ProgramNodeService is not installed. | IllegalArgumentException | if the argument ProgramNodeService is null or ProgramNodeService does not implement ProgramNodeService. \endenglish |
| VisualLocalizationProgramNodePtr arcs::aubo_scope::ProgramNodeFactory::createVisualLocalizationProgramNode | ( | ) |
| WaitNodePtr arcs::aubo_scope::ProgramNodeFactory::createWaitNode | ( | ) |
| WaypointNodePtr arcs::aubo_scope::ProgramNodeFactory::createWaypointNode | ( | ) |
| WaypointNodePtr arcs::aubo_scope::ProgramNodeFactory::createWaypointNode | ( | const std::string & | suggested_name | ) |
\chinese
创建具有建议名称的路点节点。
如果建议名称已被注册,最终名称可能会不同。路点名称在插入程序树时注册。
变量路点将使用变量名称而不是建议名称。
| suggested_name | 建议的路点名称。有效名称必须匹配正则表达式 [a-zA-Z][a-zA-Z0-9_]{0,14} |
| IllegalWaypointNameException | 如果名称为非法格式 \endchinese \english |
Creates a Waypoint node with a suggested name.
The final name can be different if the suggested name is already registered. The waypoint name is registered when it is inserted into the program tree.
Variable waypoints will use the name of the variable instead of the suggested name.
| suggested_name | the suggested name of the waypoint. Valid names must match regex [a-zA-Z][a-zA-Z0-9_]{0,14} for a total of 15 characters. |
| IllegalWaypointNameException | In case of an illegal name. \endenglish |
|
friend |
|
private |
在文件 program_node_factory.h 第 255 行定义.