TSDuck v3.40-4034
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
io.tsduck.PluginEventHandlerRegistry Class Referenceabstract

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

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

Public Member Functions

abstract void delete ()
 Explicitly free the underlying C++ object.
 
native void registerEventHandler (AbstractPluginEventHandler handler, int eventCode)
 Register an event handler by event code.
 
native void registerInputEventHandler (AbstractPluginEventHandler handler)
 Register an event handler for all events from the input plugin.
 
native void registerOutputEventHandler (AbstractPluginEventHandler handler)
 Register an event handler for all events from the output plugin.
 

Protected Attributes

long nativeObject = 0
 The address of the underlying C++ object.
 

Detailed Description

A wrapper class for C++ PluginEventHandlerRegistry.

Member Function Documentation

◆ registerEventHandler()

native void io.tsduck.PluginEventHandlerRegistry.registerEventHandler ( AbstractPluginEventHandler  handler,
int  eventCode 
)

Register an event handler by event code.

Parameters
handlerAn instance of AbstractPluginEventHandler.
eventCodeThe code of the events to handle.

◆ registerInputEventHandler()

native void io.tsduck.PluginEventHandlerRegistry.registerInputEventHandler ( AbstractPluginEventHandler  handler)

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

Parameters
handlerAn instance of AbstractPluginEventHandler.

◆ registerOutputEventHandler()

native void io.tsduck.PluginEventHandlerRegistry.registerOutputEventHandler ( AbstractPluginEventHandler  handler)

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

Parameters
handlerAn instance of AbstractPluginEventHandler.

◆ delete()

abstract void io.tsduck.NativeObject.delete ( )
abstractinherited

Explicitly free the underlying C++ object.

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

Reimplemented in io.tsduck.AbstractAsyncReport, io.tsduck.AbstractPluginEventHandler, io.tsduck.AbstractSyncReport, io.tsduck.AsyncReport, io.tsduck.DuckContext, io.tsduck.ErrReport, io.tsduck.InputSwitcher, io.tsduck.NullReport, io.tsduck.SectionFile, io.tsduck.SystemMonitor, and io.tsduck.TSProcessor.

Member Data Documentation

◆ nativeObject

long io.tsduck.NativeObject.nativeObject = 0
protectedinherited

The address of the underlying C++ object.

It is normally accessed by native methods only.


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