OcaTask¶
-
class
OcaTask
()¶ An execution thread that runs an AES70 Program. Programs are OcaLibrary volumes that contain application-specific execution instructions.
-
OcaTask.
ID
¶ type: number
Task ID - assigned by OcaTaskManager
-
OcaTask.
Label
¶ type: string
This was not documented in the OCA standard.
-
OcaTask.
ProgramID
¶ type: OcaLibVolIdentifier
ID of program this task was given or null if it’s idle.
-
OcaTask.
GroupID
¶ type: number
ID of group the task is in, or zero if it isn’t in a group
-
OcaTask.
TimeMode
¶ type: OcaTimeMode
Absolute or Relative time.
-
OcaTask.
TimeSourceONo
¶ type: number
ONo of relevant OcaTimeSource object or zero to use device time (see OcaDeviceTimeManager ).
-
OcaTask.
StartTime
¶ type: OcaTimePTP
Time at which to start task, or zero if task will be manually started. If TimeMode=Relative , the actual event start time equals the value of StartTime plus the absolute time that StartTime was most recently set. Datatype shall depend on value of TimeUnits : - If TimeUnits is seconds, datatype shall be OcaTimePTP; - If TimeUnits is samples, datatype shall be OcaUint64 . If TimeMode=Absolute , the actual event start time equals the value of StartTime
-
OcaTask.
Duration
¶ type: OcaTimePTP
Duration of task execution, or zero to run until complete or explicitly stopped.
-
OcaTask.
ApplicationSpecificParameters
¶ type: string
Arbitrary application-specific parameters for the Task and its Program.
-