TSDuck v3.40-4033
MPEG Transport Stream Toolkit
|
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. | |
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.
ts::PluginRepository::Register::Register | ( | const UString & | name, |
InputPluginFactory | allocator | ||
) |
The constructor registers an input plugin.
[in] | name | Plugin name. |
[in] | allocator | New input plugin allocator function. |
ts::PluginRepository::Register::Register | ( | const UString & | name, |
ProcessorPluginFactory | allocator | ||
) |
The constructor registers a packet processor plugin.
[in] | name | Plugin name. |
[in] | allocator | New packet processor plugin allocator function. |
ts::PluginRepository::Register::Register | ( | const UString & | name, |
OutputPluginFactory | allocator | ||
) |
The constructor registers an output plugin.
[in] | name | Plugin name. |
[in] | allocator | New output plugin allocator function. |