载入中...
搜索中...
未找到
eve::sensing::ILineOfSightQuery类 参考abstract
Consumer-owned line-of-sight capability. 更多...
#include <Targeting.h>
类 eve::sensing::ILineOfSightQuery 继承关系图:
Public 成员函数 | |
| virtual | ~ILineOfSightQuery ()=default |
| Releases ILineOfSightQuery resources. | |
| virtual Result< LineOfSightResult > | query (const TargetLocation &from, const TargetLocation &to) const =0 |
| Tests the segment between two same-space locations. | |
静态 Public 属性 | |
| static constexpr const char * | capabilityName = "eve.sensing.ILineOfSightQuery" |
详细描述
Consumer-owned line-of-sight capability.
Providers may support only selected coordinate spaces. A present provider must return Unsupported for a space it cannot interpret; it must not convert grid cells to world units implicitly.
在文件 Targeting.h 第 431 行定义.
构造及析构函数说明
◆ ~ILineOfSightQuery()
|
virtualdefault |
Releases ILineOfSightQuery resources.
成员函数说明
◆ query()
|
pure virtual |
Tests the segment between two same-space locations.
- 参数
-
from Borrowed value location of the observer. to Borrowed value location of the candidate.
- 返回
- Visibility or Unsupported/Rejected with structured diagnostics.
- 备注
- Synchronous; callers must invoke on the provider's documented simulation thread.
在 eve::physics::TargetingLineOfSightAdapter, eve::tactics::TacticsLineOfSightAdapter , 以及 eve::sensing::LineOfSightRouter 内被实现.
类成员变量说明
◆ capabilityName
|
staticconstexpr |
在文件 Targeting.h 第 433 行定义.
该类的文档由以下文件生成:
- src/modules/sensing/Targeting.h