载入中...
搜索中...
未找到
CommandQueue.h
浏览该文件的文档.
105 [[nodiscard]] eve::Result<void> cancel(const std::string& id, const std::string& reason = "cancelled");
247 [[nodiscard]] static eve::script::Borrowed<CommandQueue> resolve(CommandQueueHandleRef reference) noexcept;
Vocabulary aliases for nullable and checked borrowed references.
Move-only, checked operation results for the common layer.
Shared metadata for independently deployable command and work queues.
Explicit Value/Owned/Borrowed semantics at the Squirrel boundary.
Owning, renderer-independent dynamic values.
Generic priority order queue with no gameplay or entity semantics.
Definition CommandQueue.h:89
JSON-compatible key/value payload carried by an order.
Definition CommandQueue.h:36
Script module factory for generic CommandQueue objects.
Definition CommandQueue.h:230
static eve::Result< CommandQueueHandleRef > newQueueHandle()
Allocates a queue and returns its generation-qualified ownership reference.
Definition CommandQueue.cpp:618
static bool isStale(CommandQueueHandleRef reference) noexcept
Reports whether a queue reference is invalid for the current module.
Definition CommandQueue.cpp:637
static eve::script::Borrowed< CommandQueue > resolve(CommandQueueHandleRef reference) noexcept
Resolves a live queue as a non-owning observation.
Definition CommandQueue.cpp:623
Module_REG(Orders)
Non-owning C++ observation with no implicit lifetime extension.
Definition RuntimeRegistry.h:42
Slot/generation registry whose objects are exclusively unique-owned.
Definition RuntimeRegistry.h:359
Definition QueueInspector.h:11
@ Completed
@ Active
@ Queued
@ Cancelled
@ Failed
std::string stateName(OrderState state)
Returns the stable lowercase name of a state.
Definition CommandQueue.cpp:158
std::optional< std::reference_wrapper< T > > OptionalRef
Optional borrowed reference; it does not extend T's lifetime.
Definition BorrowedRef.h:24
Owner tag for non-ECS order queue handles.
Definition CommandQueue.h:23
Deterministically sequenced order lifecycle event.
Definition CommandQueue.h:76
One entity-agnostic command and its lifecycle metadata.
Definition CommandQueue.h:67
Sequence and explanation shared by queue lifecycle events.
Definition Scheduling.h:21
Identity, priority and terminal explanation shared by scheduled items.
Definition Scheduling.h:14
Handle plus owner-lifetime epoch for a non-ECS registry object.
Definition RuntimeRegistry.h:91