载入中...
搜索中...
未找到
eve::audio_editor::AudioSourcePresentation类 参考final

Call-local presentation adapter over the authoritative audio editor. @ownership Borrows editor until this adapter is destroyed; editor must outlive it. @thread Owner thread. No callbacks or retained UI state. 更多...

#include <AudioSourcePresentation.h>

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

Public 成员函数

 AudioSourcePresentation (AudioSourceEditor &source)
 Borrow an editor for synchronous presentation calls.
 
editor::WorkspacePresentationState state () const override
 Snapshot of document revision, selection/playhead context and history availability.
 
editor::PropertySchema schema () const override
 Owning schema; field identity is its canonical property path.
 
editor::PropertyReadResult read (const editor::PropertyPath &path) const override
 Read a field for the current selection without mutation.
 
editor::Result< void > write (const editor::PropertyPath &path, const editor::EditorValue &value) override
 Commit one validated field through the domain's existing transaction path.
 
editor::Result< void > action (std::string_view id) override
 Execute a domain action, including undo/redo on its sole history backend.
 
- Public 成员函数 继承自 eve::editor::IWorkspacePresentationSource
virtual ~IWorkspacePresentationSource ()=default
 

详细描述

Call-local presentation adapter over the authoritative audio editor. @ownership Borrows editor until this adapter is destroyed; editor must outlive it. @thread Owner thread. No callbacks or retained UI state.

在文件 AudioSourcePresentation.h 第 13 行定义.

构造及析构函数说明

◆ AudioSourcePresentation()

eve::audio_editor::AudioSourcePresentation::AudioSourcePresentation ( AudioSourceEditor &  source)
inlineexplicit

Borrow an editor for synchronous presentation calls.

在文件 AudioSourcePresentation.h 第 16 行定义.

成员函数说明

◆ action()

◆ read()

editor::PropertyReadResult eve::audio_editor::AudioSourcePresentation::read ( const editor::PropertyPath &  path) const
overridevirtual

Read a field for the current selection without mutation.

实现了 eve::editor::IWorkspacePresentationSource.

在文件 AudioSourcePresentation.cpp 第 23 行定义.

引用了 path , 以及 eve::audio_editor::AudioSourceEditor::read().

◆ schema()

editor::PropertySchema eve::audio_editor::AudioSourcePresentation::schema ( ) const
overridevirtual

◆ state()

◆ write()

editor::Result< void > eve::audio_editor::AudioSourcePresentation::write ( const editor::PropertyPath &  path,
const editor::EditorValue &  value 
)
overridevirtual

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

实现了 eve::editor::IWorkspacePresentationSource.

在文件 AudioSourcePresentation.cpp 第 26 行定义.

引用了 descriptor, eve::editing::PropertySchema::find(), path, schema(), eve::audio_editor::AudioSourceEditor::setProperty() , 以及 value.


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