载入中...
搜索中...
未找到
eve::sensing::ZoneRef类 参考
Strong reference to a named spatial zone. 更多...
#include <Targeting.h>
Public 成员函数 | |
| ZoneRef ()=default | |
| Constructs an invalid zone reference. | |
| bool | isValid () const noexcept |
| Returns whether the reference contains a valid logical ID. | |
| const LogicalId & | logicalId () const noexcept |
| Returns the wrapped logical ID. | |
静态 Public 成员函数 | |
| static std::optional< ZoneRef > | fromLogicalId (LogicalId id) |
| Creates a zone reference from a valid logical ID. | |
友元 | |
| bool | operator== (const ZoneRef &, const ZoneRef &) noexcept=default |
详细描述
Strong reference to a named spatial zone.
ZoneRef names a logical zone; its shape and membership are supplied by a candidate provider. It is intentionally distinct from SubjectRef.
在文件 Targeting.h 第 84 行定义.
构造及析构函数说明
◆ ZoneRef()
|
default |
Constructs an invalid zone reference.
被这些函数引用 fromLogicalId().
成员函数说明
◆ fromLogicalId()
Creates a zone reference from a valid logical ID.
- 参数
-
id Scoped logical zone name.
- 返回
- The reference, or empty when
idis invalid.
在文件 Targeting.cpp 第 123 行定义.
被这些函数引用 eve::sensing::SensingWorldCandidateProvider::query().
◆ isValid()
|
inlinenoexcept |
Returns whether the reference contains a valid logical ID.
在文件 Targeting.h 第 97 行定义.
被这些函数引用 fromLogicalId().
◆ logicalId()
|
inlinenoexcept |
Returns the wrapped logical ID.
在文件 Targeting.h 第 100 行定义.
友元及相关函数文档
◆ operator==
该类的文档由以下文件生成:
- src/modules/sensing/Targeting.h
- src/modules/sensing/Targeting.cpp