载入中...
搜索中...
未找到
eve::IEditorAutomation类 参考abstract
Module-neutral bridge from DevTools/MCP to the editor command protocol. 更多...
#include <EditorAutomation.h>
类 eve::IEditorAutomation 继承关系图:
Public 成员函数 | |
| virtual | ~IEditorAutomation ()=default |
| I editor automation. | |
| virtual std::string | invoke (const std::string &operation, const std::string &requestJson)=0 |
| Invoke commands, plan, commit, cancel, undo, redo or diagnostics. | |
静态 Public 属性 | |
| static constexpr const char * | capabilityName = "IEditorAutomation" |
详细描述
Module-neutral bridge from DevTools/MCP to the editor command protocol.
JSON keeps the lower-layer DevTools module independent from editor C++ types. Implementations must return a JSON object for every operation, including rejected requests.
在文件 EditorAutomation.h 第 16 行定义.
构造及析构函数说明
◆ ~IEditorAutomation()
|
virtualdefault |
I editor automation.
成员函数说明
◆ invoke()
|
pure virtual |
Invoke commands, plan, commit, cancel, undo, redo or diagnostics.
- 参数
-
operation Stable automation operation name. requestJson UTF-8 JSON request object.
- 返回
- UTF-8 JSON result object with status and diagnostics.
类成员变量说明
◆ capabilityName
|
staticconstexpr |
在文件 EditorAutomation.h 第 18 行定义.
该类的文档由以下文件生成:
- src/engine/common/EditorAutomation.h