#include <dtvconfparserhelpers.h>
Public Member Functions | |
| DTVTunerType (int _default=kTunerTypeUnknown) | |
| bool | Parse (const QString &_value) |
| bool | IsFECVariable (void) const |
| bool | IsModulationVariable (void) const |
| bool | IsDiSEqCSupported (void) const |
| QString | toString () const |
Static Public Member Functions | |
| static void | initStr (void) |
| static QString | toString (int _value) |
Static Public Attributes | |
| static const int | kTunerTypeDVBS1 = 0x0000 |
| static const int | kTunerTypeDVBS2 = 0x0020 |
| static const int | kTunerTypeDVBC = 0x0001 |
| static const int | kTunerTypeDVBT = 0x0002 |
| static const int | kTunerTypeATSC = 0x0003 |
| static const int | kTunerTypeASI = 0x1000 |
| static const int | kTunerTypeOCUR = 0x2000 |
| static const int | kTunerTypeUnknown = 0x80000000 |
Static Private Attributes | |
| static const DTVParamHelperStruct | parseTable [] |
Definition at line 71 of file dtvconfparserhelpers.h.
| DTVTunerType::DTVTunerType | ( | int | _default = kTunerTypeUnknown |
) | [inline] |
Definition at line 120 of file dtvconfparserhelpers.h.
| bool DTVTunerType::Parse | ( | const QString & | _value | ) | [inline] |
Definition at line 123 of file dtvconfparserhelpers.h.
Referenced by ChannelScanSM::ScanForChannels(), and ChannelScanSM::ScanTransportsStartingOn().
| bool DTVTunerType::IsFECVariable | ( | void | ) | const [inline] |
Definition at line 126 of file dtvconfparserhelpers.h.
Referenced by DVBChannel::CheckOptions(), and dtvmultiplex_to_dtvproperties().
| bool DTVTunerType::IsModulationVariable | ( | void | ) | const [inline] |
Definition at line 133 of file dtvconfparserhelpers.h.
Referenced by DVBChannel::CheckOptions().
| bool DTVTunerType::IsDiSEqCSupported | ( | void | ) | const [inline] |
Definition at line 140 of file dtvconfparserhelpers.h.
Referenced by DVBChannel::Open(), and DVBChannel::Tune().
| QString DTVTunerType::toString | ( | void | ) | const [inline] |
Definition at line 146 of file dtvconfparserhelpers.h.
Referenced by dtvmultiplex_to_dtvproperties(), DTVMultiplex::FillFromDeliverySystemDesc(), CardUtil::ProbeDVBType(), and toString().
| void DTVTunerType::initStr | ( | void | ) | [static] |
Definition at line 52 of file dtvconfparserhelpers.cpp.
Referenced by DTVTunerType().
| QString DTVTunerType::toString | ( | int | _value | ) | [static] |
Definition at line 65 of file dtvconfparserhelpers.cpp.
const DTVParamHelperStruct DTVTunerType::parseTable [static, private] |
{
{ "QPSK", kTunerTypeDVBS1 },
{ "QAM", kTunerTypeDVBC },
{ "OFDM", kTunerTypeDVBT },
{ "ATSC", kTunerTypeATSC },
{ "DVB_S2", kTunerTypeDVBS2 },
{ "ASI", kTunerTypeASI },
{ "OCUR", kTunerTypeOCUR },
{ "UNKNOWN", kTunerTypeUnknown },
{ NULL, kTunerTypeUnknown },
}
Definition at line 73 of file dtvconfparserhelpers.h.
Referenced by Parse().
const int DTVTunerType::kTunerTypeDVBS1 = 0x0000 [static] |
Definition at line 88 of file dtvconfparserhelpers.h.
Referenced by ChannelImporter::CleanupDuplicates(), dtvmultiplex_to_dtvproperties(), dtvmultiplex_to_dvbparams(), dvbparams_to_dtvmultiplex(), DTVMultiplex::FillFromDeliverySystemDesc(), ChannelImporter::GetDBTransports(), initStr(), IsDiSEqCSupported(), DTVMultiplex::IsEqual(), IsFECVariable(), DVBChannel::Open(), DTVMultiplex::ParseTuningParams(), ChannelScanner::PreScanCommon(), CardUtil::ProbeDVBType(), ScanWizard::SetPage(), DVBChannel::Tune(), and ChannelScanSM::UpdateScanTransports().
const int DTVTunerType::kTunerTypeDVBS2 = 0x0020 [static] |
Definition at line 89 of file dtvconfparserhelpers.h.
Referenced by ChannelImporter::CleanupDuplicates(), dtvmultiplex_to_dtvproperties(), dtvmultiplex_to_dvbparams(), dvbparams_to_dtvmultiplex(), DTVMultiplex::FillFromDeliverySystemDesc(), ChannelImporter::GetDBTransports(), initStr(), IsDiSEqCSupported(), DTVMultiplex::IsEqual(), IsFECVariable(), IsModulationVariable(), DVBChannel::Open(), DTVMultiplex::ParseTuningParams(), ChannelScanner::PreScanCommon(), CardUtil::ProbeDVBType(), DVBChannel::ProbeTuningParams(), ScanWizard::SetPage(), and DVBChannel::Tune().
const int DTVTunerType::kTunerTypeDVBC = 0x0001 [static] |
Definition at line 90 of file dtvconfparserhelpers.h.
Referenced by dtvmultiplex_to_dtvproperties(), dtvmultiplex_to_dvbparams(), dvbparams_to_dtvmultiplex(), DTVMultiplex::FillFromDeliverySystemDesc(), get_tune_spec(), initStr(), DTVMultiplex::IsEqual(), IsFECVariable(), IsModulationVariable(), HDHRStreamHandler::Open(), DTVMultiplex::ParseTuningParams(), ChannelScanner::PreScanCommon(), HDHRChannel::SetChannelByString(), ScanWizard::SetPage(), and ChannelScanSM::UpdateScanTransports().
const int DTVTunerType::kTunerTypeDVBT = 0x0002 [static] |
Definition at line 91 of file dtvconfparserhelpers.h.
Referenced by DVBChannel::CheckOptions(), dtvmultiplex_to_dtvproperties(), dtvmultiplex_to_dvbparams(), dvbparams_to_dtvmultiplex(), DTVMultiplex::FillFromDeliverySystemDesc(), get_tune_spec(), initStr(), DTVMultiplex::IsEqual(), HDHRStreamHandler::Open(), DTVMultiplex::ParseTuningParams(), ChannelScanner::PreScanCommon(), HDHRChannel::SetChannelByString(), ScanWizard::SetPage(), and ChannelScanSM::UpdateScanTransports().
const int DTVTunerType::kTunerTypeATSC = 0x0003 [static] |
Definition at line 92 of file dtvconfparserhelpers.h.
Referenced by ChannelScanSM::AddToList(), ChannelImporter::CleanupDuplicates(), dtvmultiplex_to_dvbparams(), dvbparams_to_dtvmultiplex(), get_tune_spec(), ChannelScanSM::GetChannelList(), ChannelImporter::GetDBTransports(), initStr(), DTVMultiplex::IsEqual(), IsModulationVariable(), HDHRStreamHandler::Open(), CetonChannel::Open(), DTVMultiplex::ParseTuningParams(), and ChannelScanner::PreScanCommon().
const int DTVTunerType::kTunerTypeASI = 0x1000 [static] |
Definition at line 94 of file dtvconfparserhelpers.h.
Referenced by ASIChannel::ASIChannel(), and initStr().
const int DTVTunerType::kTunerTypeOCUR = 0x2000 [static] |
Definition at line 95 of file dtvconfparserhelpers.h.
Referenced by initStr(), and HDHRStreamHandler::Open().
const int DTVTunerType::kTunerTypeUnknown = 0x80000000 [static] |
Definition at line 96 of file dtvconfparserhelpers.h.
Referenced by ChannelScanSM::AddToList(), DTVChannel::GetTunerTypes(), ChannelScanSM::GuessDTVTunerType(), initStr(), HDHRChannel::Open(), ScanWizard::SetPage(), toString(), and ChannelScanSM::UpdateScanTransports().
1.6.3