TSDuck v3.40-3963
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
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

namespace  ts
 TSDuck namespace, containing all TSDuck classes and functions.
 

Macros

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

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"});
#define TS_REGISTER_EXTENSION(name,...)
Export the TSDuck extension out of the shared library.
Definition tsDuckExtensionRepository.h:130