DTVTunerType Class Reference

#include <dtvconfparserhelpers.h>

Inheritance diagram for DTVTunerType:
DTVParamHelper

List of all members.

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 []

Detailed Description

Definition at line 71 of file dtvconfparserhelpers.h.


Constructor & Destructor Documentation

DTVTunerType::DTVTunerType ( int  _default = kTunerTypeUnknown  )  [inline]

Definition at line 120 of file dtvconfparserhelpers.h.


Member Function Documentation

bool DTVTunerType::Parse ( const QString &  _value  )  [inline]
bool DTVTunerType::IsFECVariable ( void   )  const [inline]
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]
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.


Member Data Documentation

Initial value:
{
    { "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]
const int DTVTunerType::kTunerTypeDVBS2 = 0x0020 [static]
const int DTVTunerType::kTunerTypeDVBC = 0x0001 [static]
const int DTVTunerType::kTunerTypeDVBT = 0x0002 [static]
const int DTVTunerType::kTunerTypeATSC = 0x0003 [static]
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]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Thu May 24 06:41:59 2012 for MythTV by  doxygen 1.6.3