载入中...
搜索中...
未找到
eve::climbing::ClimbingCandidateBuffer类 参考

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()

void eve::climbing::ClimbingCandidateBuffer::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 
)

◆ tick()

eve::SimulationTick eve::climbing::ClimbingCandidateBuffer::tick ( ) const
inlinenoexcept

Tick that produced the current projection.

在文件 ClimbingECS.h 第 83 行定义.

被这些函数引用 probe() , 以及 replace().

◆ values()

std::span< const ClimbingCandidate > eve::climbing::ClimbingCandidateBuffer::values ( ) const
inlinenoexcept

Return an immutable synchronous view invalidated by the next replace/clear.

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

类成员变量说明

◆ Capacity

constexpr std::size_t eve::climbing::ClimbingCandidateBuffer::Capacity = ClimbingCandidateSet::Capacity
staticconstexpr

在文件 ClimbingECS.h 第 68 行定义.

被这些函数引用 replace().


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