1#ifndef AUBO_SCOPE_PROGRAM_NODE_CONTRIBUTION_H
2#define AUBO_SCOPE_PROGRAM_NODE_CONTRIBUTION_H
134 virtual std::string
postAction(
const char *pattern,
const std::string &body)
153 virtual std::string
getAction(
const char *pattern,
const std::string &body)
#define ARCS_CLASS_FORWARD(C)
Macro that forward declares a class and defines the respective smartpointers through ARCS_DECLARE_PTR...
程序节点贡献 定义了在 AuboScope 中指定 AuboCap 程序节点所需的 API。
virtual void openView()=0
当此节点在程序树中被选中时调用。
virtual void closeView()=0
当此节点在程序树中被取消选中或导航到其他视图时调用。
virtual std::string postAction(const char *pattern, const std::string &body)
virtual std::string getTitle()=0
virtual std::string getAction(const char *pattern, const std::string &body)
virtual void generateScript(ScriptWriterPtr script_writer)=0
定义此程序节点在程序中要生成的脚本代码。
virtual bool isDefined()=0
virtual ~ProgramNodeContribution()=default