载入中...
搜索中...
未找到
eve::action::ActionTiming结构体 参考

Deterministic simulation durations for the three timed action phases. 更多...

#include <Action.h>

Public 成员函数

EVENGINE_API_PLATFORM Result< Duration > total () const
 Sum of windup + active + recover.
 

Public 属性

Duration windup = Duration::zero()
 Time spent in Windup before Active.
 
Duration active = Duration::zero()
 Time for which the Active result remains in progress.
 
Duration recover = Duration::zero()
 Time spent in Recover before completion.
 

详细描述

Deterministic simulation durations for the three timed action phases.

This is the sole phase-machine authority read by ActionRuntime. Durations are injected values; no action code reads a wall or monotonic clock. When an ActionTimeline is attached, timing.total() must equal timeline.duration. Timeline splitTimestamps are physical section markers and are never read by ActionRuntime — see actionTimingFromPhysicalSections for the optional assembly projection used when authoring timing from those sections.

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

成员函数说明

◆ total()

Result< Duration > eve::action::ActionTiming::total ( ) const

Sum of windup + active + recover.

返回
Owning total duration, or a structured overflow failure.

在文件 Action.cpp 第 70 行定义.

引用了 active, eve::Result< T >::failure(), recover, eve::Duration::tryAdd() , 以及 windup.

被这些函数引用 eve::action::ActionDefinition::validate().

类成员变量说明

◆ active

Duration eve::action::ActionTiming::active = Duration::zero()

Time for which the Active result remains in progress.

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

被这些函数引用 eve::action::actionTimingFromPhysicalSections(), eve::action::ActionRuntime::advance(), total() , 以及 eve::action::ActionDefinition::validate().

◆ recover

Duration eve::action::ActionTiming::recover = Duration::zero()

Time spent in Recover before completion.

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

被这些函数引用 eve::action::actionTimingFromPhysicalSections(), eve::action::ActionRuntime::advance(), total() , 以及 eve::action::ActionDefinition::validate().

◆ windup

Duration eve::action::ActionTiming::windup = Duration::zero()

Time spent in Windup before Active.

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

被这些函数引用 eve::action::actionTimingFromPhysicalSections(), eve::action::ActionRuntime::advance(), total() , 以及 eve::action::ActionDefinition::validate().


该结构体的文档由以下文件生成: