SGO Mistika: Python Extension
Loading...
Searching...
No Matches
CtasksQueue Class Reference

The CtasksQueue class provides the functionality to manage the Processing queue. this class is available in python using Mistika.tasks. More...

Public Slots

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.

Detailed Description

The CtasksQueue class provides the functionality to manage the Processing queue. this class is available in python using Mistika.tasks.

Member Function Documentation

◆ addWorkflow

CrenderTask * CtasksQueue::addWorkflow ( Cworkflow * workflow)
slot

Adds a workflow to the queue.
.

Parameters
workflow
Returns
on success, it returns a pointer to the created renderTask. NULL otherwise

◆ getTask

CrenderTask * CtasksQueue::getTask ( Cworkflow * workflow)
slot

Returns the render Task assocuated to a specific Workflow.

Parameters
workflow
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
from
to

◆ removeWorkflow

void CtasksQueue::removeWorkflow ( Cworkflow * workflow)
slot

Removes a workflow from the Process Queue.

Parameters
workflow

◆ setAutoRun

void CtasksQueue::setAutoRun ( bool enabled)
slot

Sets the autoRun value.

Parameters
enabled

Generated for SGO Mistika: Python Extension by SGOdocBot