载入中...
搜索中...
未找到
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.

在文件 Action.h 第 390 行定义.

成员函数说明

◆ activeExecuted()

bool eve::action::ActionExecution::activeExecuted ( ) const
inlinenoexcept

Whether the Active transaction has committed successfully.

在文件 Action.h 第 423 行定义.

◆ definition()

const ActionDefinition & eve::action::ActionExecution::definition ( ) const
inlinenoexcept

Original definition owned by this execution.

在文件 Action.h 第 397 行定义.

◆ definitionId()

const LogicalId & eve::action::ActionExecution::definitionId ( ) const
inlinenoexcept

Definition identity copied at submission time.

在文件 Action.h 第 395 行定义.

◆ hasCommittedCost()

bool eve::action::ActionExecution::hasCommittedCost ( ) const
inlinenoexcept

Whether Active committed a resource debit.

在文件 Action.h 第 421 行定义.

◆ id()

ActionExecutionId eve::action::ActionExecution::id ( ) const
inlinenoexcept

Runtime identity.

在文件 Action.h 第 393 行定义.

◆ lastTick()

SimulationTick eve::action::ActionExecution::lastTick ( ) const
inlinenoexcept

Last simulation tick observed by the execution.

在文件 Action.h 第 407 行定义.

◆ phase()

ActionPhase eve::action::ActionExecution::phase ( ) const
inlinenoexcept

Current lifecycle phase.

在文件 Action.h 第 401 行定义.

◆ phaseElapsed()

Duration eve::action::ActionExecution::phaseElapsed ( ) const
inlinenoexcept

Time spent in the current phase.

在文件 Action.h 第 403 行定义.

◆ request()

const ActionRequest & eve::action::ActionExecution::request ( ) const
inlinenoexcept

Original request owned by this execution.

在文件 Action.h 第 399 行定义.

◆ resolvedTargets()

const sensing::TargetSet * eve::action::ActionExecution::resolvedTargets ( ) const
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.

在文件 Action.h 第 417 行定义.

◆ status()

const Status & eve::action::ActionExecution::status ( ) const
inlinenoexcept

Current structured execution status.

在文件 Action.h 第 409 行定义.

被这些函数引用 eve::action::ActionRuntime::advance().

◆ totalElapsed()

Duration eve::action::ActionExecution::totalElapsed ( ) const
inlinenoexcept

Total injected simulation duration consumed.

在文件 Action.h 第 405 行定义.

◆ transactionReceipt()

const transaction::TransactionReceipt * eve::action::ActionExecution::transactionReceipt ( ) const
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.

在文件 Action.h 第 430 行定义.

友元及相关函数文档

◆ ActionRuntime

friend class ActionRuntime
friend

在文件 Action.h 第 435 行定义.


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