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

Class ROSLaunchBaseHandler

source code

                   object --+    
                            |    
rosgraph.xmlrpc.XmlRpcHandler --+
                                |
                               ROSLaunchBaseHandler
Known Subclasses:

Common XML-RPC API for the roslaunch server and child node

Instance Methods
 
__init__(self, pm)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
int, str, [[(str, int),], [(str,int),]]
list_processes(self)
Returns: code, msg, process list.
source code
int, str, dict
process_info(self, process_name)
Returns: dictionary of metadata about process.
source code
int, str, int
get_pid(self)
Returns: code, msg, pid
source code
int, str, [str]
get_node_names(self)
Returns: code, msg, list of node names
source code

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, pm)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

list_processes(self)

source code 
Returns: int, str, [[(str, int),], [(str,int),]]
code, msg, process list. Process list is two lists, where first list of active process names along with the number of times that process has been spawned. Second list contains dead process names and their spawn count.

process_info(self, process_name)

source code 
Returns: int, str, dict
dictionary of metadata about process. Keys vary by implementation

get_pid(self)

source code 
Returns: int, str, int
code, msg, pid

get_node_names(self)

source code 
Returns: int, str, [str]
code, msg, list of node names