TSDuck v3.40-4033
MPEG Transport Stream Toolkit
|
A class to register extension. More...
#include <tsDuckExtensionRepository.h>
Public Member Functions | |
Register (const UString &name, const fs::path &file_name, const UString &description, const UStringVector &plugins=UStringVector(), const UStringVector &tools=UStringVector()) | |
The constructor registers an extension. | |
A class to register extension.
The registration is performed using constructors. Thus, it is possible to perform a registration in the declaration of a static object.
ts::DuckExtensionRepository::Register::Register | ( | const UString & | name, |
const fs::path & | file_name, | ||
const UString & | description, | ||
const UStringVector & | plugins = UStringVector() , |
||
const UStringVector & | tools = UStringVector() |
||
) |
The constructor registers an extension.
[in] | name | Extension name. |
[in] | file_name | Extension shared library file name. If empty, the caller's library is used. |
[in] | description | One-line description of the extension. |
[in] | plugins | List of tsp plugin names which are provided by this extension. |
[in] | tools | List of tools (executables) which are provided by this extension. |