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

Optional scene-owned search capability; never owns or mutates scene entities. @ownership Process-lifetime provider; all inputs borrowed only during the call, outputs own data. @thread Engine thread at a safe point; no concurrent scene mutation. @reentrancy Calls no scripts, link callbacks or embedding services. Not reentrant. 更多...

#include <SceneSearch.h>

类 eve::ISceneSearch 继承关系图:
eve::scene::SceneSearch

Public 成员函数

virtual ~ISceneSearch ()=default
 Destroy the provider and its derived projection.
 
virtual Result< SceneSearchSnapshot > prepare (std::string_view host)=0
 Prepare one bounded immutable projection, replacing the previous search session.
 
virtual Result< SceneSearchSnapshot > status ()=0
 Read the current session and live geometry without rebuilding its embedding/HNSW index.
 
virtual Result< void > publish (const SceneEmbeddingBatch &batch)=0
 Atomically publish embeddings in snapshot record order after source validation.
 
virtual Result< SceneSearchResult > query (const SceneSearchQuery &query)=0
 Filter live geometry and retrieve a bounded approximate HNSW cosine candidate window.
 

静态 Public 属性

static constexpr const char * capabilityName = "ISceneSearch"
 

详细描述

Optional scene-owned search capability; never owns or mutates scene entities. @ownership Process-lifetime provider; all inputs borrowed only during the call, outputs own data. @thread Engine thread at a safe point; no concurrent scene mutation. @reentrancy Calls no scripts, link callbacks or embedding services. Not reentrant.

在文件 SceneSearch.h 第 101 行定义.

构造及析构函数说明

◆ ~ISceneSearch()

virtual eve::ISceneSearch::~ISceneSearch ( )
virtualdefault

Destroy the provider and its derived projection.

成员函数说明

◆ prepare()

virtual Result< SceneSearchSnapshot > eve::ISceneSearch::prepare ( std::string_view  host)
pure virtual

Prepare one bounded immutable projection, replacing the previous search session.

参数
hostExplicit existing host name.
返回
Snapshot token and canonical embedding texts, or NotFound / budget failure. @cost Linear in nodes and ancestor transforms per preparation; amortize model work by text caching.

在 eve::scene::SceneSearch 内被实现.

◆ publish()

virtual Result< void > eve::ISceneSearch::publish ( const SceneEmbeddingBatch &  batch)
pure virtual

Atomically publish embeddings in snapshot record order after source validation.

返回
Failure on stale source, invalid/nonfinite vectors or mixed dimensions; old index stays intact. @cost Scene-wide vector normalization and HNSW graph construction; amortize over many queries.

在 eve::scene::SceneSearch 内被实现.

◆ query()

virtual Result< SceneSearchResult > eve::ISceneSearch::query ( const SceneSearchQuery &  query)
pure virtual

Filter live geometry and retrieve a bounded approximate HNSW cosine candidate window.

返回
Owned candidates; stale tokens, absent vectors and exceeded budgets fail explicitly. @cost Linear scene verification plus data-dependent graph traversal; use for low-frequency tools.

在 eve::scene::SceneSearch 内被实现.

◆ status()

virtual Result< SceneSearchSnapshot > eve::ISceneSearch::status ( )
pure virtual

Read the current session and live geometry without rebuilding its embedding/HNSW index.

返回
Owning snapshot, or unavailable/stale semantic source. Engine thread; no callbacks. @cost Linear scene projection per status request; use at tool frequency, not per frame.

在 eve::scene::SceneSearch 内被实现.

类成员变量说明

◆ capabilityName

constexpr const char* eve::ISceneSearch::capabilityName = "ISceneSearch"
staticconstexpr

在文件 SceneSearch.h 第 103 行定义.


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