载入中...
搜索中...
未找到
eve::editing::IEditingCommandRegistry类 参考abstract
Lower-layer registration boundary implemented by an editor or runtime editing host. 更多...
#include <EditingCommandRegistry.h>
类 eve::editing::IEditingCommandRegistry 继承关系图:
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 第 43 行定义.
构造及析构函数说明
◆ ~IEditingCommandRegistry()
|
virtualdefault |
Releases IEditingCommandRegistry resources.
成员函数说明
◆ registerPlannedCommand()
|
pure virtual |
Register or replace one domain-owned planned command.
◆ 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 第 45 行定义.
该类的文档由以下文件生成:
- src/modules/editing/EditingCommandRegistry.h