Package rosunit :: Module pmon :: Class DeadProcess
[frames] | no frames]

Class DeadProcess

source code

object --+    
         |    
   Process --+
             |
            DeadProcess

Container class to maintain information about a process that has died. This container allows us to delete the actual Process but still maintain the metadata

Instance Methods
 
__init__(self, p)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
dict { str: val }
get_info(self)
Get all data about this process in dictionary form
source code
 
start(self) source code
 
is_alive(self) source code
 
__str__(self)
str(x) (Inherited from rosunit.pmon.Process)
source code
 
get_exit_description(self) (Inherited from rosunit.pmon.Process) source code
 
stop(self, errors=[])
Stop the process. (Inherited from rosunit.pmon.Process)
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__init__(self, p)
(Constructor)

source code 

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

Overrides: object.__init__
(inherited documentation)

get_info(self)

source code 

Get all data about this process in dictionary form

Returns: dict { str: val }
dictionary of all relevant process properties
Overrides: Process.get_info
(inherited documentation)

start(self)

source code 
Overrides: Process.start

is_alive(self)

source code 
Overrides: Process.is_alive