|
gstlal 1.13.0
|
Public Member Functions | |
| __init__ (self, pipeline, signals=[signal.SIGINT, signal.SIGTERM]) | |
| do_on_call (self, signum, frame) | |
| __call__ (self, signum, frame) | |
Public Attributes | |
| pipeline = pipeline | |
| int | count = 0 |
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 137 of file simplehandler.py.
| python.simplehandler.OneTimeSignalHandler.__init__ | ( | self, | |
| pipeline, | |||
| signals = [signal.SIGINT, signal.SIGTERM] ) |
Definition at line 143 of file simplehandler.py.
| python.simplehandler.OneTimeSignalHandler.__call__ | ( | self, | |
| signum, | |||
| frame ) |
Definition at line 155 of file simplehandler.py.
| python.simplehandler.OneTimeSignalHandler.do_on_call | ( | self, | |
| signum, | |||
| frame ) |
Over ride this for your subclass
Definition at line 149 of file simplehandler.py.
| python.simplehandler.OneTimeSignalHandler.count = 0 |
Definition at line 145 of file simplehandler.py.
| python.simplehandler.OneTimeSignalHandler.pipeline = pipeline |
Definition at line 144 of file simplehandler.py.