TSDuck Version 3.32-2780 (TSDuck - The MPEG Transport Stream Toolkit)
tsDuckExtensionRepository.h File Reference

TSDusk extensions repository. More...

Classes

class  ts::DuckExtensionRepository
 A repository of TSDuck extensions. More...
 
class  ts::DuckExtensionRepository::Register
 A class to register extension. More...
 

Namespaces

 ts
 TSDuck namespace, containing all TSDuck classes and functions.
 

Macros

#define TS_REGISTER_EXTENSION(name, ...)
 Export the TSDuck extension out of the shared library. More...
 

Detailed Description

TSDusk extensions repository.

Macro Definition Documentation

◆ TS_REGISTER_EXTENSION

#define TS_REGISTER_EXTENSION (   name,
  ... 
)

Export the TSDuck extension out of the shared library.

All TSDuck extension shared libraries must invoke this macro once. The parameters are the same as the ts::DuckExtension constructor.

Sample usage, from one source file inside the extension library:

TS_REGISTER_EXTENSION(u"foo", u"Manipulate FOO tables", {u"fooinject", u"fooextract"}, {u"foogen"});
TS_REGISTER_EXTENSION
#define TS_REGISTER_EXTENSION(name,...)
Export the TSDuck extension out of the shared library.
Definition: tsDuckExtensionRepository.h:151