|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API void MayaFlux::schedule_task | ( | const std::string & | name, |
| const std::shared_ptr< Vruta::Routine > & | task, | ||
| bool | initialize = false |
||
| ) |
Schedules a routine of any type that is already held by a shared_ptr.
| name | Unique name for the task. If empty, the scheduler generates one. |
| task | The routine to schedule, for example the result of Kriya::pattern; a null routine is reported and ignored |
| initialize | Whether to initialize the task immediately |
Covers every routine type, including cross routines, which have no rvalue overload.
Definition at line 122 of file Chronie.cpp.
References get_scheduler(), initialize(), and name.
Here is the call graph for this function: