TSDuck Version 3.16-1064 (TSDuck - The MPEG Transport Stream Toolkit)
tsTablesFactory.h File Reference

Tables and descriptor factory. More...

Classes

class  ts::TablesFactory::Register
 A class to register factories and display functions. 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_ID_DESCRIPTOR_DISPLAY(func, edid)
 Registration of the display function for a descriptor id. More...
 
#define TS_ID_DESCRIPTOR_FACTORY(classname, id)
 Registration of the descriptor tag of a subclass of ts::AbstractDescriptor. More...
 
#define TS_ID_SECTION_DISPLAY(func, id)
 Registration of the display function for a table id. More...
 
#define TS_ID_SECTION_RANGE_DISPLAY(func, minId, maxId)
 Registration of the display function for a range of table ids. More...
 
#define TS_ID_TABLE_FACTORY(classname, id)
 Registration of the table id of a subclass of ts::AbstractTable. More...
 
#define TS_ID_TABLE_RANGE_FACTORY(classname, minId, maxId)
 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_ID_TABLE_FACTORY

#define TS_ID_TABLE_FACTORY (   classname,
  id 
)

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 
)

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.

◆ TS_ID_SECTION_DISPLAY

#define TS_ID_SECTION_DISPLAY (   func,
  id 
)

Registration of the display function for a table id.

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

◆ TS_ID_SECTION_RANGE_DISPLAY

#define TS_ID_SECTION_RANGE_DISPLAY (   func,
  minId,
  maxId 
)

Registration of the display function for a range of table ids.

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

◆ TS_ID_DESCRIPTOR_DISPLAY

#define TS_ID_DESCRIPTOR_DISPLAY (   func,
  edid 
)

Registration of the display function for a descriptor id.

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