#include <dtvconfparserhelpers.h>

Definition at line 227 of file dtvconfparserhelpers.h.
Public Types | |
| enum | { kModulationQPSK = 0, kModulationQAM16 = 1, kModulationQAM32 = 2, kModulationQAM64 = 3, kModulationQAM128 = 4, kModulationQAM256 = 5, kModulationQAMAuto = 6, kModulation8VSB = 7, kModulation16VSB = 8, kModulation2VSB = 9, kModulation4VSB = 10, kModulationBPSK = 11, kModulation16APSK = 12, kModulation32APSK = 13, kModulation8PSK = 14, kModulation16PSK = 15, kModulationAnalog = 16 } |
Public Member Functions | |
| DTVModulation (int _default=kModulationQAMAuto) | |
| 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 = 17 |
| static const char * | dbStr [kDBStrCnt] |
| anonymous enum |
Definition at line 237 of file dtvconfparserhelpers.h.
| DTVModulation::DTVModulation | ( | int | _default = kModulationQAMAuto |
) | [inline] |
Definition at line 258 of file dtvconfparserhelpers.h.
| bool DTVModulation::ParseConf | ( | const QString & | _value | ) | [inline] |
Definition at line 261 of file dtvconfparserhelpers.h.
| bool DTVModulation::ParseVDR | ( | const QString & | _value | ) | [inline] |
| bool DTVModulation::Parse | ( | const QString & | _value | ) | [inline] |
Definition at line 265 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 268 of file dtvconfparserhelpers.h.
Referenced by ChannelUtil::CreateMultiplex(), DTVMultiplex::toString(), TransportScanItem::TransportScanItem(), HDHRChannel::Tune(), and Channel::Tune().
| static QString DTVModulation::toString | ( | int | _value | ) | [inline, static] |
Definition at line 270 of file dtvconfparserhelpers.h.
const DTVParamHelperStruct DTVModulation::confTable [static, protected] |
Initial value:
{
{ "QAM_AUTO", kModulationQAMAuto },
{ "QAM_16", kModulationQAM16 },
{ "QAM_32", kModulationQAM32 },
{ "QAM_64", kModulationQAM64 },
{ "QAM_128", kModulationQAM128 },
{ "QAM_256", kModulationQAM256 },
{ "QPSK", kModulationQPSK },
{ "8VSB", kModulation8VSB },
{ "16VSB", kModulation16VSB },
{ "2VSB", kModulation2VSB },
{ "4VSB", kModulation4VSB },
{ "BPSK", kModulationBPSK },
{ "16APSK", kModulation16APSK },
{ "32APSK", kModulation32APSK },
{ "8PSK", kModulation8PSK },
{ "16PSK", kModulation16PSK },
{ "analog", kModulation16PSK },
{ NULL, kModulationQAMAuto },
}
Definition at line 230 of file dtvconfparserhelpers.h.
const DTVParamHelperStruct DTVModulation::vdrTable [static, protected] |
Initial value:
{
{ "999", kModulationQAMAuto },
{ "16", kModulationQAM16 },
{ "32", kModulationQAM32 },
{ "64", kModulationQAM64 },
{ "128", kModulationQAM128 },
{ "256", kModulationQAM256 },
{ "0", kModulationQPSK },
{ NULL, kModulationQAMAuto },
}
Definition at line 231 of file dtvconfparserhelpers.h.
const DTVParamHelperStruct DTVModulation::parseTable [static, protected] |
Definition at line 232 of file dtvconfparserhelpers.h.
const uint DTVModulation::kDBStrCnt = 17 [static, protected] |
Definition at line 233 of file dtvconfparserhelpers.h.
const char * DTVModulation::dbStr [static, protected] |
Initial value:
{
"qpsk",
"qam_16",
"qam_32",
"qam_64",
"qam_128",
"qam_256",
"auto",
"8vsb",
"16vsb",
"2vsb",
"4vsb",
"bpsk",
"16apsk",
"32apsk",
"8psk",
"16psk",
}
Definition at line 234 of file dtvconfparserhelpers.h.
1.5.5