class documentation
class Process(object):
Known subclasses: niryo_libraries.roslaunch.pmon.DeadProcess
Constructor: Process(package, name, args, env, ...)
Basic process representation for L{ProcessMonitor}. Must be subclassed to provide actual start()/stop() implementations.
Constructor must be called from the Python Main thread in order for signal handlers to register properly.
| Method | __init__ |
Undocumented |
| Method | __str__ |
Undocumented |
| Method | get |
Undocumented |
| Method | get |
Get all data about this process in dictionary form @return: dictionary of all relevant process properties @rtype: dict { str: val } |
| Method | is |
Undocumented |
| Method | should |
floating point seconds until respawn otherwise |
| Method | start |
Undocumented |
| Method | stop |
Stop the process. Record any significant error messages in the errors parameter |
| Instance Variable | args |
Undocumented |
| Instance Variable | env |
Undocumented |
| Instance Variable | exit |
Undocumented |
| Instance Variable | lock |
Undocumented |
| Instance Variable | name |
Undocumented |
| Instance Variable | package |
Undocumented |
| Instance Variable | required |
Undocumented |
| Instance Variable | respawn |
Undocumented |
| Instance Variable | respawn |
Undocumented |
| Instance Variable | spawn |
Undocumented |
| Instance Variable | time |
Undocumented |
overridden in
niryo_libraries.roslaunch.pmon.DeadProcessGet all data about this process in dictionary form @return: dictionary of all relevant process properties @rtype: dict { str: val }