Public Member Functions | Static Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | List of all members
rqt_shell.shell.Shell Class Reference
Inheritance diagram for rqt_shell.shell.Shell:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, context)
 
def restore_settings (self, plugin_settings, instance_settings)
 
def save_settings (self, plugin_settings, instance_settings)
 
def shutdown_plugin (self)
 
def trigger_configuration (self)
 
- Public Member Functions inherited from qt_gui::plugin::Plugin
def __init__ (self, context)
 
def restore_settings (self, plugin_settings, instance_settings)
 
def save_settings (self, plugin_settings, instance_settings)
 
def shutdown_plugin (self)
 

Static Public Member Functions

def add_arguments (parser)
 

Static Public Attributes

list shell_types
 

Private Member Functions

def _parse_args (self, argv)
 
def _switch_shell_widget (self)
 

Private Attributes

 _args
 
 _context
 
 _shell_type_index
 
 _widget
 

Detailed Description

Plugin providing an interactive shell

Definition at line 58 of file shell.py.

Constructor & Destructor Documentation

◆ __init__()

def rqt_shell.shell.Shell.__init__ (   self,
  context 
)

Definition at line 84 of file shell.py.

Member Function Documentation

◆ _parse_args()

def rqt_shell.shell.Shell._parse_args (   self,
  argv 
)
private

Definition at line 92 of file shell.py.

◆ _switch_shell_widget()

def rqt_shell.shell.Shell._switch_shell_widget (   self)
private

Definition at line 105 of file shell.py.

◆ add_arguments()

def rqt_shell.shell.Shell.add_arguments (   parser)
static

Definition at line 98 of file shell.py.

◆ restore_settings()

def rqt_shell.shell.Shell.restore_settings (   self,
  plugin_settings,
  instance_settings 
)

Definition at line 128 of file shell.py.

◆ save_settings()

def rqt_shell.shell.Shell.save_settings (   self,
  plugin_settings,
  instance_settings 
)

Definition at line 125 of file shell.py.

◆ shutdown_plugin()

def rqt_shell.shell.Shell.shutdown_plugin (   self)

Definition at line 140 of file shell.py.

◆ trigger_configuration()

def rqt_shell.shell.Shell.trigger_configuration (   self)

Definition at line 132 of file shell.py.

Member Data Documentation

◆ _args

rqt_shell.shell.Shell._args
private

Definition at line 88 of file shell.py.

◆ _context

rqt_shell.shell.Shell._context
private

Definition at line 86 of file shell.py.

◆ _shell_type_index

rqt_shell.shell.Shell._shell_type_index
private

Definition at line 129 of file shell.py.

◆ _widget

rqt_shell.shell.Shell._widget
private

Definition at line 90 of file shell.py.

◆ shell_types

list rqt_shell.shell.Shell.shell_types
static
Initial value:
= [
{
'title': 'XTerm',
'widget_class': XTermWidget,
'description': 'Fully functional embedded XTerm (needs xterm, only works on X11 with Qt 4).',
'enabled': _has_xterm,
},
{
'title': 'SpyderShell',
'widget_class': SpyderShellWidget,
'description': 'Advanced shell (needs spyderlib, only works with Qt 4).',
'enabled': _has_spyderlib,
},
{
'title': 'SimpleShell',
'widget_class': ShellWidget,
'description': 'Simple shell for executing non-interactive finite commands.',
'enabled': True,
},
]

Definition at line 63 of file shell.py.


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


rqt_shell
Author(s): Dorian Scholz, Kunal Tyagi
autogenerated on Fri Apr 19 2024 03:14:06