TSDuck Version 3.24-2004 (TSDuck - The MPEG Transport Stream Toolkit)
tsDuckExtension.h File Reference

Definition of a TSDuck Extension. More...

Classes

class  ts::DuckExtension
 Definition of a TSDuck extension. More...
 

Namespaces

 ts
 TSDuck namespace, containing all TSDuck classes and functions.
 

Macros

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

Detailed Description

Definition of a TSDuck Extension.

Macro Definition Documentation

◆ TS_REGISTER_EXTENSION

#define TS_REGISTER_EXTENSION (   ...)

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"});