TSDuck v3.40-3963
MPEG Transport Stream Toolkit
|
A class to register fully implemented tables. More...
#include <tsPSIRepository.h>
Public Member Functions | |
RegisterTable (const std::vector< TID > &tids, Standards standards, DisplaySectionFunction displayFunction=nullptr, LogSectionFunction logFunction=nullptr, std::initializer_list< PID > pids={}, uint16_t minCAS=CASID_NULL, uint16_t maxCAS=CASID_NULL) | |
Register a known table with display functions but no full C++ class. | |
RegisterTable (TableFactory factory, const std::vector< TID > &tids, Standards standards, const UString &xmlName, DisplaySectionFunction displayFunction=nullptr, LogSectionFunction logFunction=nullptr, std::initializer_list< PID > pids={}, uint16_t minCAS=CASID_NULL, uint16_t maxCAS=CASID_NULL) | |
Register a fully implemented table. | |
A class to register fully implemented tables.
The registration is performed using constructors. Thus, it is possible to perform a registration in the declaration of a static object.
ts::PSIRepository::RegisterTable::RegisterTable | ( | TableFactory | factory, |
const std::vector< TID > & | tids, | ||
Standards | standards, | ||
const UString & | xmlName, | ||
DisplaySectionFunction | displayFunction = nullptr , |
||
LogSectionFunction | logFunction = nullptr , |
||
std::initializer_list< PID > | pids = {} , |
||
uint16_t | minCAS = CASID_NULL , |
||
uint16_t | maxCAS = CASID_NULL |
||
) |
Register a fully implemented table.
[in] | factory | Function which creates a table of this type. |
[in] | tids | List of table ids for this type. Usually there is only one (notable exception: EIT, SDT, NIT). |
[in] | standards | List of standards which define this table. |
[in] | xmlName | XML node name for this table type. |
[in] | displayFunction | Display function for the corresponding sections. Can be null. |
[in] | logFunction | Log function for the corresponding sections. Can be null. |
[in] | pids | List of PID's which are defined by the standards for this table. |
[in] | minCAS | First CA_system_id if the display function applies to one CAS only. |
[in] | maxCAS | Last CA_system_id if the display function applies to one CAS only. Same as minCAS when set as CASID_NULL. |
ts::PSIRepository::RegisterTable::RegisterTable | ( | const std::vector< TID > & | tids, |
Standards | standards, | ||
DisplaySectionFunction | displayFunction = nullptr , |
||
LogSectionFunction | logFunction = nullptr , |
||
std::initializer_list< PID > | pids = {} , |
||
uint16_t | minCAS = CASID_NULL , |
||
uint16_t | maxCAS = CASID_NULL |
||
) |
Register a known table with display functions but no full C++ class.
[in] | tids | List of table ids for this type. Usually there is only one (notable exception: EIT, SDT, NIT). |
[in] | standards | List of standards which define this table. |
[in] | displayFunction | Display function for the corresponding sections. Can be null. |
[in] | logFunction | Log function for the corresponding sections. Can be null. |
[in] | pids | List of PID's which are defined by the standards for this table. |
[in] | minCAS | First CA_system_id if the display function applies to one CAS only. |
[in] | maxCAS | Last CA_system_id if the display function applies to one CAS only. Same as minCAS when set as CASID_NULL. |