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

Multi-provider extension point for domain-specific automation target creation. 更多...

#include <EditorAutomationTargetFactory.h>

类 eve::editor::IEditorAutomationTargetFactory 继承关系图:
eve::action_editor::ActionEditorModule::TargetFactory eve::animation_editor::AnimationEditorModule::TargetFactory eve::archspace_editor::ArchSpaceEditorModule::TargetFactory eve::audio_editor::AudioEditorModule::TargetFactory eve::avatar_editor::AvatarEditorModule::TargetFactory eve::biome_editor::BiomeEditorModule::TargetFactory eve::fluids_editor::FluidsAutomationTargetFactory eve::gpuagents_editor::GpuAgentsAutomationTargetFactory eve::material_editor::MaterialEditorModule::TargetFactory eve::procgen_editor::ProcgenEditorModule::TargetFactory eve::scene_editor::SceneEditorModule::TargetFactory eve::voxel_editor::VoxelEditorModule::TargetFactory

Public 成员函数

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

静态 Public 属性

static constexpr const char * capabilityName = "IEditorAutomationTargetFactory"
 

详细描述

Multi-provider extension point for domain-specific automation target creation.

在文件 EditorAutomationTargetFactory.h 第 22 行定义.

构造及析构函数说明

◆ ~IEditorAutomationTargetFactory()

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

Releases IEditorAutomationTargetFactory resources.

成员函数说明

◆ create()

◆ supports()

bool eve::editor::IEditorAutomationTargetFactory::supports ( std::string_view  type) const
inline

Whether this factory owns the requested stable target type.

Finds .

在文件 EditorAutomationTargetFactory.h 第 42 行定义.

引用了 type , 以及 types().

◆ types()

virtual std::vector< std::string_view > eve::editor::IEditorAutomationTargetFactory::types ( ) const
pure virtual

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::action_editor::ActionEditorModule::TargetFactory, eve::animation_editor::AnimationEditorModule::TargetFactory, eve::archspace_editor::ArchSpaceEditorModule::TargetFactory, eve::audio_editor::AudioEditorModule::TargetFactory, eve::avatar_editor::AvatarEditorModule::TargetFactory, eve::fluids_editor::FluidsAutomationTargetFactory, eve::gpuagents_editor::GpuAgentsAutomationTargetFactory, eve::material_editor::MaterialEditorModule::TargetFactory, eve::biome_editor::BiomeEditorModule::TargetFactory, eve::procgen_editor::ProcgenEditorModule::TargetFactory, eve::scene_editor::SceneEditorModule::TargetFactory , 以及 eve::voxel_editor::VoxelEditorModule::TargetFactory 内被实现.

被这些函数引用 supports().

类成员变量说明

◆ capabilityName

constexpr const char* eve::editor::IEditorAutomationTargetFactory::capabilityName = "IEditorAutomationTargetFactory"
staticconstexpr

在文件 EditorAutomationTargetFactory.h 第 24 行定义.


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