Job Manager Subsystem for Blueprint
Subsystem Methods
Name | Description |
---|---|
GetNumJobs | Get the total number of jobs in the queue. |
CancelJob | Cancels the job with the given ID. If the job has already started it may or may not listen to the request. |
CancelAllJobs | Cancels all the jobs in the queue. If any job has already started it may or may not listen to the request. |
IsPendingJobsPaused | Checks if the job manager has been asked to pause. |
PausePendingJobs | Pause pending jobs. No new jobs will be started, but those already running will continue on. Call ResumePendingJobs() to be able to run the jobs again. |
ResumePendingJobs | Resume running pending jobs. Called after PausePendingJobs() have been called and when the jobs can be started again. |
WaitForJobToComplete | Waits for the job with the given ID to complete. |
WaitForAllJobsToComplete | Waits for all the jobs in the job queue to complete. |
Subsystem Properties
Name | Description |
---|---|
OnJobAdded | Called when a new job has been added. |
OnJobCompleted | Called when a job has completed. |
OnJobProgressUpdated | Called when a job's progress is updated. |
OnJobStateChanged | Called when a job's state changes. |
Data structs
Name | Description |
---|---|
JobInfo | Represents a snapshot of a job's state and related information. |
Enums
Name | Description |
---|---|
JobState | This enum specifies what state the job has. |
Functions details
GetNumJobs
Get the total number of jobs in the queue.
CancelJob
Cancels the job with the given ID. If the job has already started it may or may not listen to the request.
CancelAllJobs
Cancels all the jobs in the queue. If any job has already started it may or may not listen to the request.
IsPendingJobsPaused
Checks if the job manager has been asked to pause.
PausePendingJobs
Pause pending jobs. No new jobs will be started, but those already running will continue on. Call ResumePendingJobs() to be able to run the jobs again.
ResumePendingJobs
Resume running pending jobs. Called after PausePendingJobs() have been called and when the jobs can be started again.
WaitForJobToComplete
Waits for the job with the given ID to complete.
WaitForAllJobsToComplete
Waits for all the jobs in the job queue to complete.
Properties details
OnJobAdded
Called when a new job has been added.
OnJobCompleted
Called when a job has completed.
OnJobProgressUpdated
Called when a job's progress is updated.
OnJobStateChanged
Called when a job's state changes.
Data structs details
JobInfo
Represents a snapshot of a job's state and related information.
Enums details
JobState
This enum specifies what state the job has.