载入中...
搜索中...
未找到
eve::audio_editor::AudioEditorModule::TargetFactory类 参考final
类 eve::audio_editor::AudioEditorModule::TargetFactory 继承关系图:
eve::editor::IEditorAutomationTargetFactory

Public 成员函数

std::vector< std::string_view > types () const override
 Stable target type names this factory accepts.
 
editor::Result< editor::AutomationOwnedTarget > create (const editor::TargetId &target, std::string_view type, const editor::EditorValue::Object &) override
 Create a domain target from an automation request. @ownership Success transfers the target and any supporting lifetime to the caller.
 
- Public 成员函数 继承自 eve::editor::IEditorAutomationTargetFactory
virtual ~IEditorAutomationTargetFactory ()=default
 Releases IEditorAutomationTargetFactory resources.
 
bool supports (std::string_view type) const
 Whether this factory owns the requested stable target type.
 

额外继承的成员函数

- 静态 Public 属性 继承自 eve::editor::IEditorAutomationTargetFactory
static constexpr const char * capabilityName = "IEditorAutomationTargetFactory"
 

详细描述

在文件 AudioEditorModule.cpp 第 19 行定义.

成员函数说明

◆ create()

editor::Result< editor::AutomationOwnedTarget > eve::audio_editor::AudioEditorModule::TargetFactory::create ( const editor::TargetId &  target,
std::string_view  type,
const editor::EditorValue::Object &  request 
)
inlineoverridevirtual

Create a domain target from an automation request. @ownership Success transfers the target and any supporting lifetime to the caller.

实现了 eve::editor::IEditorAutomationTargetFactory.

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

引用了 owned, target, eve::editor::AutomationOwnedTarget::target , 以及 type.

◆ types()

std::vector< std::string_view > eve::audio_editor::AudioEditorModule::TargetFactory::types ( ) const
inlineoverridevirtual

Stable target type names this factory accepts.

Discovery is the reason this is a list rather than only a predicate: an agent could not previously learn which type values exist, so the built-in schema had to hard-code a subset that drifted from the loaded providers.

返回
Values returned by value on purpose: a returned std::initializer_list would dangle, because its backing array has the lifetime of the returned object's full-expression.

实现了 eve::editor::IEditorAutomationTargetFactory.

在文件 AudioEditorModule.cpp 第 21 行定义.


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