#include <dtvconfparserhelpers.h>
Public Types | |
| enum | { kModulationQPSK, kModulationQAM16, kModulationQAM32, kModulationQAM64, kModulationQAM128, kModulationQAM256, kModulationQAMAuto, kModulation8VSB, kModulation16VSB, kModulation8PSK, kModulation16APSK, kModulation32APSK, kModulationDQPSK, kModulationInvalid = 0x100, kModulationAnalog = 0x200 } |
Public Member Functions | |
| DTVModulation (int _default=kModulationQAMAuto) | |
| bool | IsCompatible (const DTVModulation &other) const |
| bool | ParseConf (const QString &_value) |
| bool | ParseVDR (const QString &_value) |
| bool | Parse (const QString &_value) |
| QString | toString () const |
Static Public Member Functions | |
| static QString | toString (int _value) |
Static Protected Attributes | |
| static const DTVParamHelperStruct | confTable [] |
| static const DTVParamHelperStruct | vdrTable [] |
| static const DTVParamHelperStruct | parseTable [] |
| static const uint | kDBStrCnt = 13 |
| static const char * | dbStr [kDBStrCnt] |
Definition at line 280 of file dtvconfparserhelpers.h.
| anonymous enum |
Definition at line 290 of file dtvconfparserhelpers.h.
| DTVModulation::DTVModulation | ( | int | _default = kModulationQAMAuto |
) | [inline] |
Definition at line 309 of file dtvconfparserhelpers.h.
| bool DTVModulation::IsCompatible | ( | const DTVModulation & | other | ) | const [inline] |
Definition at line 312 of file dtvconfparserhelpers.h.
Referenced by DTVMultiplex::IsEqual().
| bool DTVModulation::ParseConf | ( | const QString & | _value | ) | [inline] |
Definition at line 317 of file dtvconfparserhelpers.h.
| bool DTVModulation::ParseVDR | ( | const QString & | _value | ) | [inline] |
Definition at line 319 of file dtvconfparserhelpers.h.
Referenced by DTVConfParser::ParseVDR().
| bool DTVModulation::Parse | ( | const QString & | _value | ) | [inline] |
Definition at line 321 of file dtvconfparserhelpers.h.
Referenced by DTVMultiplex::ParseATSC(), DTVMultiplex::ParseDVB_S_and_C(), and DTVMultiplex::ParseDVB_T().
| QString DTVModulation::toString | ( | void | ) | const [inline] |
Definition at line 324 of file dtvconfparserhelpers.h.
Referenced by ChannelUtil::CreateMultiplex(), ChannelImporter::FormatChannel(), ScanDTVTransport::SaveScan(), TransportScanItem::toString(), DTVMultiplex::toString(), toString(), and TransportScanItem::TransportScanItem().
| static QString DTVModulation::toString | ( | int | _value | ) | [inline, static] |
Definition at line 326 of file dtvconfparserhelpers.h.
const DTVParamHelperStruct DTVModulation::confTable [static, protected] |
{
{ "QAM_AUTO", kModulationQAMAuto },
{ "QAM_16", kModulationQAM16 },
{ "QAM_32", kModulationQAM32 },
{ "QAM_64", kModulationQAM64 },
{ "QAM_128", kModulationQAM128 },
{ "QAM_256", kModulationQAM256 },
{ "QPSK", kModulationQPSK },
{ "8VSB", kModulation8VSB },
{ "16VSB", kModulation16VSB },
{ "8PSK", kModulation8PSK },
{ "16APSK", kModulation16APSK },
{ "32APSK", kModulation32APSK },
{ "DQPSK", kModulationDQPSK },
{ "16PSK", kModulationInvalid },
{ "2VSB", kModulationInvalid },
{ "4VSB", kModulationInvalid },
{ "BPSK", kModulationInvalid },
{ "analog", kModulationAnalog },
{ NULL, kModulationQAMAuto },
}
Definition at line 283 of file dtvconfparserhelpers.h.
Referenced by ParseConf().
const DTVParamHelperStruct DTVModulation::vdrTable [static, protected] |
{
{ "998", kModulationQAMAuto },
{ "16", kModulationQAM16 },
{ "32", kModulationQAM32 },
{ "64", kModulationQAM64 },
{ "128", kModulationQAM128 },
{ "256", kModulationQAM256 },
{ "2", kModulationQPSK },
{ "5", kModulation8PSK },
{ "6", kModulation16APSK },
{ "7", kModulation32APSK },
{ "10", kModulation8VSB },
{ "11", kModulation16VSB },
{ NULL, kModulationQAMAuto },
}
Definition at line 284 of file dtvconfparserhelpers.h.
Referenced by ParseVDR().
const DTVParamHelperStruct DTVModulation::parseTable [static, protected] |
Definition at line 285 of file dtvconfparserhelpers.h.
Referenced by Parse().
const uint DTVModulation::kDBStrCnt = 13 [static, protected] |
Definition at line 286 of file dtvconfparserhelpers.h.
Referenced by toString().
const char * DTVModulation::dbStr [static, protected] |
{
"qpsk",
"qam_16",
"qam_32",
"qam_64",
"qam_128",
"qam_256",
"auto",
"8vsb",
"16vsb",
"8psk",
"16apsk",
"32apsk",
"dqpsk"
}
Definition at line 287 of file dtvconfparserhelpers.h.
Referenced by toString().
1.6.3