TSDuck v3.46-4964
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::DuckExtensionRepository::Register Class Reference

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

Detailed Description

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.

Constructor & Destructor Documentation

◆ Register()

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.

Parameters
[in]nameExtension name.
[in]file_nameExtension shared library file name. If empty, the caller's library is used.
[in]descriptionOne-line description of the extension.
[in]pluginsList of tsp plugin names which are provided by this extension.
[in]toolsList of tools (executables) which are provided by this extension.

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