MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ restart_task()

MAYAFLUX_API bool MayaFlux::restart_task ( const std::string &  name)

Restarts a scheduled task.

Parameters
nameName of the task to restart
Returns
true if task was found and restarted, false otherwise

Convenience wrapper for Engine::restart_task() on the default engine.

Definition at line 107 of file Chronie.cpp.

108{
109 return get_scheduler()->restart_task(name);
110}
std::shared_ptr< Vruta::TaskScheduler > get_scheduler()
Gets the task scheduler from the default engine.
Definition Chronie.cpp:14

References get_scheduler().

+ Here is the call graph for this function: