TSDuck v3.40-3963
MPEG Transport Stream Toolkit
|
A wrapper class for C++ PluginEventHandlerRegistry. More...
Public Member Functions | |
__init__ (self) | |
Constructor. | |
registerEventHandler (self, handler, event_code) | |
Register an event handler by event code. | |
registerInputEventHandler (self, handler) | |
Register an event handler for all events from the input plugin. | |
registerOutputEventHandler (self, handler) | |
Register an event handler for all events from the output plugin. | |
A wrapper class for C++ PluginEventHandlerRegistry.
tsduck.PluginEventHandlerRegistry.__init__ | ( | self | ) |
Constructor.
Reimplemented from tsduck.NativeObject.
Reimplemented in tsduck.TSProcessor, and tsduck.InputSwitcher.
tsduck.PluginEventHandlerRegistry.registerEventHandler | ( | self, | |
handler, | |||
event_code | |||
) |
Register an event handler by event code.
handler | An instance of AbstractPluginEventHandler. |
event_code | The code of the events to handle. |
tsduck.PluginEventHandlerRegistry.registerInputEventHandler | ( | self, | |
handler | |||
) |
Register an event handler for all events from the input plugin.
handler | An instance of AbstractPluginEventHandler. |
tsduck.PluginEventHandlerRegistry.registerOutputEventHandler | ( | self, | |
handler | |||
) |
Register an event handler for all events from the output plugin.
handler | An instance of AbstractPluginEventHandler. |