载入中...
搜索中...
未找到
eve::physics::ForceReceipt类 参考

Read-only completion receipt, safe to retain after world destruction. @ownership Shares only receipt storage; does not retain a world or body. World owns status transitions. @thread Query on the simulation owner thread, serialized with world mutation; no callbacks. 更多...

#include <ForceReceipt.h>

Public 成员函数

ForceStepStatus status () const noexcept
 Current completion status; a moved-from receipt is Cancelled.
 
SimulationStep step () const noexcept
 Requested tick and duration; a moved-from receipt returns the zero step.
 

友元

class ForceBatch
 

详细描述

Read-only completion receipt, safe to retain after world destruction. @ownership Shares only receipt storage; does not retain a world or body. World owns status transitions. @thread Query on the simulation owner thread, serialized with world mutation; no callbacks.

Applied proves the requested world step succeeded, not that subsequently destroyed targets survived. Pending survives backend failure. Destroy or successful restore cancels pending receipts. Receipts are transient and are not serialized. Discarding a receipt does not cancel submitted forces.

在文件 ForceReceipt.h 第 17 行定义.

成员函数说明

◆ status()

ForceStepStatus eve::physics::ForceReceipt::status ( ) const
noexcept

Current completion status; a moved-from receipt is Cancelled.

在文件 ForceReceipt.cpp 第 7 行定义.

引用了 eve::physics::Cancelled.

◆ step()

SimulationStep eve::physics::ForceReceipt::step ( ) const
noexcept

Requested tick and duration; a moved-from receipt returns the zero step.

在文件 ForceReceipt.cpp 第 8 行定义.

友元及相关函数文档

◆ ForceBatch

friend class ForceBatch
friend

在文件 ForceReceipt.h 第 25 行定义.


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