TSDuck v3.40-3963
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::PluginRepository::Register Class Reference

A class to register plugins. More...

#include <tsPluginRepository.h>

Public Member Functions

 Register (const UString &name, InputPluginFactory allocator)
 The constructor registers an input plugin.
 
 Register (const UString &name, OutputPluginFactory allocator)
 The constructor registers an output plugin.
 
 Register (const UString &name, ProcessorPluginFactory allocator)
 The constructor registers a packet processor plugin.
 

Detailed Description

A class to register plugins.

The registration is performed using constructors. Thus, it is possible to perform a registration in the declaration of a static object.

Constructor & Destructor Documentation

◆ Register() [1/3]

ts::PluginRepository::Register::Register ( const UString name,
InputPluginFactory  allocator 
)

The constructor registers an input plugin.

Parameters
[in]namePlugin name.
[in]allocatorNew input plugin allocator function.

◆ Register() [2/3]

ts::PluginRepository::Register::Register ( const UString name,
ProcessorPluginFactory  allocator 
)

The constructor registers a packet processor plugin.

Parameters
[in]namePlugin name.
[in]allocatorNew packet processor plugin allocator function.

◆ Register() [3/3]

ts::PluginRepository::Register::Register ( const UString name,
OutputPluginFactory  allocator 
)

The constructor registers an output plugin.

Parameters
[in]namePlugin name.
[in]allocatorNew output plugin allocator function.

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