Fixed-capacity owning candidate projection written once per PrePhysics probe phase. 更多...
#include <ClimbingECS.h>
Public 成员函数 | |
| eve::Result< void > | replace (std::span< const ClimbingCandidate > candidates, eve::SimulationTick tick) |
| Atomically replace the buffer; oversize input leaves the old contents unchanged. | |
| eve::Result< void > | probe (ClimbingRuntime &runtime, physics::World3D &world, const ClimbingPose &pose, eve::SimulationTick tick) |
| Fill retained storage through the allocation-free production probe path. | |
| std::span< const ClimbingCandidate > | values () const noexcept |
| Return an immutable synchronous view invalidated by the next replace/clear. | |
| void | clear () noexcept |
| Clear derived candidates without affecting runtime state. | |
| eve::SimulationTick | tick () const noexcept |
| Tick that produced the current projection. | |
静态 Public 属性 | |
| static constexpr std::size_t | Capacity = ClimbingCandidateSet::Capacity |
详细描述
Fixed-capacity owning candidate projection written once per PrePhysics probe phase.
在文件 ClimbingECS.h 第 66 行定义.
成员函数说明
◆ clear()
|
inlinenoexcept |
Clear derived candidates without affecting runtime state.
在文件 ClimbingECS.h 第 81 行定义.
◆ probe()
| eve::Result< void > eve::climbing::ClimbingCandidateBuffer::probe | ( | ClimbingRuntime & | runtime, |
| physics::World3D & | world, | ||
| const ClimbingPose & | pose, | ||
| eve::SimulationTick | tick | ||
| ) |
Fill retained storage through the allocation-free production probe path.
在文件 ClimbingECS.cpp 第 24 行定义.
引用了 eve::Result< T >::failure(), pose, eve::Result< T >::success(), tick() , 以及 world.
◆ replace()
| eve::Result< void > eve::climbing::ClimbingCandidateBuffer::replace | ( | std::span< const ClimbingCandidate > | candidates, |
| eve::SimulationTick | tick | ||
| ) |
Atomically replace the buffer; oversize input leaves the old contents unchanged.
在文件 ClimbingECS.cpp 第 10 行定义.
引用了 Capacity, eve::climbing::ClimbingCandidateSet::consider(), eve::Diagnostic::error(), eve::Result< T >::failure(), eve::PreconditionViolation, eve::climbing::ClimbingCandidateSet::sortAndLimit(), eve::Result< T >::success(), eve::climbing::ClimbingCandidateSet::swap() , 以及 tick().
◆ tick()
|
inlinenoexcept |
Tick that produced the current projection.
在文件 ClimbingECS.h 第 83 行定义.
◆ values()
|
inlinenoexcept |
Return an immutable synchronous view invalidated by the next replace/clear.
在文件 ClimbingECS.h 第 77 行定义.
类成员变量说明
◆ Capacity
|
staticconstexpr |
在文件 ClimbingECS.h 第 68 行定义.
被这些函数引用 replace().
该类的文档由以下文件生成:
- src/modules/climbing/ClimbingECS.h
- src/modules/climbing/ClimbingECS.cpp