载入中...
搜索中...
未找到
eve::sensing::EnvironmentQueryPlan类 参考

Immutable resolved plan, safe to reuse after definitions are edited or destroyed. @ownership Shares immutable compiled data with instances; no borrowed definition storage. 更多...

#include <EnvironmentQuery.h>

Public 成员函数

Result< EnvironmentQueryInstance > instantiate (EnvironmentRequest request) const
 Validates and snapshots a request into an independently owned one-shot instance. @cost Copies context and input values once per request; execution is a separate explicit step.
 

静态 Public 成员函数

static Result< EnvironmentQueryPlan > compile (const EnvironmentQueryDefinition &definition)
 Validates types, resolves context slots and builds a constrained execution order. @cost Copies and resolves a definition once per revision; retain the plan for repeated requests.
 

友元

class EnvironmentQueryInstance
 

详细描述

Immutable resolved plan, safe to reuse after definitions are edited or destroyed. @ownership Shares immutable compiled data with instances; no borrowed definition storage.

在文件 EnvironmentQuery.h 第 202 行定义.

成员函数说明

◆ compile()

Result< EnvironmentQueryPlan > eve::sensing::EnvironmentQueryPlan::compile ( const EnvironmentQueryDefinition &  definition)
static

Validates types, resolves context slots and builds a constrained execution order. @cost Copies and resolves a definition once per revision; retain the plan for repeated requests.

在文件 EnvironmentQuery.cpp 第 229 行定义.

引用了 eve::sensing::Best, context, eve::sensing::Detailed, eve::Result< T >::failure(), eve::sensing::Grid, eve::sensing::Grid3D, eve::sensing::Input, slot, eve::Result< T >::success(), eve::sensing::World2D , 以及 eve::sensing::World3D.

被这些函数引用 eve::sensing::exposeSensingQueries() , 以及 eve::sensing::SensingWorld::queryPositions().

◆ instantiate()

Result< EnvironmentQueryInstance > eve::sensing::EnvironmentQueryPlan::instantiate ( EnvironmentRequest  request) const

Validates and snapshots a request into an independently owned one-shot instance. @cost Copies context and input values once per request; execution is a separate explicit step.

在文件 EnvironmentQuery.cpp 第 276 行定义.

引用了 c, found, ids, name, request, resolved , 以及 eve::Result< T >::success().

友元及相关函数文档

◆ EnvironmentQueryInstance

friend class EnvironmentQueryInstance
friend

在文件 EnvironmentQuery.h 第 214 行定义.


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