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

Definition of the API of a tsp plugin. More...

Classes

class  ts::Plugin
 Base class of all tsp plugins. More...
 

Namespaces

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

Macros

#define TS_PLUGIN_CONSTRUCTORS(classname)
 A convenience macro to declare constructors for plugin classes.
 

Enumerations

enum class  ts::PluginType {
  ts::PluginType::INPUT ,
  ts::PluginType::OUTPUT ,
  ts::PluginType::PROCESSOR
}
 Each plugin has one of the following types. More...
 

Variables

const Enumeration ts::PluginTypeNames
 Displayable names of plugin types.
 

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.