class documentation

XML-RPC API for the roslaunch server node

Method __init__ @param child_processes: Map of remote processes so that server can update processes with information as children register. Handler will not modify keys. @type child_processes: {name : ChildROSLaunchProcess}...
Method list_children List the roslaunch child processes. @return int, str, [str]: code, msg, list of the roslaunch children URIS
Method log Report a log message to the server @param client: name of client @type client: str @param level: log level (uses rosgraph_msgs.msg.Log levels) @type level: int @param message: message to log @type message: str...
Method process_died Inform roslaunch server that a remote process has died @param process_name: name of process that died @type process_name: str @param exit_code: exit code of remote process @type exit_code: int @return: code, msg, ignore @rtype: int, str, int...
Method register Registration callback from newly launched roslaunch clients @param client: name of client @type client: str @param uri: XML-RPC URI of client @type uri: str @return: code, msg, ignore @rtype: int, str, int...
Instance Variable child_processes Undocumented
Instance Variable listeners Undocumented

Inherited from ROSLaunchBaseHandler:

Method get_node_names @return: code, msg, list of node names @rtype: int, str, [str]
Method get_pid @return: code, msg, pid @rtype: int, str, int
Method list_processes @return: 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...
Method process_info @return: dictionary of metadata about process. Keys vary by implementation @rtype: int, str, dict
Instance Variable logger Undocumented
Instance Variable pm Undocumented
Method _shutdown xmlrpc.XmlRpcHandler API: inform handler of shutdown @param reason: human-readable shutdown reason @type reason: str
def __init__(self, pm, child_processes, listeners):

@param child_processes: Map of remote processes so that server can update processes with information as children register. Handler will not modify keys. @type child_processes: {name : ChildROSLaunchProcess}. @param listeners [ProcessListener]: list of listeners to notify when process_died events occur.

def list_children(self):

List the roslaunch child processes. @return int, str, [str]: code, msg, list of the roslaunch children URIS

def log(self, client, level, message):

Report a log message to the server @param client: name of client @type client: str @param level: log level (uses rosgraph_msgs.msg.Log levels) @type level: int @param message: message to log @type message: str

def process_died(self, process_name, exit_code):

Inform roslaunch server that a remote process has died @param process_name: name of process that died @type process_name: str @param exit_code: exit code of remote process @type exit_code: int @return: code, msg, ignore @rtype: int, str, int

def register(self, client, uri):

Registration callback from newly launched roslaunch clients @param client: name of client @type client: str @param uri: XML-RPC URI of client @type uri: str @return: code, msg, ignore @rtype: int, str, int

child_processes =

Undocumented

listeners =

Undocumented