Synchronous adapter for an open domain editor, without UI or domain includes. @ownership Caller owns the source and keeps it alive for each controller call. @thread Owner thread only. No source reference is retained by the controller. @reentrancy Implementations must not re-enter the controller during a call. 更多...
#include <WorkspacePresentation.h>
Public 成员函数 | |
| virtual | ~IWorkspacePresentationSource ()=default |
| virtual WorkspacePresentationState | state () const =0 |
| Snapshot of document revision, selection/playhead context and history availability. | |
| virtual PropertySchema | schema () const =0 |
| Owning schema; field identity is its canonical property path. | |
| virtual PropertyReadResult | read (const PropertyPath &path) const =0 |
| Read a field for the current selection without mutation. | |
| virtual Result< void > | write (const PropertyPath &path, const EditorValue &value)=0 |
| Commit one validated field through the domain's existing transaction path. | |
| virtual Result< void > | action (std::string_view id)=0 |
| Execute a domain action, including undo/redo on its sole history backend. | |
详细描述
Synchronous adapter for an open domain editor, without UI or domain includes. @ownership Caller owns the source and keeps it alive for each controller call. @thread Owner thread only. No source reference is retained by the controller. @reentrancy Implementations must not re-enter the controller during a call.
在文件 WorkspacePresentation.h 第 27 行定义.
构造及析构函数说明
◆ ~IWorkspacePresentationSource()
|
virtualdefault |
成员函数说明
◆ action()
|
pure virtual |
Execute a domain action, including undo/redo on its sole history backend.
在 eve::animation_editor::AnimationClipPresentation , 以及 eve::audio_editor::AudioSourcePresentation 内被实现.
◆ read()
|
pure virtual |
Read a field for the current selection without mutation.
在 eve::animation_editor::AnimationClipPresentation , 以及 eve::audio_editor::AudioSourcePresentation 内被实现.
◆ schema()
|
pure virtual |
Owning schema; field identity is its canonical property path.
在 eve::animation_editor::AnimationClipPresentation , 以及 eve::audio_editor::AudioSourcePresentation 内被实现.
◆ state()
|
pure virtual |
Snapshot of document revision, selection/playhead context and history availability.
在 eve::animation_editor::AnimationClipPresentation , 以及 eve::audio_editor::AudioSourcePresentation 内被实现.
◆ write()
|
pure virtual |
Commit one validated field through the domain's existing transaction path.
在 eve::animation_editor::AnimationClipPresentation , 以及 eve::audio_editor::AudioSourcePresentation 内被实现.
该类的文档由以下文件生成:
- src/modules/editor/presentation/WorkspacePresentation.h