载入中...
搜索中...
未找到
eve::action::ActionExecution类 参考
Read-only view of one execution owned by ActionRuntime. 更多...
#include <Action.h>
Public 成员函数 | |
| ActionExecutionId | id () const noexcept |
| Runtime identity. | |
| const LogicalId & | definitionId () const noexcept |
| Definition identity copied at submission time. | |
| const ActionDefinition & | definition () const noexcept |
| Original definition owned by this execution. | |
| const ActionRequest & | request () const noexcept |
| Original request owned by this execution. | |
| ActionPhase | phase () const noexcept |
| Current lifecycle phase. | |
| Duration | phaseElapsed () const noexcept |
| Time spent in the current phase. | |
| Duration | totalElapsed () const noexcept |
| Total injected simulation duration consumed. | |
| SimulationTick | lastTick () const noexcept |
| Last simulation tick observed by the execution. | |
| const Status & | status () const noexcept |
| Current structured execution status. | |
| const sensing::TargetSet * | resolvedTargets () const noexcept |
| Resolved targets, or null until a Query action is validated. | |
| bool | hasCommittedCost () const noexcept |
| Whether Active committed a resource debit. | |
| bool | activeExecuted () const noexcept |
| Whether the Active transaction has committed successfully. | |
| const transaction::TransactionReceipt * | transactionReceipt () const noexcept |
| Return the common transaction receipt produced at Active. | |
友元 | |
| class | ActionRuntime |
详细描述
Read-only view of one execution owned by ActionRuntime.
Adapters receive no mutable lifecycle fields and must not create a second timer or phase machine. The optional receipt is an audit value; the resource provider/account remains authoritative for resource state. A reservation is never retained across an action phase or frame.
成员函数说明
◆ activeExecuted()
|
inlinenoexcept |
◆ definition()
|
inlinenoexcept |
◆ definitionId()
|
inlinenoexcept |
◆ hasCommittedCost()
|
inlinenoexcept |
◆ id()
|
inlinenoexcept |
◆ lastTick()
|
inlinenoexcept |
◆ phase()
|
inlinenoexcept |
◆ phaseElapsed()
|
inlinenoexcept |
◆ request()
|
inlinenoexcept |
◆ resolvedTargets()
|
inlinenoexcept |
Resolved targets, or null until a Query action is validated.
- 返回
- Borrowed storage owned by this ActionExecution; valid until the execution is erased or its ActionRuntime is destroyed. @lifetime The pointer is observation-only and must not be retained across ActionRuntime ownership changes.
◆ status()
|
inlinenoexcept |
Current structured execution status.
◆ totalElapsed()
|
inlinenoexcept |
◆ transactionReceipt()
|
inlinenoexcept |
Return the common transaction receipt produced at Active.
- 返回
- A borrowed receipt, or null when the legacy effect port was used. @lifetime Valid until this ActionExecution is erased or its ActionRuntime is destroyed; the caller must not retain it beyond that owner.
友元及相关函数文档
◆ ActionRuntime
|
friend |
该类的文档由以下文件生成:
- src/modules/action/Action.h