MythTV
master
|
Parses dvb-utils channel scanner output files. More...
#include <libmythtv/dtvconfparser.h>
Public Types | |
enum | return_t : std::uint8_t { ERROR_CARDTYPE, ERROR_OPEN, ERROR_PARSE, OK } |
enum | cardtype_t : std::uint8_t { ATSC, OFDM, QPSK, QAM, DVBS2, UNKNOWN } |
Public Member Functions | |
DTVConfParser (enum 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.
enum DTVConfParser::return_t : std::uint8_t |
Enumerator | |
---|---|
ERROR_CARDTYPE | |
ERROR_OPEN | |
ERROR_PARSE | |
OK |
Definition at line 76 of file dtvconfparser.h.
enum DTVConfParser::cardtype_t : std::uint8_t |
Enumerator | |
---|---|
ATSC | |
OFDM | |
QPSK | |
QAM | |
DVBS2 | |
UNKNOWN |
Definition at line 77 of file dtvconfparser.h.
|
inline |
Definition at line 79 of file dtvconfparser.h.
|
virtualdefault |
DTVConfParser::return_t DTVConfParser::Parse | ( | void | ) |
Definition at line 71 of file dtvconfparser.cpp.
|
inline |
Definition at line 85 of file dtvconfparser.h.
|
private |
Definition at line 225 of file dtvconfparser.cpp.
Referenced by Parse().
|
private |
|
private |
Definition at line 137 of file dtvconfparser.cpp.
Referenced by Parse().
|
private |
Definition at line 204 of file dtvconfparser.cpp.
Referenced by Parse().
|
private |
Definition at line 182 of file dtvconfparser.cpp.
Referenced by Parse().
|
private |
Definition at line 163 of file dtvconfparser.cpp.
Referenced by Parse().
|
private |
Definition at line 302 of file dtvconfparser.cpp.
Referenced by ParseConfATSC(), ParseConfOFDM(), ParseConfQAM(), ParseConfQPSK(), and ParseVDR().
|
private |
Definition at line 96 of file dtvconfparser.h.
Referenced by Parse().
|
private |
Definition at line 97 of file dtvconfparser.h.
|
private |
Definition at line 98 of file dtvconfparser.h.
Referenced by Parse().
|
private |
Definition at line 102 of file dtvconfparser.h.
Referenced by AddChannel(), GetChannels(), and Parse().