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

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. 更多...

#include <EnvironmentQuery.h>

Public 成员函数

virtual ~IEnvironmentMetric ()=default
 Releases a measurement implementation.
 
virtual EnvironmentMetricContract contract () const noexcept=0
 Declares supported space and optimization guarantees.
 
virtual Result< double > measure (const EnvironmentItem &item, const TargetLocation &reference, const EnvironmentServices &services) const =0
 Returns one finite raw measurement, or a structured backend failure.
 

详细描述

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.

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

构造及析构函数说明

◆ ~IEnvironmentMetric()

virtual eve::sensing::IEnvironmentMetric::~IEnvironmentMetric ( )
virtualdefault

Releases a measurement implementation.

成员函数说明

◆ contract()

virtual EnvironmentMetricContract eve::sensing::IEnvironmentMetric::contract ( ) const
pure virtualnoexcept

Declares supported space and optimization guarantees.

◆ measure()

virtual Result< double > eve::sensing::IEnvironmentMetric::measure ( const EnvironmentItem &  item,
const TargetLocation &  reference,
const EnvironmentServices &  services 
) const
pure virtual

Returns one finite raw measurement, or a structured backend failure.


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