Safely copies short-lived Orders and Production observations for editor use. 更多...
#include <QueueInspector.h>
Public 成员函数 | |
| QueueInspectionSnapshot | capture (const orders::CommandQueue &queue, const std::string &state={}, const std::string &kind={}) const |
| Capture an Orders queue and optionally filter by state or kind. | |
| QueueInspectionSnapshot | capture (const production::WorkQueue &queue, const std::string &owner={}, const std::string &state={}, const std::string &kind={}) const |
| Capture a Production queue and optionally filter by owner, state or kind. | |
详细描述
Safely copies short-lived Orders and Production observations for editor use.
在文件 QueueInspector.h 第 51 行定义.
成员函数说明
◆ capture() [1/2]
| QueueInspectionSnapshot eve::queue_editing::RuntimeQueueInspector::capture | ( | const orders::CommandQueue & | queue, |
| const std::string & | state = {}, |
||
| const std::string & | kind = {} |
||
| ) | const |
Capture an Orders queue and optionally filter by state or kind.
在文件 QueueInspector.cpp 第 13 行定义.
引用了 borrowed, eve::queue_editing::QueueInspectionSnapshot::diagnostics, eve::queue_editing::QueueInspectionSnapshot::domain, eve::orders::CommandQueue::eventAt(), eve::orders::CommandQueue::eventCount(), eve::queue_editing::QueueInspectionSnapshot::events, eve::orders::Failed, eve::queue_editing::QueueInspectionSnapshot::items, kind, order, eve::orders::CommandQueue::orderAt(), eve::orders::CommandQueue::orderCount(), eve::PreconditionViolation, eve::editing::ruleDiagnostic(), state , 以及 eve::orders::stateName().
◆ capture() [2/2]
| QueueInspectionSnapshot eve::queue_editing::RuntimeQueueInspector::capture | ( | const production::WorkQueue & | queue, |
| const std::string & | owner = {}, |
||
| const std::string & | state = {}, |
||
| const std::string & | kind = {} |
||
| ) | const |
Capture a Production queue and optionally filter by owner, state or kind.
在文件 QueueInspector.cpp 第 47 行定义.
引用了 borrowed, eve::queue_editing::QueueInspectionSnapshot::diagnostics, eve::queue_editing::QueueInspectionSnapshot::domain, duration, eve::production::WorkQueue::eventAt(), eve::production::WorkQueue::eventCount(), eve::production::eventKindName(), eve::queue_editing::QueueInspectionSnapshot::events, eve::queue_editing::QueueInspectionSnapshot::items, kind, eve::PreconditionViolation, eve::editing::ruleDiagnostic(), state, eve::production::WorkQueue::taskAt(), eve::production::WorkQueue::taskCount() , 以及 eve::production::taskStateName().
该类的文档由以下文件生成:
- src/modules/editor/queue/editing/QueueInspector.h
- src/modules/editor/queue/editing/QueueInspector.cpp