Public Member Functions | Private Attributes | List of all members
rqt_launch.node_controller.NodeController Class Reference
Inheritance diagram for rqt_launch.node_controller.NodeController:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, proxy, gui)
 
def check_process_status (self)
 
def get_node_widget (self)
 
def is_node_running (self)
 
def start (self, restart=True)
 
def start_stop_slot (self, signal)
 
def stop (self)
 

Private Attributes

 _gui
 
 _proxy
 

Detailed Description

Containing both proxy and gui instances, this class gives a control of
a node on both ROS & GUI sides.

Definition at line 7 of file node_controller.py.

Constructor & Destructor Documentation

def rqt_launch.node_controller.NodeController.__init__ (   self,
  proxy,
  gui 
)
@type proxy: rqt_launch.NodeProxy
@type gui: QWidget

Definition at line 14 of file node_controller.py.

Member Function Documentation

def rqt_launch.node_controller.NodeController.check_process_status (   self)

Definition at line 81 of file node_controller.py.

def rqt_launch.node_controller.NodeController.get_node_widget (   self)
@rtype: QWidget

Definition at line 100 of file node_controller.py.

def rqt_launch.node_controller.NodeController.is_node_running (   self)

Definition at line 106 of file node_controller.py.

def rqt_launch.node_controller.NodeController.start (   self,
  restart = True 
)
Start a ROS node as a new _process.

Definition at line 39 of file node_controller.py.

def rqt_launch.node_controller.NodeController.start_stop_slot (   self,
  signal 
)
Works as a slot particularly intended to work for
QAbstractButton::toggled(checked). Internally calls
NodeController.start / stop depending on `signal`.

@type signal: bool

Definition at line 24 of file node_controller.py.

def rqt_launch.node_controller.NodeController.stop (   self)
Stop a ROS node's _process.

Definition at line 68 of file node_controller.py.

Member Data Documentation

rqt_launch.node_controller.NodeController._gui
private

Definition at line 21 of file node_controller.py.

rqt_launch.node_controller.NodeController._proxy
private

Definition at line 19 of file node_controller.py.


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


rqt_launch
Author(s): Isaac Saito, Stuart Glaser
autogenerated on Wed Jun 5 2019 21:35:22