actuator.scheduler module¶
-
class
actuator.scheduler.
DeviceState
(agent_id, task_id, time_remaining)¶ Bases:
tuple
-
property
agent_id
¶ Alias for field number 0
-
property
task_id
¶ Alias for field number 1
-
property
time_remaining
¶ Alias for field number 2
-
property
-
class
actuator.scheduler.
RequestResult
(success, data, info_string)¶ Bases:
tuple
-
property
data
¶ Alias for field number 1
-
property
info_string
¶ Alias for field number 2
-
property
success
¶ Alias for field number 0
-
property
-
class
actuator.scheduler.
Schedule
[source]¶ Bases:
object
-
get_conflicts
(other)[source]¶ Returns a list of our time_slices that conflict with the other schedule
-
get_next_event_time
(now)[source]¶ Run this to know when to the next state change is going to happen with this schedule
-
-
class
actuator.scheduler.
ScheduleManager
(grace_time, now=None, save_state_callback=None, initial_state_string=None)[source]¶ Bases:
object