Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | List of all members
rqt_wrapper.switcher.Switcher Class Reference

Classes. More...

Inheritance diagram for rqt_wrapper.switcher.Switcher:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, rqt_plugin_name)
 
def shutdown (self)
 
def switch_state (self, new_master_found)
 

Static Public Attributes

 signal_master_changed_state = Signal(bool)
 

Private Member Functions

def _launch_rocon_remocon (self)
 
def _master_changed_state (self, available)
 
def _rqt_shutdown (self)
 

Private Attributes

 _no_ros_master_abort_button
 
 _no_ros_master_dialog
 
 _ros_master_monitor
 
 _rqt_plugin_name
 
 _rqt_subprocess
 
 _rqt_subprocess_shutdown_by_us
 

Detailed Description

Classes.

Definition at line 28 of file switcher.py.

Constructor & Destructor Documentation

def rqt_wrapper.switcher.Switcher.__init__ (   self,
  rqt_plugin_name 
)

Definition at line 32 of file switcher.py.

Member Function Documentation

def rqt_wrapper.switcher.Switcher._launch_rocon_remocon (   self)
private

Definition at line 92 of file switcher.py.

def rqt_wrapper.switcher.Switcher._master_changed_state (   self,
  available 
)
private
:param bool available: whether the ros master is available or not.

Definition at line 86 of file switcher.py.

def rqt_wrapper.switcher.Switcher._rqt_shutdown (   self)
private
Shutdown handler coming from the rqt subprocess shutting down. This needs
to be handled differently depending on whether it's us shutting it down
because a ros master shut down (in which case we need to stay alive)
or otherwise.

Definition at line 73 of file switcher.py.

def rqt_wrapper.switcher.Switcher.shutdown (   self)
Shutdowns from external signals or the abort button while waiting for a master.

Definition at line 60 of file switcher.py.

def rqt_wrapper.switcher.Switcher.switch_state (   self,
  new_master_found 
)
:param bool new_master_found: true when a new master is detected, false when a master has disappeared.

Definition at line 44 of file switcher.py.

Member Data Documentation

rqt_wrapper.switcher.Switcher._no_ros_master_abort_button
private

Definition at line 37 of file switcher.py.

rqt_wrapper.switcher.Switcher._no_ros_master_dialog
private

Definition at line 36 of file switcher.py.

rqt_wrapper.switcher.Switcher._ros_master_monitor
private

Definition at line 40 of file switcher.py.

rqt_wrapper.switcher.Switcher._rqt_plugin_name
private

Definition at line 34 of file switcher.py.

rqt_wrapper.switcher.Switcher._rqt_subprocess
private

Definition at line 35 of file switcher.py.

rqt_wrapper.switcher.Switcher._rqt_subprocess_shutdown_by_us
private

Definition at line 41 of file switcher.py.

rqt_wrapper.switcher.Switcher.signal_master_changed_state = Signal(bool)
static

Definition at line 30 of file switcher.py.


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


rqt_wrapper
Author(s): Daniel Stonier
autogenerated on Mon Jun 10 2019 14:59:48