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

Class ROSLaunchBaseHandler

source code

roslib.xmlrpc.XmlRpcHandler --+
                              |
                             ROSLaunchBaseHandler

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

Instance Methods
 
__init__(self, pm) 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
Method Details

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