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 &request) 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" |
详细描述
在文件 avatar_editor.cpp 第 38 行定义.
成员函数说明
◆ create()
|
inlineoverridevirtual |
Create a domain target from an automation request. @ownership Success transfers the target and any supporting lifetime to the caller.
实现了 eve::editor::IEditorAutomationTargetFactory.
在文件 avatar_editor.cpp 第 42 行定义.
引用了 eve::Result< T >::failure(), eve::avatar_editing::AvatarLayerValue::id, eve::avatar_editing::AvatarParameterValue::id, kind, layer, owned, request, source, target, eve::editor::AutomationOwnedTarget::target, type , 以及 value.
◆ types()
|
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_listwould dangle, because its backing array has the lifetime of the returned object's full-expression.
实现了 eve::editor::IEditorAutomationTargetFactory.
在文件 avatar_editor.cpp 第 40 行定义.
该类的文档由以下文件生成:
- src/modules/avatar/editor/avatar_editor.cpp
Public 成员函数 继承自