Interactive Client UI. More...
Public Member Functions | |
def | __init__ |
def | get_main_ui_handle |
def | interactions_updated_relay |
def | shutdown |
Public Attributes | |
application | |
cur_selected_interaction | |
cur_selected_role | |
host_name | |
interactions | |
interactive_client_interface | |
rocon_master_uri | |
with_rqt | |
Static Public Attributes | |
tuple | signal_interactions_updated = Signal() |
Private Member Functions | |
def | _init |
def | _switch_to_interactions_list |
def | _switch_to_master_chooser |
def | _switch_to_role_list |
Private Attributes | |
_interactions_chooser | |
_interactive_client_ui_layout | |
_interactive_client_ui_widget | |
_role_chooser |
Interactive Client UI.
Definition at line 31 of file interactive_client_ui.py.
def rocon_remocon.interactive_client_ui.InteractiveClientUI.__init__ | ( | self, | |
parent, | |||
title, | |||
application, | |||
rocon_master_uri = 'localhost' , |
|||
host_name = 'localhost' , |
|||
with_rqt = False |
|||
) |
Definition at line 36 of file interactive_client_ui.py.
def rocon_remocon.interactive_client_ui.InteractiveClientUI._init | ( | self | ) | [private] |
Initialization of interactive client UI. First, show the role chooser and hide interactions chooser.
Definition at line 89 of file interactive_client_ui.py.
def rocon_remocon.interactive_client_ui.InteractiveClientUI._switch_to_interactions_list | ( | self | ) | [private] |
Take the selected role and switch to an interactions view of that role.
Definition at line 127 of file interactive_client_ui.py.
def rocon_remocon.interactive_client_ui.InteractiveClientUI._switch_to_master_chooser | ( | self | ) | [private] |
Switch to master chooser from role chooser. If it was launced by rqt or rqt standalone, It is just shutdown.
Definition at line 118 of file interactive_client_ui.py.
def rocon_remocon.interactive_client_ui.InteractiveClientUI._switch_to_role_list | ( | self | ) | [private] |
Switch to role chooser from interactions chooser.
Definition at line 137 of file interactive_client_ui.py.
Returning an instance of interactive client ui widget. It is used to handle it in other widget. :return: return main qt widget. :rtype: python_qt_binding.QtGui.QWidget
Definition at line 101 of file interactive_client_ui.py.
Called by the underlying interactive client whenever the gui needs to be updated with fresh information. Using this relay saves us from having to embed qt functions in the underlying class but makes sure we signal across threads so the gui can update things in its own thread. Currently this only handles updates caused by termination of an interaction. If we wished to handle additional situations, we should use an argument here indicating what kind of interaction update occurred.
Definition at line 146 of file interactive_client_ui.py.
Public method to enable shutdown of the script - this function is primarily for shutting down the InteractiveClientUI from external signals (e.g. CTRL-C on the command line).
Definition at line 110 of file interactive_client_ui.py.
Definition at line 36 of file interactive_client_ui.py.
Definition at line 36 of file interactive_client_ui.py.
Definition at line 36 of file interactive_client_ui.py.
Definition at line 36 of file interactive_client_ui.py.
Definition at line 36 of file interactive_client_ui.py.
Definition at line 36 of file interactive_client_ui.py.
Definition at line 36 of file interactive_client_ui.py.
Definition at line 36 of file interactive_client_ui.py.
Definition at line 36 of file interactive_client_ui.py.
Definition at line 36 of file interactive_client_ui.py.
Definition at line 36 of file interactive_client_ui.py.
tuple rocon_remocon::interactive_client_ui.InteractiveClientUI::signal_interactions_updated = Signal() [static] |
Definition at line 34 of file interactive_client_ui.py.
Definition at line 36 of file interactive_client_ui.py.