Package roslaunch :: Module launch :: Class ROSLaunchListener
[frames] | no frames]

Class ROSLaunchListener

source code

object --+
         |
        ROSLaunchListener

Listener interface for events related to ROSLaunch. ROSLaunchListener is currently identical to the lower-level roslaunch.pmon.ProcessListener interface, but is separate for architectural reasons. The lower-level roslaunch.pmon.ProcessMonitor does not provide events about remotely running processes.

Instance Methods
 
process_died(self, process_name, exit_code)
Notifies listener that process has died.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

process_died(self, process_name, exit_code)

source code 

Notifies listener that process has died. This callback only occurs for processes that die during normal process monitor execution -- processes that are forcibly killed during roslaunch.pmon.ProcessMonitor shutdown are not reported.

Parameters:
  • process_name (str) - name of process
  • exit_code (int), int - exit code of process. If None, it means that roslaunch.pmon.ProcessMonitor was unable to determine an exit code.