MythTV  master
Public Types | Public Member Functions | Static Public Member Functions | Static Protected Attributes | List of all members
DTVModulationSystem Class Reference

#include <dtvconfparserhelpers.h>

Inheritance diagram for DTVModulationSystem:
Inheritance graph
[legend]
Collaboration diagram for DTVModulationSystem:
Collaboration graph
[legend]

Public Types

enum  Types {
  kModulationSystem_UNDEFINED, kModulationSystem_DVBC_ANNEX_A, kModulationSystem_DVBC_ANNEX_B, kModulationSystem_DVBT,
  kModulationSystem_DSS, kModulationSystem_DVBS, kModulationSystem_DVBS2, kModulationSystem_DVBH,
  kModulationSystem_ISDBT, kModulationSystem_ISDBS, kModulationSystem_ISDBC, kModulationSystem_ATSC,
  kModulationSystem_ATSCMH, kModulationSystem_DMBTH, kModulationSystem_CMMB, kModulationSystem_DAB,
  kModulationSystem_DVBT2, kModulationSystem_TURBO, kModulationSystem_DVBC_ANNEX_C
}
 

Public Member Functions

 DTVModulationSystem (Types _default=kModulationSystem_UNDEFINED)
 
DTVModulationSystemoperator= (const Types _value)
 
DTVModulationSystemoperator= (fe_delivery_system_t type)
 
bool IsCompatible (const DTVModulationSystem &other) const
 
bool ParseConf (const QString &_value)
 
bool ParseVDR (const QString &_value)
 
bool Parse (const QString &_value)
 
QString toString () const
 
- Public Member Functions inherited from DTVParamHelper
 DTVParamHelper (int _value)
 
DTVParamHelperoperator= (int _value)
 
 operator int () const
 
bool operator== (const int &v) const
 
bool operator!= (const int &v) const
 

Static Public Member Functions

static QString toString (int _value)
 

Static Protected Attributes

static const DTVParamHelperStruct s_confTable []
 
static const DTVParamHelperStruct s_vdrTable []
 
static const DTVParamHelperStruct s_parseTable []
 
static const uint kDBStrCnt = 19
 
static const char * s_dbStr [kDBStrCnt]
 

Additional Inherited Members

- Static Protected Member Functions inherited from DTVParamHelper
static bool ParseParam (const QString &symbol, int &value, const DTVParamHelperStruct *table)
 
static QString toString (const char *strings[], int index, uint strings_size)
 
- Protected Attributes inherited from DTVParamHelper
int value
 

Detailed Description

Definition at line 582 of file dtvconfparserhelpers.h.

Member Enumeration Documentation

◆ Types

Enumerator
kModulationSystem_UNDEFINED 
kModulationSystem_DVBC_ANNEX_A 
kModulationSystem_DVBC_ANNEX_B 
kModulationSystem_DVBT 
kModulationSystem_DSS 
kModulationSystem_DVBS 
kModulationSystem_DVBS2 
kModulationSystem_DVBH 
kModulationSystem_ISDBT 
kModulationSystem_ISDBS 
kModulationSystem_ISDBC 
kModulationSystem_ATSC 
kModulationSystem_ATSCMH 
kModulationSystem_DMBTH 
kModulationSystem_CMMB 
kModulationSystem_DAB 
kModulationSystem_DVBT2 
kModulationSystem_TURBO 
kModulationSystem_DVBC_ANNEX_C 

Definition at line 592 of file dtvconfparserhelpers.h.

Constructor & Destructor Documentation

◆ DTVModulationSystem()

DTVModulationSystem::DTVModulationSystem ( Types  _default = kModulationSystem_UNDEFINED)
inlineexplicit

Definition at line 621 of file dtvconfparserhelpers.h.

Member Function Documentation

◆ operator=() [1/2]

DTVModulationSystem& DTVModulationSystem::operator= ( const Types  _value)
inline

Definition at line 623 of file dtvconfparserhelpers.h.

◆ operator=() [2/2]

DTVModulationSystem& DTVModulationSystem::operator= ( fe_delivery_system_t  type)
inline

