TSDuck v3.38-3696
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
tsduck.PluginEventHandlerRegistry Class Reference

A wrapper class for C++ PluginEventHandlerRegistry. More...

Inheritance diagram for tsduck.PluginEventHandlerRegistry:
Collaboration diagram for tsduck.PluginEventHandlerRegistry:

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.
 

Detailed Description

A wrapper class for C++ PluginEventHandlerRegistry.

Constructor & Destructor Documentation

◆ __init__()

tsduck.PluginEventHandlerRegistry.__init__ (   self)

Constructor.

Reimplemented from tsduck.NativeObject.

Reimplemented in tsduck.TSProcessor, and tsduck.InputSwitcher.

Member Function Documentation

◆ registerEventHandler()

tsduck.PluginEventHandlerRegistry.registerEventHandler (   self,
  handler,
  event_code 
)

Register an event handler by event code.

Parameters
handlerAn instance of AbstractPluginEventHandler.
event_codeThe code of the events to handle.
Returns
None.

◆ registerInputEventHandler()

tsduck.PluginEventHandlerRegistry.registerInputEventHandler (   self,
  handler 
)

Register an event handler for all events from the input plugin.

Parameters
handlerAn instance of AbstractPluginEventHandler.
Returns
None.

◆ registerOutputEventHandler()

tsduck.PluginEventHandlerRegistry.registerOutputEventHandler (   self,
  handler 
)

Register an event handler for all events from the output plugin.

Parameters
handlerAn instance of AbstractPluginEventHandler.
Returns
None.

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