The CtasksQueue class provides the functionality to manage the Processing queue. this class is available in python using Mistika.tasks.
More...
|
| CrenderTask * | addWorkflow (Cworkflow *workflow) |
| | Adds a workflow to the queue.
.
|
| void | removeWorkflow (Cworkflow *workflow) |
| | Removes a workflow from the Process Queue.
|
| CrenderTask * | getTask (Cworkflow *workflow) |
| | Returns the render Task assocuated to a specific Workflow.
|
|
void | runAllTasks () |
| | Launchs sequentially all Processes.
|
|
void | stopAllTasks () |
| | Stops all Processes.
|
|
void | clear () |
| | Clears the processing Queue.
|
|
void | clearCompletedTasks () |
| | Removes all the completed processes from the Queue.
|
| void | moveTaskPosition (int from, int to) |
| | Moves the task position located at from to the position to.
|
|
bool | getAutoRun () const |
| | Returns the autoRun value.
|
| void | setAutoRun (bool enabled) |
| | Sets the autoRun value.
|
The CtasksQueue class provides the functionality to manage the Processing queue. this class is available in python using Mistika.tasks.
◆ addWorkflow
Adds a workflow to the queue.
.
- Parameters
-
- Returns
- on success, it returns a pointer to the created renderTask. NULL otherwise
◆ getTask
Returns the render Task assocuated to a specific Workflow.
- Parameters
-
- Returns
- A reference to the task, Null if it does not exist
◆ moveTaskPosition
| void CtasksQueue::moveTaskPosition |
( |
int | from, |
|
|
int | to ) |
|
slot |
Moves the task position located at from to the position to.
- Parameters
-
◆ removeWorkflow
| void CtasksQueue::removeWorkflow |
( |
Cworkflow * | workflow | ) |
|
|
slot |
Removes a workflow from the Process Queue.
- Parameters
-
◆ setAutoRun
| void CtasksQueue::setAutoRun |
( |
bool | enabled | ) |
|
|
slot |
Sets the autoRun value.
- Parameters
-