载入中...
搜索中...
未找到
Production.h 文件参考
#include "common/Export.h"
#include "common/BorrowedRef.h"
#include "common/Module.h"
#include "common/Scheduling.h"
#include "common/Snapshot.h"
#include "common/SquirrelOwnership.h"
#include "common/Time.h"
#include "common/definitions/DefinitionRuntime.h"
#include <cstdint>
#include <deque>
#include <memory>
#include <ostream>
#include <string>
#include <string_view>
#include <tuple>
#include <vector>

浏览源代码.

类

struct  eve::production::WorkQueueHandleTag
 Handle domain for a module-owned continuous-progress work queue. 更多...
 
struct  eve::production::ProductionSettlementReceipt
 Owning proof that a domain consumer published one task exactly once. 更多...
 
struct  eve::production::ProductionDependencies
 Stable task-to-task constraints for a small production DAG. 更多...
 
struct  eve::production::ProductionResourceRequirement
 Named capacity consumed while a task is running. 更多...
 
struct  eve::production::ProductionReservationRelease
 Idempotent release evidence used by a domain adapter to perform rollback/refund. 更多...
 
struct  eve::production::OutputRandomProvenance
 Replayable provenance for domain-owned random output draws. 更多...
 
struct  eve::production::ProductionRepeatPolicy
 Repetition and externally reported maintain-stock contract. 更多...
 
struct  eve::production::ProductionPrediction
 Side-effect-free estimate under an unchanged queue configuration. 更多...
 
struct  eve::production::ProductionDiagnostic
 Structured task diagnostic carrying stable correlation identity. 更多...
 
struct  eve::production::ProductionTerminationPolicy
 Explicit cancellation and failure refund contract. 更多...
 
struct  eve::production::WorkContribution
 Deterministic externally supplied work contribution. 更多...
 
struct  eve::production::ProductionRequest
 Validated input used to create a domain-neutral production task. 更多...
 
struct  eve::production::ProductionTask
 A subject-agnostic continuous task retained for audit and save games. 更多...
 
struct  eve::production::ProductionEvent
 Deterministically sequenced production lifecycle event. 更多...
 
class  eve::production::WorkQueue
 Generic multi-owner, multi-slot continuous-progress work queue. 更多...
 
class  eve::production::Production
 Script module factory for generic production queues. 更多...
 

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::production
 

类型定义

using eve::production::WorkQueueHandleRef = eve::script::RuntimeHandleRef< WorkQueueHandleTag >
 Generation- and module-epoch-qualified production work-queue reference.
 

枚举

enum class  eve::production::TaskState {
  eve::production::Queued , eve::production::Running , eve::production::Paused , eve::production::ReadyToSettle ,
  eve::production::SettlementFailed , eve::production::Completed , eve::production::Cancelled , eve::production::Failed
}
 Lifecycle state of a production task. 更多...
 
enum class  eve::production::ProductionEventKind {
  eve::production::Enqueued , eve::production::Started , eve::production::Paused , eve::production::Resumed ,
  eve::production::ReadyToSettle , eve::production::SettlementFailed , eve::production::Completed , eve::production::Cancelled ,
  eve::production::Failed
}
 Kind of a deterministic production lifecycle event. 更多...
 
enum class  eve::production::TaskDependencyMode { eve::production::AllOf , eve::production::AnyOf }
 Completion rule for prerequisite production tasks. 更多...
 
enum class  eve::production::RefundPolicy { eve::production::None , eve::production::Full , eve::production::Proportional }
 Reservation refund rule applied when work terminates before settlement. 更多...
 
enum class  eve::production::ReservationState {
  eve::production::None , eve::production::Reserved , eve::production::Started , eve::production::Consumed ,
  eve::production::Released
}
 Lifecycle of opaque domain reservation evidence. 更多...
 
enum class  eve::production::SchedulerStrategy { eve::production::Priority , eve::production::Fifo , eve::production::ShortestRemaining }
 Stable owner-local queue ordering strategy. 更多...
 

函数

std::string_view eve::production::taskStateName (TaskState state)
 Returns the stable lowercase name of a task state.
 
std::ostream & eve::production::operator<< (std::ostream &stream, TaskState state)
 Writes the stable task-state spelling to a stream.
 
std::string_view eve::production::eventKindName (ProductionEventKind kind)
 Returns the stable lowercase name of an event kind.