Task Event Datatypes
OcaExecutableType
OcaJobDisposition
-
enum OcaJobDisposition : uint8_t
Types of run queue item disposition
-
enumerator RunStarted = 1
Task Scheduler has successfully started the Executable.
-
enumerator ItemDeleted = 2
Controller explicitly deleted he queue item using the DeleteRunQueueItem() or ClearRunQueue() method.
-
enumerator FailedToStart_TaskNotAvailable = 3
Executable could not start because designated Task was busy or no free Task was available.
-
enumerator FailedToStart_TaskNotCompatible = 4
Executable could not start because designated Task was incompatible with the given Program or Commandset, or the requested RunMode was not supported.
Executable could not start because a required Device resource was unavailable.
-
enumerator FailedToStart_DeviceError = 6
Executable could not start because of a Device error.
-
enumerator RunStarted = 1
OcaJobDisposedEventData
-
struct OcaJobDisposedEventData
Notification data emitted by the OcaTaskScheduler.RunQueueItemDisposed event.
-
OcaJobQueueItem QueueItem
The job queue item that is the subject of this event
-
OcaJobDisposition Disposition
Enum specifying what happened to the queue item.
-
OcaJobQueueItem QueueItem
OcaTaskExecutionTerminatedEventData
-
struct OcaTaskExecutionTerminatedEventData
Notification data emitted by the OcaTaskAgent.TaskChanged event upon successful or unsuccessful termination of an Executable the task agent has been running.
-
OcaExecutableType ExecutableType
Type of Executable - Program or Commandset.
-
OcaVariant<OcaProgramResult, OcaCommandSetResult> Result
Execution result: {generic status, program-type-specific details}. Datatype depends on whether Executable is a Program or a Commandset.
-
OcaExecutableType ExecutableType