载入中...
搜索中...
未找到

Script factory for independent sensing worlds. 更多...

#include <Sensing.h>

类 eve::sensing::Sensing 继承关系图:
eve::Module eve::ISensingQuery

Public 成员函数

 Module_REG (Sensing)
 
 Sensing ()
 Registers the read-only sensing capability for automation hosts.
 
 ~Sensing () override
 Sensing.
 
int worldCount () const override
 Number of live sensing worlds created by the project.
 
std::vector< eve::SensingWorldQuery > lastQueries () const override
 Last completed query of every live world, in slot order.
 
- Public 成员函数 继承自 eve::Module
virtual ~Module ()
 Module.
 
virtual std::string getName () const =0
 Returns the name.
 
- Public 成员函数 继承自 eve::ISensingQuery
virtual ~ISensingQuery ()=default
 I sensing query.
 

静态 Public 成员函数

static eve::Result< SensingWorldHandleRef > newWorld ()
 Script factory for independent sensing worlds.
 
static eve::script::Borrowed< SensingWorld > resolve (SensingWorldHandleRef reference) noexcept
 Resolves a live sensing world as a non-owning observation.
 
static eve::Result< void > release (SensingWorldHandleRef reference)
 Releases a module-owned sensing world and invalidates its handle.
 
static bool isStale (SensingWorldHandleRef reference) noexcept
 Reports whether a world reference is stale.
 

额外继承的成员函数

- 静态 Public 属性 继承自 eve::ISensingQuery
static constexpr const char * capabilityName = "ISensingQuery"
 

详细描述

Script factory for independent sensing worlds.

在文件 Sensing.h 第 277 行定义.

构造及析构函数说明

◆ Sensing()

eve::sensing::Sensing::Sensing ( )

Registers the read-only sensing capability for automation hosts.

在文件 Sensing.cpp 第 626 行定义.

◆ ~Sensing()

eve::sensing::Sensing::~Sensing ( )
override

Sensing.

在文件 Sensing.cpp 第 628 行定义.

成员函数说明

◆ isStale()

bool eve::sensing::Sensing::isStale ( SensingWorldHandleRef  reference)
staticnoexcept

Reports whether a world reference is stale.

在文件 Sensing.cpp 第 614 行定义.

引用了 reference.

◆ lastQueries()

std::vector< eve::SensingWorldQuery > eve::sensing::Sensing::lastQueries ( ) const
overridevirtual

Last completed query of every live world, in slot order.

返回
One entry per live world; empty when the project created none.

Last queries.

实现了 eve::ISensingQuery.

在文件 Sensing.cpp 第 636 行定义.

引用了 eve::SensingWorldQuery::index, index, eve::SensingWorldQuery::lastQueryJson , 以及 world.

◆ Module_REG()

eve::sensing::Sensing::Module_REG ( Sensing  )

◆ newWorld()

eve::Result< SensingWorldHandleRef > eve::sensing::Sensing::newWorld ( )
static

Script factory for independent sensing worlds.

返回
A generation-qualified reference to a module-owned world. @ownership Sensing retains sole ownership; callers retain the reference and release it explicitly. @lifetime The reference becomes stale after release, module unload, or registry replacement. @thread Call on the Sensing module's owning thread. @reentrancy The factory invokes no callbacks.

在文件 Sensing.cpp 第 597 行定义.

◆ release()

eve::Result< void > eve::sensing::Sensing::release ( SensingWorldHandleRef  reference)
static

Releases a module-owned sensing world and invalidates its handle.

在文件 Sensing.cpp 第 606 行定义.

引用了 eve::Diagnostic::error(), eve::Result< T >::failure() , 以及 eve::StaleHandle.

被这些函数引用 eve::sensing::ScriptSensingWorld::~ScriptSensingWorld().

◆ resolve()

eve::script::Borrowed< SensingWorld > eve::sensing::Sensing::resolve ( SensingWorldHandleRef  reference)
staticnoexcept

Resolves a live sensing world as a non-owning observation.

在文件 Sensing.cpp 第 601 行定义.

◆ worldCount()

int eve::sensing::Sensing::worldCount ( ) const
overridevirtual

Number of live sensing worlds created by the project.

World count.

实现了 eve::ISensingQuery.

在文件 Sensing.cpp 第 630 行定义.

引用了 count.


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