类 | |
| struct | OutputRandomProvenance |
| Replayable provenance for domain-owned random output draws. 更多... | |
| class | Production |
| Script module factory for generic production queues. 更多... | |
| struct | ProductionDependencies |
| Stable task-to-task constraints for a small production DAG. 更多... | |
| struct | ProductionDiagnostic |
| Structured task diagnostic carrying stable correlation identity. 更多... | |
| struct | ProductionEvent |
| Deterministically sequenced production lifecycle event. 更多... | |
| struct | ProductionPrediction |
| Side-effect-free estimate under an unchanged queue configuration. 更多... | |
| struct | ProductionRepeatPolicy |
| Repetition and externally reported maintain-stock contract. 更多... | |
| struct | ProductionRequest |
| Validated input used to create a domain-neutral production task. 更多... | |
| struct | ProductionReservationRelease |
| Idempotent release evidence used by a domain adapter to perform rollback/refund. 更多... | |
| struct | ProductionResourceRequirement |
| Named capacity consumed while a task is running. 更多... | |
| struct | ProductionSettlementReceipt |
| Owning proof that a domain consumer published one task exactly once. 更多... | |
| struct | ProductionTask |
| A subject-agnostic continuous task retained for audit and save games. 更多... | |
| struct | ProductionTerminationPolicy |
| Explicit cancellation and failure refund contract. 更多... | |
| struct | WorkContribution |
| Deterministic externally supplied work contribution. 更多... | |
| class | WorkQueue |
| Generic multi-owner, multi-slot continuous-progress work queue. 更多... | |
| struct | WorkQueueHandleTag |
| Handle domain for a module-owned continuous-progress work queue. 更多... | |
类型定义 | |
| using | WorkQueueHandleRef = eve::script::RuntimeHandleRef< WorkQueueHandleTag > |
| Generation- and module-epoch-qualified production work-queue reference. | |
枚举 | |
| enum class | TaskState { Queued , Running , Paused , ReadyToSettle , SettlementFailed , Completed , Cancelled , Failed } |
| Lifecycle state of a production task. 更多... | |
| enum class | ProductionEventKind { Enqueued , Started , Paused , Resumed , ReadyToSettle , SettlementFailed , Completed , Cancelled , Failed } |
| Kind of a deterministic production lifecycle event. 更多... | |
| enum class | TaskDependencyMode { AllOf , AnyOf } |
| Completion rule for prerequisite production tasks. 更多... | |
| enum class | RefundPolicy { None , Full , Proportional } |
| Reservation refund rule applied when work terminates before settlement. 更多... | |
| enum class | ReservationState { None , Reserved , Started , Consumed , Released } |
| Lifecycle of opaque domain reservation evidence. 更多... | |
| enum class | SchedulerStrategy { Priority , Fifo , ShortestRemaining } |
| Stable owner-local queue ordering strategy. 更多... | |
函数 | |
| std::string_view | taskStateName (TaskState state) |
| Returns the stable lowercase name of a task state. | |
| std::string_view | eventKindName (ProductionEventKind kind) |
| Returns the stable lowercase name of an event kind. | |
| std::ostream & | operator<< (std::ostream &stream, TaskState state) |
| Writes the stable task-state spelling to a stream. | |
| Module_IMPL (Production, new Production()) | |
类型定义说明
◆ WorkQueueHandleRef
| using eve::production::WorkQueueHandleRef = typedef eve::script::RuntimeHandleRef<WorkQueueHandleTag> |
Generation- and module-epoch-qualified production work-queue reference.
在文件 Production.h 第 27 行定义.
枚举类型说明
◆ ProductionEventKind
|
strong |
Kind of a deterministic production lifecycle event.
| 枚举值 | |
|---|---|
| Enqueued | |
| Started | |
| Paused | |
| Resumed | |
| ReadyToSettle | |
| SettlementFailed | |
| Completed | |
| Cancelled | |
| Failed | |
在文件 Production.h 第 33 行定义.
◆ RefundPolicy
|
strong |
Reservation refund rule applied when work terminates before settlement.
| 枚举值 | |
|---|---|
| None | |
| Full | |
| Proportional | |
在文件 Production.h 第 74 行定义.
◆ ReservationState
|
strong |
Lifecycle of opaque domain reservation evidence.
| 枚举值 | |
|---|---|
| None | |
| Reserved | |
| Started | |
| Consumed | |
| Released | |
在文件 Production.h 第 77 行定义.
◆ SchedulerStrategy
|
strong |
Stable owner-local queue ordering strategy.
| 枚举值 | |
|---|---|
| Priority | |
| Fifo | |
| ShortestRemaining | |
在文件 Production.h 第 87 行定义.
◆ TaskDependencyMode
|
strong |
◆ TaskState
|
strong |
Lifecycle state of a production task.
| 枚举值 | |
|---|---|
| Queued | |
| Running | |
| Paused | |
| ReadyToSettle | |
| SettlementFailed | |
| Completed | |
| Cancelled | |
| Failed | |
在文件 Production.h 第 30 行定义.
函数说明
◆ eventKindName()
| EVENGINE_API_FOUNDATION std::string_view eve::production::eventKindName | ( | ProductionEventKind | kind | ) |
Returns the stable lowercase name of an event kind.
在文件 Production.cpp 第 70 行定义.
引用了 Cancelled, Completed, Enqueued, Failed, kind, Paused, ReadyToSettle, Resumed, SettlementFailed , 以及 Started.
被这些函数引用 eve::queue_editing::RuntimeQueueInspector::capture() , 以及 eve::production::WorkQueue::snapshot().
◆ Module_IMPL()
| eve::production::Module_IMPL | ( | Production | , |
| new | Production() | ||
| ) |
◆ operator<<()
|
inline |
Writes the stable task-state spelling to a stream.
在文件 Production.h 第 382 行定义.
引用了 state , 以及 taskStateName().
◆ taskStateName()
| EVENGINE_API_FOUNDATION std::string_view eve::production::taskStateName | ( | TaskState | state | ) |
Returns the stable lowercase name of a task state.
在文件 Production.cpp 第 56 行定义.
引用了 Cancelled, Completed, Failed, Paused, Queued, ReadyToSettle, Running, SettlementFailed , 以及 state.
被这些函数引用 eve::queue_editing::RuntimeQueueInspector::capture(), eve::production::WorkQueue::diagnose(), operator<<() , 以及 eve::production::WorkQueue::snapshot().