class ROSLaunchParentHandler(ROSLaunchBaseHandler):
Constructor: ROSLaunchParentHandler(pm, child_processes, listeners)
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 |
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 |
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 |
Undocumented |
Instance Variable | listeners |
Undocumented |
Inherited from ROSLaunchBaseHandler
:
Method | get |
@return: code, msg, list of node names @rtype: int, str, [str] |
Method | get |
@return: code, msg, pid @rtype: int, str, int |
Method | list |
@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 |
@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 |
@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.
List the roslaunch child processes. @return int, str, [str]: code, msg, list of the roslaunch children URIS
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
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