|
FOSSredder 0.5.0
|
Classes | |
| struct | JobEvent |
| Event emitted when a job changes state or progress. More... | |
| class | JobManager |
| struct | JobSnapshot |
| Snapshot of the latest known job state. More... | |
| class | JobSystem |
| class | Scheduler |
| Runs background tasks on a bounded worker queue. More... | |
| class | SlotLimiter |
| Limits concurrent access to a bounded number of slots. More... | |
Typedefs | |
| using | JobId = std::string |
| Stable identifier for one tracked job. | |
| using | SubscriptionId = std::uint64_t |
| Identifier for a job event subscription. | |
| using | JobEventCallback = std::function<void(const JobEvent&)> |
| Callback invoked for published job events. | |
Enumerations | |
| enum class | JobKind { Generic } |
| Classifies the high-level type of job. More... | |
| enum class | JobState { Pending , Running , Paused , Finished , Failed , Canceled } |
| Runtime lifecycle state of a job. More... | |
| enum class | JobStage { None } |
| Generic stage marker used by job progress events. More... | |
| using core::jobs::JobEventCallback = std::function<void(const JobEvent&)> |
Callback invoked for published job events.
Definition at line 93 of file JobTypes.h.
| using core::jobs::JobId = std::string |
Stable identifier for one tracked job.
Definition at line 21 of file JobTypes.h.
| using core::jobs::SubscriptionId = std::uint64_t |
Identifier for a job event subscription.
Definition at line 88 of file JobTypes.h.
|
strong |
|
strong |
Generic stage marker used by job progress events.
| Enumerator | |
|---|---|
| None | |
Definition at line 45 of file JobTypes.h.
|
strong |
Runtime lifecycle state of a job.
| Enumerator | |
|---|---|
| Pending | |
| Running | |
| Paused | |
| Finished | |
| Failed | |
| Canceled | |
Definition at line 33 of file JobTypes.h.