Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | Private Attributes
rocon_remocon.interactive_client_ui.InteractiveClientUI Class Reference

Interactive Client UI. More...

Inheritance diagram for rocon_remocon.interactive_client_ui.InteractiveClientUI:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

Interactive Client UI.

Definition at line 31 of file interactive_client_ui.py.


Constructor & Destructor Documentation

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.


Member Function Documentation

Initialization of interactive client UI. First, show the role chooser and hide interactions chooser.

Definition at line 89 of file interactive_client_ui.py.

Take the selected role and switch to an interactions view of that role.

Definition at line 127 of file interactive_client_ui.py.

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.

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.


Member Data Documentation

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.

Definition at line 34 of file interactive_client_ui.py.

Definition at line 36 of file interactive_client_ui.py.


The documentation for this class was generated from the following file:


rocon_remocon
Author(s): Daniel Stonier, Donguk Lee
autogenerated on Fri Feb 12 2016 02:50:18