TSDuck Version 3.32-2769 (TSDuck - The MPEG Transport Stream Toolkit)
tsduck.PluginEventHandlerRegistry Class Reference

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

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

Public Member Functions

def __init__ (self)
 Constructor.
 
def delete (self)
 Explicitly free the underlying C++ object. More...
 
def registerEventHandler (self, handler, event_code)
 Register an event handler by event code. More...
 
def registerInputEventHandler (self, handler)
 Register an event handler for all events from the input plugin. More...
 
def registerOutputEventHandler (self, handler)
 Register an event handler for all events from the output plugin. More...
 

Detailed Description

A wrapper class for C++ PluginEventHandlerRegistry.

Member Function Documentation

◆ registerEventHandler()

def 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()

def tsduck.PluginEventHandlerRegistry.registerInputEventHandler (   self,
  handler 
)

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

Parameters
handlerAn instance of AbstractPluginEventHandler.
Returns
None.

◆ registerOutputEventHandler()

def tsduck.PluginEventHandlerRegistry.registerOutputEventHandler (   self,
  handler 
)

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

Parameters
handlerAn instance of AbstractPluginEventHandler.
Returns
None.

◆ delete()

def tsduck.NativeObject.delete (   self)
inherited

Explicitly free the underlying C++ object.

After this call, the object becomes unusable. Most usages are unpredictable but most likely will do nothing.

Returns
None.

Reimplemented in tsduck.InputSwitcher, tsduck.TSProcessor, tsduck.SystemMonitor, tsduck.SectionFile, tsduck.AbstractPluginEventHandler, tsduck.DuckContext, and tsduck.AsyncReport.


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