TSDuck Version 3.20-1615 (TSDuck - The MPEG Transport Stream Toolkit)
tsTablesFactory.h File Reference

Classes

class  ts::TablesFactory::Register
 A class to register factories and display functions. More...
 
class  ts::TablesFactory::RegisterNames
 A class to register additional names files to merge with the names file. More...
 
class  ts::TablesFactory::RegisterXML
 A class to register additional XML model files to merge with the main model for tables and descriptors. More...
 
class  ts::TablesFactory
 A factory class which creates tables and descriptors based on id or name. More...
 

Namespaces

 ts
 TSDuck namespace, containing all TSDuck classes and functions.
 

Macros

#define TS_FACTORY_REGISTER
 Registration inside the ts::TablesFactory singleton. More...
 
#define TS_FACTORY_REGISTER_NAMES
 Registration of an extension names file inside the ts::TablesFactory singleton. More...
 
#define TS_FACTORY_REGISTER_XML
 Registration of an extension XML model file inside the ts::TablesFactory singleton. More...
 
#define TS_ID_DESCRIPTOR_FACTORY(classname, id)
 Registration of the descriptor tag of a subclass of ts::AbstractDescriptor. More...
 
#define TS_ID_TABLE_FACTORY(classname, id, std)
 Registration of the table id of a subclass of ts::AbstractTable. More...
 
#define TS_ID_TABLE_RANGE_FACTORY(classname, minId, maxId, std)
 Registration of a range of table ids of a subclass of ts::AbstractTable. More...
 
#define TS_XML_DESCRIPTOR_FACTORY(classname, xmlname)
 Registration of the XML name of a subclass of ts::AbstractDescriptor. More...
 
#define TS_XML_TABLE_FACTORY(classname, xmlname)
 Registration of the XML name of a subclass of ts::AbstractTable. More...
 
#define TS_XML_TABSPEC_DESCRIPTOR_FACTORY(classname, xmlname, ...)
 Registration of the XML name of a subclass of ts::AbstractDescriptor for a table-specific descriptor. More...
 

Detailed Description

Tables and descriptor factory.

Macro Definition Documentation

◆ TS_FACTORY_REGISTER

#define TS_FACTORY_REGISTER

Registration inside the ts::TablesFactory singleton.

This macro is typically used in the .cpp file of a table or descriptor.

◆ TS_FACTORY_REGISTER_XML

#define TS_FACTORY_REGISTER_XML

Registration of an extension XML model file inside the ts::TablesFactory singleton.

This macro is typically used in the .cpp file of a table or descriptor.

◆ TS_FACTORY_REGISTER_NAMES

#define TS_FACTORY_REGISTER_NAMES

Registration of an extension names file inside the ts::TablesFactory singleton.

This macro is typically used in the .cpp file of a table or descriptor.

◆ TS_ID_TABLE_FACTORY

#define TS_ID_TABLE_FACTORY (   classname,
  id,
  std 
)

Registration of the table id of a subclass of ts::AbstractTable.

This macro is typically used in the .cpp file of a table.

◆ TS_ID_TABLE_RANGE_FACTORY

#define TS_ID_TABLE_RANGE_FACTORY (   classname,
  minId,
  maxId,
  std 
)

Registration of a range of table ids of a subclass of ts::AbstractTable.

This macro is typically used in the .cpp file of a table.

◆ TS_ID_DESCRIPTOR_FACTORY

#define TS_ID_DESCRIPTOR_FACTORY (   classname,
  id 
)

Registration of the descriptor tag of a subclass of ts::AbstractDescriptor.

This macro is typically used in the .cpp file of a descriptor.

◆ TS_XML_TABLE_FACTORY

#define TS_XML_TABLE_FACTORY (   classname,
  xmlname 
)

Registration of the XML name of a subclass of ts::AbstractTable.

This macro is typically used in the .cpp file of a table.

◆ TS_XML_DESCRIPTOR_FACTORY

#define TS_XML_DESCRIPTOR_FACTORY (   classname,
  xmlname 
)

Registration of the XML name of a subclass of ts::AbstractDescriptor.

This macro is typically used in the .cpp file of a descriptor.

◆ TS_XML_TABSPEC_DESCRIPTOR_FACTORY

#define TS_XML_TABSPEC_DESCRIPTOR_FACTORY (   classname,
  xmlname,
  ... 
)

Registration of the XML name of a subclass of ts::AbstractDescriptor for a table-specific descriptor.

This macro is typically used in the .cpp file of a descriptor.