|
MythTV master
|
Parses dvb-utils channel scanner output files. More...
#include <libmythtv/dtvconfparser.h>
Public Types | |
| enum class | return_t : std::uint8_t { ERROR_CARDTYPE , ERROR_OPEN , ERROR_PARSE , OK } |
| enum class | cardtype_t : std::uint8_t { ATSC , OFDM , QPSK , QAM , DVBS2 , UNKNOWN } |
Public Member Functions | |
| DTVConfParser (cardtype_t type, uint sourceid, QString file) | |
| virtual | ~DTVConfParser ()=default |
| return_t | Parse (void) |
| DTVChannelList | GetChannels (void) const |
Private Member Functions | |
| bool | ParseVDR (const QStringList &tokens, int channelNo=-1) |
| bool | ParseConf (const QStringList &tokens) |
| bool | ParseConfOFDM (const QStringList &tokens) |
| bool | ParseConfQPSK (const QStringList &tokens) |
| bool | ParseConfQAM (const QStringList &tokens) |
| bool | ParseConfATSC (const QStringList &tokens) |
| void | AddChannel (const DTVMultiplex &mux, DTVChannelInfo &chan) |
Private Attributes | |
| cardtype_t | m_type |
| uint | m_sourceid |
| QString | m_filename |
| DTVChannelList | m_channels |
Parses dvb-utils channel scanner output files.
Definition at line 73 of file dtvconfparser.h.
|
strong |
| Enumerator | |
|---|---|
| ATSC | |
| OFDM | |
| QPSK | |
| QAM | |
| DVBS2 | |
| UNKNOWN | |
Definition at line 77 of file dtvconfparser.h.
|
strong |
| Enumerator | |
|---|---|
| ERROR_CARDTYPE | |
| ERROR_OPEN | |
| ERROR_PARSE | |
| OK | |
Definition at line 76 of file dtvconfparser.h.
|
inline |
Definition at line 79 of file dtvconfparser.h.
|
virtualdefault |
|
private |
Definition at line 301 of file dtvconfparser.cpp.
Referenced by ParseConfATSC(), ParseConfOFDM(), ParseConfQAM(), ParseConfQPSK(), and ParseVDR().
|
inline |
Definition at line 85 of file dtvconfparser.h.
| DTVConfParser::return_t DTVConfParser::Parse | ( | void | ) |
Definition at line 70 of file dtvconfparser.cpp.
|
private |
|
private |
Definition at line 162 of file dtvconfparser.cpp.
Referenced by Parse().
|
private |
Definition at line 136 of file dtvconfparser.cpp.
Referenced by Parse().
|
private |
Definition at line 181 of file dtvconfparser.cpp.
Referenced by Parse().
|
private |
Definition at line 203 of file dtvconfparser.cpp.
Referenced by Parse().
|
private |
Definition at line 224 of file dtvconfparser.cpp.
Referenced by Parse().
|
private |
Definition at line 102 of file dtvconfparser.h.
Referenced by AddChannel(), GetChannels(), and Parse().
|
private |
Definition at line 98 of file dtvconfparser.h.
Referenced by Parse().
|
private |
Definition at line 97 of file dtvconfparser.h.
|
private |
Definition at line 96 of file dtvconfparser.h.
Referenced by Parse().