Definition at line 18 of file execution_schedule.py.
| def task_executor.execution_schedule.ExecutionSchedule.__init__ |
( |
|
self | ) |
|
| def task_executor.execution_schedule.ExecutionSchedule.add_new_tasks |
( |
|
self, |
|
|
|
tasks |
|
) |
| |
| def task_executor.execution_schedule.ExecutionSchedule.clear_schedule |
( |
|
self | ) |
|
| def task_executor.execution_schedule.ExecutionSchedule.execute_next_task |
( |
|
self | ) |
|
Pops the head of the execution queue to the current task, removes this from schedulable tasks, and notifies the wait_for_execution_change method.
Definition at line 64 of file execution_schedule.py.
| def task_executor.execution_schedule.ExecutionSchedule.execution_delay_cb |
( |
|
self, |
|
|
|
event |
|
) |
| |
| def task_executor.execution_schedule.ExecutionSchedule.get_current_task |
( |
|
self | ) |
|
| def task_executor.execution_schedule.ExecutionSchedule.get_execution_queue |
( |
|
self | ) |
|
| def task_executor.execution_schedule.ExecutionSchedule.get_execution_queue_length |
( |
|
self | ) |
|
| def task_executor.execution_schedule.ExecutionSchedule.get_schedulable_tasks |
( |
|
self | ) |
|
Get the tasks which are available to be scheduled. Does not include the task being executed.
Definition at line 31 of file execution_schedule.py.
| def task_executor.execution_schedule.ExecutionSchedule.next_in_schedule |
( |
|
self | ) |
|
Checks whether the next action can be executed now (i.e. the current time is within its constraints). If not, delays execution suitably.
Definition at line 81 of file execution_schedule.py.
| def task_executor.execution_schedule.ExecutionSchedule.remove_task_with_id |
( |
|
self, |
|
|
|
task_id |
|
) |
| |
| def task_executor.execution_schedule.ExecutionSchedule.remove_tasks |
( |
|
self, |
|
|
|
tasks |
|
) |
| |
| def task_executor.execution_schedule.ExecutionSchedule.set_schedule |
( |
|
self, |
|
|
|
scheduled_tasks |
|
) |
| |
Receive a list of tasks in order of execution, with their execution times set.
Returns true if the schedule was
Definition at line 113 of file execution_schedule.py.
| def task_executor.execution_schedule.ExecutionSchedule.task_complete |
( |
|
self, |
|
|
|
task |
|
) |
| |
| def task_executor.execution_schedule.ExecutionSchedule.wait_for_execution_change |
( |
|
self, |
|
|
|
timeout |
|
) |
| |
| task_executor.execution_schedule.ExecutionSchedule.current_task |
| task_executor.execution_schedule.ExecutionSchedule.execution_change |
| task_executor.execution_schedule.ExecutionSchedule.execution_delay_timer |
| task_executor.execution_schedule.ExecutionSchedule.execution_queue |
| task_executor.execution_schedule.ExecutionSchedule.tasks |
The documentation for this class was generated from the following file: