Lumiera
0.pre.03
»edit your freedom«
|
#include "vault/gear/scheduler-frontend.hpp"
Definition context for jobs to be scheduled.
This builder allows to specify individual jobs, and to attach a transaction for prerequisite jobs. When done, the commit operation can be used to activate all jobs defined this far.
Definition at line 84 of file scheduler-frontend.hpp.
Public Member Functions | |
JobTransaction & | addBackground (Job const &job) |
define a job for background rendering. More... | |
JobTransaction & | addFreewheeling (Job const &job) |
define a render job to be calculated as soon as resources permit. More... | |
JobTransaction & | addJob (Time deadline, Job const &job) |
define a render job for time-bound calculation | |
JobTransaction & | attach (JobTransaction const &prerequisites) |
define a set of prerequisites of the current JobTransaction. More... | |
void | commit () |
finish this set of job definitions. More... | |
JobTransaction | startPrerequisiteTx () |
Friends | |
class | SchedulerFrontend |
Private Member Functions | |
JobTransaction (SchedulerFrontend *s) | |
Private Attributes | |
SchedulerFrontend * | sched_ |
|
inline |
finish this set of job definitions.
All jobs attached to this transaction thus far, and all dependent transactions will be scheduled
Definition at line 106 of file scheduler-frontend.hpp.
Referenced by SchedulerInterface_test::demonstrate_nested_job_specification().
|
inline |
define a job for background rendering.
Definition at line 122 of file scheduler-frontend.hpp.
|
inline |
define a render job to be calculated as soon as resources permit.
Typically this call is used for rendering final results.
Definition at line 133 of file scheduler-frontend.hpp.
|
inline |
define a set of prerequisites of the current JobTransaction.
prerequisites | a set of job definitions, which need to be executed successfully before any job of the current JobTransaction may be invoked. |
Definition at line 148 of file scheduler-frontend.hpp.