|
ImagingTools Core SDK
|
#include <IJobExecutionLog.h>
Public Types | |
| enum | ExecutionEventType { EET_JOB_CREATED , EET_JOB_ACCEPTED , EET_JOB_STARTED , EET_STATUS_CHANGED , EET_PROGRESS_UPDATED , EET_JOB_PAUSED , EET_JOB_RESUMED , EET_JOB_CANCELLED , EET_JOB_COMPLETED , EET_JOB_FAILED } |
Public Member Functions | |
| virtual void | LogExecutionEvent (ExecutionEventType eventType, const QString &message, const QDateTime ×tamp=QDateTime::currentDateTime())=0 |
| virtual ilog::IMessageContainer::Messages | GetExecutionEvents (ExecutionEventType eventType) const =0 |
Interface for job execution log.
This log tracks system-level events from the job controller, including lifecycle events, state transitions, and control flow operations. This is distinct from the processor/worker log which contains actual processing output from the worker doing the job.
Definition at line 21 of file IJobExecutionLog.h.
Log entry types specific to job execution tracking.
Definition at line 27 of file IJobExecutionLog.h.
|
pure virtual |
Get all execution events of a specific type.
| eventType | Type of events to retrieve |
|
pure virtual |
Log an execution event.
| eventType | Type of execution event |
| message | Event description (human-readable) |
| timestamp | Event timestamp |
Example usage:
The message should contain context-specific details like job IDs, worker names, error descriptions, timing info, or progress details that help track the system-level job lifecycle.