Python_2  1.0
Public Member Functions | Private Attributes | List of all members
_07_alarme_class.pid Class Reference

Retrives the process identification (pid), given the process name. More...

Public Member Functions

def __init__ (self)
 
def str2num (self, datum)
 
def getpid (self, proc)
 

Private Attributes

 __PIDOF
 

Detailed Description

Retrives the process identification (pid), given the process name.

Used for getting pulseaudio id, for instance.

Constructor & Destructor Documentation

◆ __init__()

def _07_alarme_class.pid.__init__ (   self)

Member Function Documentation

◆ getpid()

def _07_alarme_class.pid.getpid (   self,
  proc 
)
Return the ID of the given process.

References _07_alarme_class.pid.__PIDOF, and _07_alarme_class.pid.str2num().

◆ str2num()

def _07_alarme_class.pid.str2num (   self,
  datum 
)
A conversion function that "guesses" the best conversion.

Referenced by _07_alarme_class.pid.getpid().

Member Data Documentation

◆ __PIDOF

_07_alarme_class.pid.__PIDOF
private

The documentation for this class was generated from the following file: