TSDuck v3.46-4930
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
tsPlugin.h File Reference

Classes

class  ts::Plugin

Namespaces

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

Macros

#define TS_PLUGIN_CONSTRUCTORS(classname)

Detailed Description

Definition of the API of a tsp plugin.

Macro Definition Documentation

◆ TS_PLUGIN_CONSTRUCTORS

#define TS_PLUGIN_CONSTRUCTORS ( classname)
Value:
public: \ \ \
classname(TSP* tsp); \
private: \
classname() = delete; \
classname(classname&&) = delete; \
classname(const classname&) = delete; \
classname& operator=(classname&&) = delete; \
classname& operator=(const classname&) = delete

A convenience macro to declare constructors for plugin classes. The default, copy and move constructors and assignments are explicitly deleted. The only allowed constructor uses a TSP*.

Parameters
classnameName of the enclosing plugin class.