Package roslaunch :: Module server :: Class ROSLaunchParentNode
[frames] | no frames]

Class ROSLaunchParentNode

source code

              object --+        
                       |        
roslib.xmlrpc.XmlRpcNode --+    
                           |    
               ROSLaunchNode --+
                               |
                              ROSLaunchParentNode

XML-RPC server for parent roslaunch.

Instance Methods
 
__init__(self, rosconfig, pm)
XML RPC Node constructor
source code
 
add_child(self, name, p) source code
 
add_process_listener(self, l)
Listen to events about remote processes dying.
source code
 
run(self)
run() should not be called by higher-level code. (Inherited from roslaunch.server.ROSLaunchNode)
source code
 
start(self)
Startup roslaunch server XML-RPC services (Inherited from roslaunch.server.ROSLaunchNode)
source code

Inherited from roslib.xmlrpc.XmlRpcNode: set_uri, shutdown

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

Properties

Inherited from object: __class__

Method Details

__init__(self, rosconfig, pm)
(Constructor)

source code 

XML RPC Node constructor

Parameters:
  • config (ROSConfig) - ROSConfig launch configuration
  • pm (ProcessMonitor) - process monitor
Overrides: object.__init__

add_child(self, name, p)

source code 
Parameters:
  • name (str) - child roslaunch's name. NOTE:  name is not the same as the machine config key.
  • p (Process) - process handle of child

add_process_listener(self, l)

source code 

Listen to events about remote processes dying. Not threadsafe. Must be called before processes started.

Parameters: