gstlal  1.4.1
Public Member Functions | Public Attributes | List of all members
python.simplehandler.OneTimeSignalHandler Class Reference
Inheritance diagram for python.simplehandler.OneTimeSignalHandler:
[legend]
Collaboration diagram for python.simplehandler.OneTimeSignalHandler:
[legend]

Public Member Functions

def __init__ (self, pipeline, signals=[signal.SIGINT, signal, SIGTERM)
 
def do_on_call (self, signum, frame)
 
def __call__ (self, signum, frame)
 

Public Attributes

 pipeline
 
 count
 

Detailed Description

A helper class for application signal handling.  Use this to help your
application to cleanly shutdown gstreamer pipelines when responding to e.g.,
ctrl+c.

Definition at line 133 of file simplehandler.py.

Member Function Documentation

◆ do_on_call()

def python.simplehandler.OneTimeSignalHandler.do_on_call (   self,
  signum,
  frame 
)
Over ride this for your subclass

Definition at line 145 of file simplehandler.py.


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