Public Member Functions | |
| def | __init__ |
| def | command_update |
| def | list |
| def | stop_update |
Public Attributes | |
| status_changed | |
Private Member Functions | |
| def | _on_update_sources |
| def | _on_update_status |
Private Attributes | |
| _avail_updates | |
| _status | |
| _update_sources | |
| _updater_start | |
| _updater_status_sub | |
| _updater_stop | |
Control the updater on the robot.
Signals:
status_changed: Fired when the update status changes. Passes
the current UpdateStatus message.
Definition at line 47 of file update_robot.py.
| def update_robot.Updater.__init__ | ( | self | ) |
Definition at line 55 of file update_robot.py.
| def update_robot.Updater._on_update_sources | ( | self, | |
| msg | |||
| ) | [private] |
Definition at line 85 of file update_robot.py.
| def update_robot.Updater._on_update_status | ( | self, | |
| msg | |||
| ) | [private] |
Definition at line 89 of file update_robot.py.
| def update_robot.Updater.command_update | ( | self, | |
| uuid | |||
| ) |
Command the robot to launch the update with the given uuid. @param uuid: uuid of the update to start.
Definition at line 100 of file update_robot.py.
| def update_robot.Updater.list | ( | self | ) |
Return a list of tuples (version, uuid) of all available updates
Definition at line 94 of file update_robot.py.
| def update_robot.Updater.stop_update | ( | self | ) |
Stop the current update process, if any.
Definition at line 111 of file update_robot.py.
update_robot.Updater::_avail_updates [private] |
Definition at line 55 of file update_robot.py.
update_robot.Updater::_status [private] |
Definition at line 55 of file update_robot.py.
update_robot.Updater::_update_sources [private] |
Definition at line 55 of file update_robot.py.
update_robot.Updater::_updater_start [private] |
Definition at line 55 of file update_robot.py.
Definition at line 55 of file update_robot.py.
update_robot.Updater::_updater_stop [private] |
Definition at line 55 of file update_robot.py.
Definition at line 55 of file update_robot.py.