载入中...
搜索中...
未找到
eve::climbing::ClimbingEventBatch类 参考
Bounded owning post-simulation event batch safe to dispatch after the ECS View closes. 更多...
#include <ClimbingECS.h>
Public 成员函数 | |
| eve::Result< void > | replace (std::span< const ClimbingEvent > events, eve::SimulationTick tick) |
| Atomically replace the event batch or reject an impossible oversize input. | |
| std::span< const ClimbingEvent > | values () const noexcept |
| Immutable synchronous event view. | |
| eve::SimulationTick | tick () const noexcept |
| Simulation tick at which the runtime queue was drained. | |
静态 Public 属性 | |
| static constexpr std::size_t | Capacity = ClimbingRuntime::PendingEventCapacity |
详细描述
Bounded owning post-simulation event batch safe to dispatch after the ECS View closes.
在文件 ClimbingECS.h 第 121 行定义.
成员函数说明
◆ replace()
| eve::Result< void > eve::climbing::ClimbingEventBatch::replace | ( | std::span< const ClimbingEvent > | events, |
| eve::SimulationTick | tick | ||
| ) |
Atomically replace the event batch or reject an impossible oversize input.
在文件 ClimbingECS.cpp 第 53 行定义.
引用了 Capacity, eve::Diagnostic::error(), events, eve::Result< T >::failure(), eve::PreconditionViolation, eve::Result< T >::success() , 以及 tick().
◆ tick()
|
inlinenoexcept |
Simulation tick at which the runtime queue was drained.
在文件 ClimbingECS.h 第 131 行定义.
被这些函数引用 replace().
◆ values()
|
inlinenoexcept |
Immutable synchronous event view.
在文件 ClimbingECS.h 第 129 行定义.
类成员变量说明
◆ Capacity
|
staticconstexpr |
在文件 ClimbingECS.h 第 123 行定义.
被这些函数引用 replace().
该类的文档由以下文件生成:
- src/modules/climbing/ClimbingECS.h
- src/modules/climbing/ClimbingECS.cpp