Definition at line 626 of file dtvconfparserhelpers.h.

◆ IsCompatible()

bool DTVModulationSystem::IsCompatible ( const DTVModulationSystem other) const
inline

Definition at line 629 of file dtvconfparserhelpers.h.

Referenced by DTVMultiplex::IsEqual().

◆ ParseConf()

bool DTVModulationSystem::ParseConf ( const QString &  _value)
inline

Definition at line 636 of file dtvconfparserhelpers.h.

◆ ParseVDR()

bool DTVModulationSystem::ParseVDR ( const QString &  _value)
inline

Definition at line 638 of file dtvconfparserhelpers.h.

Referenced by DTVConfParser::ParseVDR().

◆ Parse()

bool DTVModulationSystem::Parse ( const QString &  _value)
inline

◆ toString() [1/2]

QString DTVModulationSystem::toString ( void  ) const
inline

◆ toString() [2/2]

static QString DTVModulationSystem::toString ( int  _value)
inlinestatic

Definition at line 645 of file dtvconfparserhelpers.h.

Member Data Documentation

◆ s_confTable

const DTVParamHelperStruct DTVModulationSystem::s_confTable
staticprotected
Initial value:
=
{
{ "SYS_UNDEFINED", kModulationSystem_UNDEFINED },
{ "SYS_DVBC_ANNEX_A", kModulationSystem_DVBC_ANNEX_A },
{ "SYS_DVBC_ANNEX_B", kModulationSystem_DVBC_ANNEX_B },
{ "SYS_DVBT", kModulationSystem_DVBT },
{ "SYS_DVBT2", kModulationSystem_DVBT2 },
{ "SYS_DSS", kModulationSystem_DSS },
{ "SYS_DVBS", kModulationSystem_DVBS },
{ "SYS_DVBS2", kModulationSystem_DVBS2 },
{ "SYS_DVBH", kModulationSystem_DVBH },
{ "SYS_ISDBT", kModulationSystem_ISDBT },
{ "SYS_ISDBS", kModulationSystem_ISDBS },
{ "SYS_ISDBC", kModulationSystem_ISDBC },
{ "SYS_ATSC", kModulationSystem_ATSC },
{ "SYS_ATSCMH", kModulationSystem_ATSCMH },
{ "SYS_DMBTH", kModulationSystem_DMBTH },
{ "SYS_CMMB", kModulationSystem_CMMB },
{ "SYS_DAB", kModulationSystem_DAB },
{ "SYS_TURBO", kModulationSystem_TURBO },
{ "SYS_DVBC_ANNEX_C", kModulationSystem_DVBC_ANNEX_C },
}

Definition at line 585 of file dtvconfparserhelpers.h.

Referenced by ParseConf().

◆ s_vdrTable

const DTVParamHelperStruct DTVModulationSystem::s_vdrTable
staticprotected
Initial value:

Definition at line 586 of file dtvconfparserhelpers.h.

Referenced by ParseVDR().

◆ s_parseTable

const DTVParamHelperStruct DTVModulationSystem::s_parseTable
staticprotected
Initial value:

Definition at line 587 of file dtvconfparserhelpers.h.

Referenced by Parse().

◆ kDBStrCnt

const uint DTVModulationSystem::kDBStrCnt = 19
staticprotected

Definition at line 588 of file dtvconfparserhelpers.h.

Referenced by toString().

◆ s_dbStr

const char * DTVModulationSystem::s_dbStr
staticprotected
Initial value:
=
{
"UNDEFINED",
"DVB-C/A",
"DVB-C/B",
"DVB-T",
"DSS",
"DVB-S",
"DVB-S2",
"DVBH",
"ISDBT",
"ISDBS",
"ISDBC",
"ATSC",
"ATSCMH",
"DMBTH",
"CMMB",
"DAB",
"DVB-T2",
"TURBO",
"DVB-C/C",
}

Definition at line 589 of file dtvconfparserhelpers.h.

Referenced by toString().


The documentation for this class was generated from the following files: