载入中...
搜索中...
未找到
QueueInspector.h
浏览该文件的文档.
1#pragma once
2#include "common/Export.h"
3
4
6
7#include <cstdint>
8#include <string>
9#include <vector>
10
11namespace eve::orders { class CommandQueue; }
12namespace eve::production { class WorkQueue; }
13
14namespace eve::queue_editing {
17
20 std::string id;
21 std::string owner;
22 std::string kind;
23 std::string product;
24 std::string state;
25 int priority = 0;
26 double progress = 0.0;
27 double duration = 0.0;
28 std::string payloadJson;
29};
30
33 std::uint64_t sequence = 0;
34 std::uint64_t tick = 0;
35 std::string item;
36 std::string kind;
37 std::string from;
38 std::string to;
39 std::string reason;
40};
41
44 std::string domain;
45 std::vector<QueueItemSnapshot> items;
46 std::vector<QueueEventSnapshot> events;
47 std::vector<EditorDiagnostic> diagnostics;
48};
49
52public:
55 const std::string& state = {},
56 const std::string& kind = {}) const;
59 const std::string& owner = {},
60 const std::string& state = {},
61 const std::string& kind = {}) const;
62};
63
64} // namespace eve::queue_editing
#define EVENGINE_API_BACKENDS
Definition Export.h:108
TokenKind kind
A structured explanation of a failed, degraded, or noteworthy result.
Definition Diagnostic.h:94
UUID-backed identifier adapter for legacy textual boundaries.
Definition Identity.h:314
Generic priority order queue with no gameplay or entity semantics.
Generic multi-owner, multi-slot continuous-progress work queue.
Definition Production.h:200
Safely copies short-lived Orders and Production observations for editor use.
eve::Severity DiagnosticSeverity
eve::Diagnostic Diagnostic
StrongId< RuleIdTag > RuleId
Definition EditingIds.h:60
Severity
Stable severity of a diagnostic, independent of its display text.
Definition Diagnostic.h:20
Runtime-neutral lifecycle event for timeline presenters.
Immutable queue inspection result with structured diagnostics.
std::vector< QueueEventSnapshot > events
std::vector< EditorDiagnostic > diagnostics
std::vector< QueueItemSnapshot > items
Runtime-neutral retained queue item for inspector tables.