载入中...
搜索中...
未找到
eve::editor::IWorkspacePresentationSource类 参考abstract

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>

类 eve::editor::IWorkspacePresentationSource 继承关系图:
eve::animation_editor::AnimationClipPresentation eve::audio_editor::AudioSourcePresentation

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()

virtual eve::editor::IWorkspacePresentationSource::~IWorkspacePresentationSource ( )
virtualdefault

成员函数说明

◆ action()

virtual Result< void > eve::editor::IWorkspacePresentationSource::action ( std::string_view  id)
pure virtual

Execute a domain action, including undo/redo on its sole history backend.

在 eve::animation_editor::AnimationClipPresentation , 以及 eve::audio_editor::AudioSourcePresentation 内被实现.

◆ read()

virtual PropertyReadResult eve::editor::IWorkspacePresentationSource::read ( const PropertyPath &  path) const
pure virtual

Read a field for the current selection without mutation.

在 eve::animation_editor::AnimationClipPresentation , 以及 eve::audio_editor::AudioSourcePresentation 内被实现.

◆ schema()

virtual PropertySchema eve::editor::IWorkspacePresentationSource::schema ( ) const
pure virtual

Owning schema; field identity is its canonical property path.

在 eve::animation_editor::AnimationClipPresentation , 以及 eve::audio_editor::AudioSourcePresentation 内被实现.

◆ state()

virtual WorkspacePresentationState eve::editor::IWorkspacePresentationSource::state ( ) const
pure virtual

Snapshot of document revision, selection/playhead context and history availability.

在 eve::animation_editor::AnimationClipPresentation , 以及 eve::audio_editor::AudioSourcePresentation 内被实现.

◆ write()

virtual Result< void > eve::editor::IWorkspacePresentationSource::write ( const PropertyPath &  path,
const EditorValue &  value 
)
pure virtual

Commit one validated field through the domain's existing transaction path.

在 eve::animation_editor::AnimationClipPresentation , 以及 eve::audio_editor::AudioSourcePresentation 内被实现.


该类的文档由以下文件生成: