Lower-layer registration boundary implemented by an editor or runtime editing host. 更多...
#include <EditingCommandRegistry.h>
Public 成员函数 | |
| virtual | ~IEditingCommandRegistry ()=default |
| Releases IEditingCommandRegistry resources. | |
| virtual Result< void > | registerPlannedCommand (EditingCommandDescriptor descriptor, EditingCommandPlanner planner)=0 |
| Register or replace one domain-owned planned command. | |
| virtual Result< std::size_t > | unregisterOwner (const std::string &ownerModule)=0 |
| Remove every command registered by one domain module. | |
静态 Public 属性 | |
| static constexpr const char * | capabilityName = "IEditingCommandRegistry" |
详细描述
Lower-layer registration boundary implemented by an editor or runtime editing host.
Domain satellites depend on this interface rather than on EditorSession or EditorCommandService. The host owns execution, transaction history and policy.
在文件 EditingCommandRegistry.h 第 30 行定义.
构造及析构函数说明
◆ ~IEditingCommandRegistry()
|
virtualdefault |
Releases IEditingCommandRegistry resources.
成员函数说明
◆ registerPlannedCommand()
|
pure virtual |
Register or replace one domain-owned planned command.
在 eve::editor::EditorTargetCoordinator 内被实现.
被这些函数引用 eve::action_editor::registerEditingCommands(), eve::audio_editing::registerEditingCommands(), eve::material_editing::registerEditingCommands(), eve::scene_editing::registerEditingCommands() , 以及 eve::procgen_editing::registerRoadNetworkEditingCommands().
◆ unregisterOwner()
|
pure virtual |
Remove every command registered by one domain module.
- 参数
-
ownerModule Stable owner name used in command descriptors.
- 返回
- Applied with the number removed, or a structured failure.
类成员变量说明
◆ capabilityName
|
staticconstexpr |
在文件 EditingCommandRegistry.h 第 32 行定义.
该类的文档由以下文件生成:
- src/modules/editing/EditingCommandRegistry.h