MCP/DevTools adapter over command discovery and target coordination. 更多...
#include <EditorAutomationProvider.h>
类 | |
| struct | ObservationSession |
Public 成员函数 | |
| EditorAutomationProvider (EditorCommandService &commands, EditorTargetCoordinator &targets) | |
| Bind borrowed services that outlive this provider. | |
| ~EditorAutomationProvider () override | |
| Releases EditorAutomationProvider resources. | |
| std::string | invoke (const std::string &operation, const std::string &requestJson) override |
| Invoke discovery, inspect, execute, plan, commit, undo or redo. | |
| void | targetUnregistered (const TargetId &target) |
| Clear automation state that still borrows an unregistered target. | |
Public 成员函数 继承自 eve::IEditorAutomation | |
| virtual | ~IEditorAutomation ()=default |
| I editor automation. | |
额外继承的成员函数 | |
静态 Public 属性 继承自 eve::IEditorAutomation | |
| static constexpr const char * | capabilityName = "IEditorAutomation" |
详细描述
MCP/DevTools adapter over command discovery and target coordination.
在文件 EditorAutomationProvider.h 第 20 行定义.
构造及析构函数说明
◆ EditorAutomationProvider()
| eve::editor::EditorAutomationProvider::EditorAutomationProvider | ( | EditorCommandService & | commands, |
| EditorTargetCoordinator & | targets | ||
| ) |
Bind borrowed services that outlive this provider.
在文件 EditorAutomationProvider.cpp 第 120 行定义.
引用了 eve::editor::EditorSession::setCommandService() , 以及 eve::editor::EditorSession::setSessionId().
◆ ~EditorAutomationProvider()
|
overridedefault |
Releases EditorAutomationProvider resources.
成员函数说明
◆ invoke()
|
overridevirtual |
Invoke discovery, inspect, execute, plan, commit, undo or redo.
在文件 EditorAutomationProvider.cpp 第 135 行定义.
引用了 eve::editor::EditorSession::cancelRetainedPlan(), eve::editor::EditorSession::executeCommandReceipt(), eve::editor::EditorSession::executePlan(), eve::editor::EditorSession::executeRetainedPlan(), eve::editing::Value::getIf(), eve::editor::EditorTargetCoordinator::inspect(), eve::Result< T >::ok(), operation, eve::editor::EditorSession::planCommand(), eve::editor::EditorTransactions::redo(), eve::editor::EditorTargetCoordinator::redo(), request, eve::editor::EditorSession::retainPlan(), eve::editor::EditorCommandService::supportsPlanning(), target, eve::editor::EditorSession::transactions(), eve::editor::EditorTransactions::undo(), eve::editor::EditorTargetCoordinator::undo(), eve::Result< T >::value() , 以及 value.
◆ targetUnregistered()
| void eve::editor::EditorAutomationProvider::targetUnregistered | ( | const TargetId & | target | ) |
Clear automation state that still borrows an unregistered target.
在文件 EditorAutomationProvider.cpp 第 129 行定义.
引用了 eve::editor::EditorSession::boundTargetId(), eve::editor::EditorSession::clearRetainedPlans(), eve::editor::EditorSession::clearTarget() , 以及 target.
该类的文档由以下文件生成:
- src/modules/editor/EditorAutomationProvider.h
- src/modules/editor/EditorAutomationProvider.cpp
Public 成员函数 继承自