类 | |
| struct | Candidate |
| A deterministic candidate returned by a spatial query. 更多... | |
| struct | CandidateCollection |
| Owning broad-phase output; collection never publishes or applies result limits. 更多... | |
| class | CandidateQueryResult |
| Owning ranked result; does not assign a primary target. 更多... | |
| struct | EnvironmentContext |
| Owning context snapshot, resolved once at instance creation. 更多... | |
| struct | EnvironmentContribution |
| Per-item score contribution with its exact normalization population bounds. 更多... | |
| struct | EnvironmentGenerator |
| Generator parameters; maxItems is a hard resource bound, never silent truncation. 更多... | |
| struct | EnvironmentItem |
| A query-local identity and typed location; subjectKey names a mirrored fact, not a UUID. 更多... | |
| struct | EnvironmentItemTrace |
| Bounded explanation for one option-local candidate. 更多... | |
| struct | EnvironmentMetricContract |
| Intrinsic metric guarantees; false reorderable preserves an ordering barrier. 更多... | |
| struct | EnvironmentOption |
| Ordered alternative: advance only when this option has no valid items. 更多... | |
| struct | EnvironmentPlanData |
| struct | EnvironmentQueryDefinition |
| Authoring value; compile validates and owns a copy. Not a persistent wire format. 更多... | |
| class | EnvironmentQueryInstance |
| One-shot synchronous execution state with query-local contexts and diagnostics. @thread Execute on the simulation thread required by services. No concurrent mutation. @reentrancy Re-entering run is rejected. No callbacks are invoked while holding locks. 更多... | |
| class | EnvironmentQueryPlan |
| Immutable resolved plan, safe to reuse after definitions are edited or destroyed. @ownership Shares immutable compiled data with instances; no borrowed definition storage. 更多... | |
| struct | EnvironmentQueryResult |
| Owning result; empty ranked is successful exhaustion, not a backend failure. 更多... | |
| struct | EnvironmentRankedItem |
| One owning ranked candidate. 更多... | |
| struct | EnvironmentRequest |
| Per-execution values. No world pointers or callbacks are retained. 更多... | |
| struct | EnvironmentServices |
| Borrowed providers for this synchronous execution only. 更多... | |
| struct | EnvironmentStageTrace |
| Stage counts include deferred tests and actual backend measurement calls. 更多... | |
| struct | EnvironmentTest |
| One metric with independent filtering and scoring parameters. 更多... | |
| struct | EnvironmentTrace |
| Owning trace survives failed execution; untested is distinct from passed. 更多... | |
| class | GridArea |
| An integer grid area constraint, kept separate from WorldArea. 更多... | |
| class | GridPoint |
| Integer grid point tagged as Grid2D or Grid3D. 更多... | |
| class | IEnvironmentMetric |
| Immutable measurement extension; filtering, aggregation and scoring belong to the executor. @ownership Definitions and compiled plans share ownership because either may outlive the other. @thread Called synchronously on the provider's simulation thread; never retain borrowed arguments. @reentrancy No locks are held. A metric must not mutate the queried world or this instance. 更多... | |
| class | ILineOfSightQuery |
| Consumer-owned line-of-sight capability. 更多... | |
| class | ISensingCandidateProvider |
| Candidate discovery capability consumed by TargetingResolver. 更多... | |
| class | ITargetingTask |
| Pluggable Select/Filter/Sort task. 更多... | |
| struct | LineOfSightResult |
| Result of one injected line-of-sight query. 更多... | |
| class | LineOfSightRouter |
| Routes each line-of-sight query to the backend that claimed its coordinate space. 更多... | |
| struct | PerceptionFact |
| Neutral perception fact projected from a ranked sensing candidate. 更多... | |
| struct | QueryBox |
| Inclusive axis-aligned box shape for QuerySpec (World2D). 更多... | |
| struct | QueryCircle |
| Circle shape for QuerySpec (World2D). 更多... | |
| struct | QueryCone |
| 2D cone/sector shape for QuerySpec (World2D). 更多... | |
| struct | QueryOrigin |
| World origin used for range tests, distance sorting and LOS. 更多... | |
| struct | QuerySpec |
| Configurable candidate query against SensingWorld. 更多... | |
| struct | QuerySphere |
| Sphere in actual XYZ world coordinates. 更多... | |
| struct | RankedCandidate |
| One ranked candidate produced by SensingWorld::query. 更多... | |
| struct | ScriptSensingWorld |
| class | Sensing |
| Script factory for independent sensing worlds. 更多... | |
| class | SensingCandidateProvider |
| Pure CPU sensing candidate provider with deterministic map-backed storage. 更多... | |
| struct | SensingQueryRequest |
| Owning request decoded at a script or tooling boundary. 更多... | |
| class | SensingWorld |
| Mirrored world positions and query composition; consumers decide gameplay actions from results. 更多... | |
| class | SensingWorldCandidateProvider |
| ISensingCandidateProvider adapter over a SensingWorld fact mirror. 更多... | |
| struct | SensingWorldHandleTag |
| Handle domain for module-owned sensing worlds. 更多... | |
| struct | Subject |
| Mirrored gameplay facts used by candidate queries. 更多... | |
| struct | TargetCandidate |
| Candidate facts returned by sensing. 更多... | |
| class | TargetingPipeline |
| In-memory task + preset registry and synchronous executor. 更多... | |
| class | TargetingPlan |
| Immutable resolved legacy plan; owns tasks independently of its registry. @ownership Shared immutable task ownership permits plans to outlive registry replacement. @thread Execute on the source world's simulation thread; custom tasks must not mutate themselves. 更多... | |
| struct | TargetingPreset |
| Named ordered list of targeting tasks. 更多... | |
| struct | TargetingQuery |
| A query passed from a domain targeting algorithm to sensing. 更多... | |
| class | TargetingResolver |
| Generic constraint evaluator that composes candidate and LOS capabilities. 更多... | |
| struct | TargetingSourceContext |
| Runtime source for one pipeline execution. 更多... | |
| struct | TargetingSpec |
| A checked target-count and spatial constraint description. 更多... | |
| struct | TargetingTaskStep |
| Per-step parameters for a preset entry. 更多... | |
| class | TargetSet |
| Owning target result containing primary-independent subjects and optional geometry. 更多... | |
| class | WorldArea |
| A world-space area constraint. 更多... | |
| class | WorldPoint |
| Finite world-space point tagged as either World2D or World3D. 更多... | |
| class | ZoneRef |
| Strong reference to a named spatial zone. 更多... | |
类型定义 | |
| using | QueryShape = std::variant< std::monostate, QueryCircle, QueryBox, QueryCone, QuerySphere > |
| Optional broad-phase shape; monostate means range-only around the origin. | |
| using | SensingWorldHandleRef = eve::script::RuntimeHandleRef< SensingWorldHandleTag > |
| Generation- and module-epoch-qualified sensing-world reference. | |
| using | SubjectRef = ::eve::SubjectRef |
| Strong reference to a runtime subject. | |
| using | TargetLocation = std::variant< WorldPoint, GridPoint > |
| Either a world point or a grid point, with the tag retained. | |
| using | FactionRelationFn = std::function< Result< TargetDomain >(std::string_view originFaction, std::string_view candidateFaction)> |
| Projects faction string pairs into TargetDomain for SensingWorld adapters. | |
枚举 | |
| enum class | CoordinateSpace : std::uint8_t { World2D , World3D , Grid2D , Grid3D } |
| Coordinate spaces are not interchangeable, even when dimensions match. 更多... | |
| enum class | EnvironmentCost : std::uint8_t { Low , Medium , High } |
| Cost tiers used only for explicitly reorderable tests. 更多... | |
| enum class | EnvironmentPurpose : std::uint8_t { Filter , Score , FilterAndScore } |
| Independent hard constraint and utility purposes. 更多... | |
| enum class | EnvironmentFilterOp : std::uint8_t { All , Any } |
| How repeated context measurements determine acceptance. 更多... | |
| enum class | EnvironmentAggregate : std::uint8_t { Average , Minimum , Maximum } |
| How repeated context measurements form one raw metric. 更多... | |
| enum class | EnvironmentNormalization : std::uint8_t { FixedRange , ActivePopulation } |
| Explicit scoring reference population. 更多... | |
| enum class | EnvironmentCurve : std::uint8_t { Linear , Square , SquareRoot } |
| Utility curve applied after normalization and preference direction. 更多... | |
| enum class | EnvironmentPreference : std::uint8_t { Higher , Lower , Reference } |
| Ranking preference; reference uses distance from a target raw value. 更多... | |
| enum class | EnvironmentRunMode : std::uint8_t { All , Best } |
| All retains ranked candidates; Best returns one candidate without assigning primary. 更多... | |
| enum class | EnvironmentTraceLevel : std::uint8_t { None , Summary , Detailed } |
| None, bounded stage counts, or bounded per-item explanations. 更多... | |
| enum class | EnvironmentGeneratorKind : std::uint8_t { Input , Ring , Grid } |
| Input facts or generated points on a world-space XY plane. 更多... | |
| enum class | EnvironmentMetricKind : std::uint8_t { Distance , LineOfSight , Custom } |
| Built-in measurements and the typed extension point. 更多... | |
| enum class | CountPolicy : std::uint8_t { FailIfOutOfRange , TruncateToMax } |
| How candidate-count overflow relative to maxCount is handled. 更多... | |
| enum class | SortKey : std::uint8_t { None , DistanceAscending , DistanceDescending , PathProgressDescending , PathProgressAscending , StrengthDescending , StrengthAscending } |
| Ordering applied to ranked query results. 更多... | |
| enum class | QueryAxes : std::uint8_t { XY , XZ , YZ , XYZ } |
| Independent distance/projection semantics; planar shapes use these two axes. 更多... | |
| enum class | SpatialIndexKind : std::uint8_t { None , XY , XZ , YZ , XYZ } |
| Broad-phase implementation; selecting an index never changes query semantics. 更多... | |
| enum class | TargetDomain : std::uint8_t { Any , Self , Ally , Enemy , Neutral } |
| Stable relationship class used by generic domain constraints. 更多... | |
| enum class | LineOfSightMode : std::uint8_t { NotRequired , Required } |
| Whether a candidate must be visible from the query origin. 更多... | |
| enum class | TargetingTaskKind : std::uint8_t { Select , Filter , Sort } |
| Task role inside a TargetingPreset. 更多... | |
函数 | |
| Result< LineOfSightRouter * > | ensureLineOfSightRouter () |
The process-wide router, registered as the ILineOfSightQuery capability. | |
| Module_IMPL (Sensing, new Sensing()) | |
| std::vector< PerceptionFact > | perceptionFactsFrom (const CandidateQueryResult &result) |
| Projects ranked query results into adapter-neutral perception facts. | |
| void | exposeSensingQueries (ssq::Table &table, ssq::Class &world) |
| Registers spatial queries and owned environment plans at the Squirrel boundary. | |
| Result< SensingQueryRequest > | decodeSensingQuery (std::string_view json) |
| Decodes eve.sensing.query v1; rejects malformed known fields, ignores unknown fields. @cost Linear in input bytes per admission; retain typed requests for repeated C++ queries. @thread Caller thread; no callbacks or retained input storage. | |
| Result< EnvironmentRequest > | decodeEnvironmentRequest (std::string_view json) |
| Decodes eve.sensing.environmentRequest v1; locations retain explicit coordinate tags. @cost Linear in contexts and items per execution; no references to input are retained. @thread Caller thread; no callbacks. | |
| Result< EnvironmentQueryDefinition > | decodeEnvironmentDefinition (std::string_view json) |
| Decodes eve.sensing.environmentDefinition v1 into an owning definition. @cost Linear in input bytes per definition revision; compile and retain the resulting plan. @thread Caller thread; custom native metrics are supplied through the typed C++ API. | |
| EVENGINE_API_PLATFORM void | declareScriptSensingCandidateSeam () |
| 声明"`ISensingCandidateProvider` 可以由脚本提供"这条接缝。 | |
| EVENGINE_API_PLATFORM void | withdrawScriptSensingCandidateSeam () |
撤回接缝与仍然在位的脚本适配器(由 Sensing 模块析构时调用)。 | |
| std::string_view | coordinateSpaceName (CoordinateSpace space) noexcept |
| Returns the stable protocol name for a coordinate space. | |
| std::ostream & | operator<< (std::ostream &stream, CoordinateSpace space) |
| Writes the stable coordinate-space protocol name. | |
类型定义说明
◆ FactionRelationFn
| using eve::sensing::FactionRelationFn = typedef std::function<Result<TargetDomain>(std::string_view originFaction, std::string_view candidateFaction)> |
Projects faction string pairs into TargetDomain for SensingWorld adapters.
Missing relations must not be invented by sensing: callers that request domain != Any without a relation receive Unsupported.
在文件 Targeting.h 第 503 行定义.
◆ QueryShape
| using eve::sensing::QueryShape = typedef std::variant<std::monostate, QueryCircle, QueryBox, QueryCone, QuerySphere> |
◆ SensingWorldHandleRef
◆ SubjectRef
| using eve::sensing::SubjectRef = typedef ::eve::SubjectRef |
Strong reference to a runtime subject.
This is a persistent identity, not an ECS entity handle. The nil value is rejected by all targeting operations. There is no implicit conversion to or from PersistentId, which prevents an AssetId/SubjectRef mix at call sites.
Compatibility spelling for the common subject reference.
在文件 Targeting.h 第 68 行定义.
◆ TargetLocation
| using eve::sensing::TargetLocation = typedef std::variant<WorldPoint, GridPoint> |
Either a world point or a grid point, with the tag retained.
在文件 Targeting.h 第 190 行定义.
枚举类型说明
◆ CoordinateSpace
|
strong |
Coordinate spaces are not interchangeable, even when dimensions match.
| 枚举值 | |
|---|---|
| World2D | |
| World3D | |
| Grid2D | |
| Grid3D | |
在文件 CoordinateSpace.h 第 5 行定义.
◆ CountPolicy
|
strong |
◆ EnvironmentAggregate
|
strong |
How repeated context measurements form one raw metric.
| 枚举值 | |
|---|---|
| Average | |
| Minimum | |
| Maximum | |
在文件 EnvironmentQuery.h 第 43 行定义.
◆ EnvironmentCost
|
strong |
Cost tiers used only for explicitly reorderable tests.
| 枚举值 | |
|---|---|
| Low | |
| Medium | |
| High | |
在文件 EnvironmentQuery.h 第 37 行定义.
◆ EnvironmentCurve
|
strong |
Utility curve applied after normalization and preference direction.
| 枚举值 | |
|---|---|
| Linear | |
| Square | |
| SquareRoot | |
在文件 EnvironmentQuery.h 第 47 行定义.
◆ EnvironmentFilterOp
|
strong |
◆ EnvironmentGeneratorKind
|
strong |
Input facts or generated points on a world-space XY plane.
| 枚举值 | |
|---|---|
| Input | |
| Ring | |
| Grid | |
在文件 EnvironmentQuery.h 第 55 行定义.
◆ EnvironmentMetricKind
|
strong |
Built-in measurements and the typed extension point.
| 枚举值 | |
|---|---|
| Distance | |
| LineOfSight | |
| Custom | |
在文件 EnvironmentQuery.h 第 57 行定义.
◆ EnvironmentNormalization
|
strong |
Explicit scoring reference population.
| 枚举值 | |
|---|---|
| FixedRange | |
| ActivePopulation | |
在文件 EnvironmentQuery.h 第 45 行定义.
◆ EnvironmentPreference
|
strong |
Ranking preference; reference uses distance from a target raw value.
| 枚举值 | |
|---|---|
| Higher | |
| Lower | |
| Reference | |
在文件 EnvironmentQuery.h 第 49 行定义.
◆ EnvironmentPurpose
|
strong |
Independent hard constraint and utility purposes.
| 枚举值 | |
|---|---|
| Filter | |
| Score | |
| FilterAndScore | |
在文件 EnvironmentQuery.h 第 39 行定义.
◆ EnvironmentRunMode
|
strong |
All retains ranked candidates; Best returns one candidate without assigning primary.
| 枚举值 | |
|---|---|
| All | |
| Best | |
在文件 EnvironmentQuery.h 第 51 行定义.
◆ EnvironmentTraceLevel
|
strong |
None, bounded stage counts, or bounded per-item explanations.
| 枚举值 | |
|---|---|
| None | |
| Summary | |
| Detailed | |
在文件 EnvironmentQuery.h 第 53 行定义.
◆ LineOfSightMode
|
strong |
Whether a candidate must be visible from the query origin.
| 枚举值 | |
|---|---|
| NotRequired | |
| Required | |
在文件 Targeting.h 第 55 行定义.
◆ QueryAxes
|
strong |
◆ SortKey
|
strong |
Ordering applied to ranked query results.
◆ SpatialIndexKind
|
strong |
◆ TargetDomain
|
strong |
Stable relationship class used by generic domain constraints.
| 枚举值 | |
|---|---|
| Any | |
| Self | |
| Ally | |
| Enemy | |
| Neutral | |
在文件 Targeting.h 第 46 行定义.
◆ TargetingTaskKind
|
strong |
函数说明
◆ coordinateSpaceName()
|
noexcept |
Returns the stable protocol name for a coordinate space.
在文件 Targeting.cpp 第 561 行定义.
引用了 Grid2D, Grid3D, World2D , 以及 World3D.
被这些函数引用 eve::sensing::SensingWorld::debugLastQueryJson(), operator<<(), eve::sensing::LineOfSightRouter::query() , 以及 eve::sensing::EnvironmentQueryResult::toValue().
◆ declareScriptSensingCandidateSeam()
| EVENGINE_API_PLATFORM void eve::sensing::declareScriptSensingCandidateSeam | ( | ) |
声明"`ISensingCandidateProvider` 可以由脚本提供"这条接缝。
脚本提供方发布一个对象,实现 queryCandidates(query):**收一张表、回一个数组**。
下行(query 表,就是那次查询本身;字段都是已校验过的值):
**位置一律自带 space**(两个方向都一样):originLocation.space 与 query.space 相等 (查询已经校验过),候选也必须自己声明空间。
区域对象(判据:space 决定它是世界还是格子):
| shape | 字段 |
|---|---|
circle2d | center = {x,y}、radius |
box2d | min = {x,y}、max = {x,y} |
sphere3d | center = {x,y,z}、radius |
box3d | min = {x,y,z}、max = {x,y,z} |
cone2d | apex = {x,y}、dirX、dirY、halfAngle、range |
gridBox2d | min = {x,y}、max = {x,y}(整数) |
gridBox3d | min = {x,y,z}、max = {x,y,z}(整数) |
上行(返回值):**候选数组**,每条一个表:
- 备注
- **候选的空间必须与
query.space一致**。这不是啰嗦:格子与世界单位不可互换,静默换算 只会得到悄悄错的距离;不一致时适配器返回Unsupported("请自己显式换算"),而不是猜。domain缺省是neutral,tags/zones缺省为空。 -
**不下发的字段是 resolver 的策略,不是 provider 的活**:
lineOfSight、minCount/maxCount/countPolicy。接口契约本来就写着"返回粗筛候选",可见性与数量策略由TargetingResolver在候选回来之后执行;下发它们只会诱导脚本重复实现别人的契约。 -
幂等:重复调用替换上一对回调。由
Sensing模块构造时调用。 @cost 一次 map 插入;只在模块构造时调用。
在文件 SensingScriptCandidateSeam.cpp 第 403 行定义.
引用了 adapter, eve::sensing::ISensingCandidateProvider::capabilityName, eve::ScriptProviderRegistry::declareCapability(), handle, eve::ScriptProviderRegistry::instance(), owned, raw, eve::recordLogEvent() , 以及 eve::Result< T >::success().
被这些函数引用 eve::sensing::Sensing::Sensing().
◆ decodeEnvironmentDefinition()
| EVENGINE_API_PLATFORM Result< EnvironmentQueryDefinition > eve::sensing::decodeEnvironmentDefinition | ( | std::string_view | bytes | ) |
Decodes eve.sensing.environmentDefinition v1 into an owning definition. @cost Linear in input bytes per definition revision; compile and retain the resulting plan. @thread Caller thread; custom native metrics are supplied through the typed C++ API.
在文件 SensingQueryCodec.cpp 第 193 行定义.
引用了 ActivePopulation, eve::sensing::EnvironmentTest::aggregate, All, Any, Average, Best, bytes, eve::sensing::EnvironmentGenerator::context, eve::sensing::EnvironmentTest::context, count, eve::sensing::EnvironmentTest::curve, d, Detailed, Distance, Filter, FilterAndScore, eve::sensing::EnvironmentTest::filterOp, FixedRange, g, eve::sensing::EnvironmentOption::generator, Grid, Higher, eve::sensing::EnvironmentTest::id, eve::sensing::EnvironmentOption::id, eve::sensing::EnvironmentQueryDefinition::id, Input, eve::sensing::EnvironmentGenerator::kind, Linear, LineOfSight, Lower, Maximum, eve::sensing::EnvironmentTest::maximum, eve::sensing::EnvironmentGenerator::maxItems, eve::sensing::EnvironmentTest::metric, Minimum, eve::sensing::EnvironmentTest::minimum, n, None, eve::sensing::EnvironmentTest::normalization, number, options, eve::sensing::EnvironmentTest::preference, eve::sensing::EnvironmentTest::purpose, eve::sensing::EnvironmentGenerator::radius, Reference, eve::sensing::EnvironmentTest::referenceValue, Ring, eve::sensing::EnvironmentGenerator::samples, Score, eve::sensing::EnvironmentTest::scoreMaximum, eve::sensing::EnvironmentTest::scoreMinimum, eve::sensing::EnvironmentGenerator::spacing, Square, SquareRoot, Summary, t, tests, eve::sensing::EnvironmentOption::tests, text , 以及 eve::sensing::EnvironmentTest::weight.
被这些函数引用 exposeSensingQueries().
◆ decodeEnvironmentRequest()
| EVENGINE_API_PLATFORM Result< EnvironmentRequest > eve::sensing::decodeEnvironmentRequest | ( | std::string_view | bytes | ) |
Decodes eve.sensing.environmentRequest v1; locations retain explicit coordinate tags. @cost Linear in contexts and items per execution; no references to input are retained. @thread Caller thread; no callbacks.
在文件 SensingQueryCodec.cpp 第 164 行定义.
引用了 bytes, c, context, n, eve::sensing::EnvironmentContext::name, points, r, eve::sensing::EnvironmentItem::subjectKey, text , 以及 value.
◆ decodeSensingQuery()
| EVENGINE_API_PLATFORM Result< SensingQueryRequest > eve::sensing::decodeSensingQuery | ( | std::string_view | bytes | ) |
Decodes eve.sensing.query v1; rejects malformed known fields, ignores unknown fields. @cost Linear in input bytes per admission; retain typed requests for repeated C++ queries. @thread Caller thread; no callbacks or retained input storage.
在文件 SensingQueryCodec.cpp 第 106 行定义.
引用了 bytes, count, DistanceAscending, DistanceDescending, FailIfOutOfRange, kind, n, None, number, p, PathProgressAscending, PathProgressDescending, r, shape, StrengthAscending, StrengthDescending, text, TruncateToMax, valid, World3D, XY, XYZ, XZ , 以及 YZ.
◆ ensureLineOfSightRouter()
| EVENGINE_API_PLATFORM Result< LineOfSightRouter * > eve::sensing::ensureLineOfSightRouter | ( | ) |
The process-wide router, registered as the ILineOfSightQuery capability.
Backends claim their spaces through this function instead of registering the capability themselves, which is what keeps the routing table in one place:
- 返回
- Applied when this call registered the router, NoOp when the router was already the registered provider, or Conflict when some other provider holds the slot.
- 备注
- A foreign provider holding the slot is left alone: a project that deliberately registered its own line-of-sight implementation keeps it, and the caller gets a Conflict it can report rather than a silent replacement. @ownership The router is process-wide and immutably owned by this translation unit; callers borrow the pointer and must not delete it. @lifetime Valid for the rest of the process. @thread Call during startup, before queries run.
在文件 LineOfSightRouter.cpp 第 33 行定义.
引用了 eve::Applied, eve::Conflict, eve::NoOp, eve::Status::success() , 以及 eve::Result< T >::success().
被这些函数引用 eve::physics::registerPhysicsCapabilities() , 以及 eve::tactics::registerTacticsLineOfSightProvider().
◆ exposeSensingQueries()
| void eve::sensing::exposeSensingQueries | ( | ssq::Table & | table, |
| ssq::Class & | worldClass | ||
| ) |
Registers spatial queries and owned environment plans at the Squirrel boundary.
在文件 SensingQueryBinding.cpp 第 55 行定义.
引用了 eve::Applied, eve::sensing::EnvironmentQueryPlan::compile(), decodeEnvironmentDefinition(), eve::Diagnostic::error(), eve::Status::failure(), index, eve::InvalidArgument, kind, None, eve::script::projectResult(), eve::script::projectStatusResult(), eve::sensing::ScriptSensingWorld::reference, eve::sensing::Sensing::resolve(), result, eve::Status::success(), tags, vm, x, XY, XYZ, XZ, y, YZ , 以及 z.
◆ Module_IMPL()
| eve::sensing::Module_IMPL | ( | Sensing | , |
| new | Sensing() | ||
| ) |
◆ operator<<()
|
inline |
◆ perceptionFactsFrom()
|
inline |
Projects ranked query results into adapter-neutral perception facts.
- 参数
-
result Borrowed ranked candidates from SensingWorld::query / executePreset.
- 返回
- Owning facts in the same order as
result.ranked().
引用了 eve::sensing::PerceptionFact::distance, result, eve::sensing::PerceptionFact::score, eve::sensing::PerceptionFact::scoreReason, eve::sensing::PerceptionFact::space, eve::sensing::PerceptionFact::subjectId, eve::sensing::PerceptionFact::x, eve::sensing::PerceptionFact::y , 以及 eve::sensing::PerceptionFact::z.
◆ withdrawScriptSensingCandidateSeam()
| EVENGINE_API_PLATFORM void eve::sensing::withdrawScriptSensingCandidateSeam | ( | ) |
撤回接缝与仍然在位的脚本适配器(由 Sensing 模块析构时调用)。
在文件 SensingScriptCandidateSeam.cpp 第 437 行定义.
引用了 adapter, eve::sensing::ISensingCandidateProvider::capabilityName, eve::Result< void >::ignore(), eve::ScriptProviderRegistry::instance(), owned , 以及 eve::ScriptProviderRegistry::removeCapability().
被这些函数引用 eve::sensing::Sensing::~Sensing().