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

#include <dtvconfparserhelpers.h>

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

Public Types

enum  Types { kTransmissionMode2K, kTransmissionMode8K, kTransmissionModeAuto }
 

Public Member Functions

 DTVTransmitMode (Types _default=kTransmissionModeAuto)
 
DTVTransmitModeoperator= (const Types _value)
 
DTVTransmitModeoperator= (const fe_transmit_mode_t mode)
 
bool IsCompatible (const DTVTransmitMode &other) const
 
bool ParseConf (const QString &_value)
 
bool ParseVDR (const QString &_value)
 
bool Parse (const QString &_value)
 
QString toString () const
 
QChar toChar () 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 kConfTable []
 
static const DTVParamHelperStruct kVdrTable []
 
static const DTVParamHelperStruct kParseTable []
 
static const uint kDBStrCnt = 3
 
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 m_value
 

Detailed Description

Definition at line 394 of file dtvconfparserhelpers.h.

Member Enumeration Documentation

◆ Types

Enumerator
kTransmissionMode2K 
kTransmissionMode8K 
kTransmissionModeAuto 

Definition at line 404 of file dtvconfparserhelpers.h.

Constructor & Destructor Documentation

◆ DTVTransmitMode()

DTVTransmitMode::DTVTransmitMode ( Types  _default = kTransmissionModeAuto)
inlineexplicit

Definition at line 416 of file dtvconfparserhelpers.h.

Member Function Documentation

◆ operator=() [1/2]

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

Definition at line 418 of file dtvconfparserhelpers.h.

◆ operator=() [2/2]

DTVTransmitMode& DTVTransmitMode::operator= ( const fe_transmit_mode_t  mode)
inline

Definition at line 421 of file dtvconfparserhelpers.h.

◆ IsCompatible()

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

Definition at line 425 of file dtvconfparserhelpers.h.

Referenced by DTVMultiplex::IsEqual().

◆ ParseConf()

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

Definition at line 430 of file dtvconfparserhelpers.h.

◆ ParseVDR()

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

Definition at line 432 of file dtvconfparserhelpers.h.

Referenced by DTVConfParser::ParseVDR().

◆ Parse()

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

Definition at line 434 of file dtvconfparserhelpers.h.

Referenced by DTVMultiplex::ParseDVB_T().

◆ toString() [1/2]

QString DTVTransmitMode::toString ( ) const
inline

◆ toChar()

QChar DTVTransmitMode::toChar ( ) const
inline

Definition at line 438 of file dtvconfparserhelpers.h.

Referenced by ChannelUtil::CreateMultiplex().

◆ toString() [2/2]

static QString DTVTransmitMode::toString ( int  _value)
inlinestatic

Definition at line 445 of file dtvconfparserhelpers.h.

Member Data Documentation

◆ kConfTable

const DTVParamHelperStruct DTVTransmitMode::kConfTable
staticprotected
Initial value:
=
{
{ "TRANSMISSION_MODE_AUTO", kTransmissionModeAuto },
{ "TRANSMISSION_MODE_2K", kTransmissionMode2K },
{ "TRANSMISSION_MODE_8K", kTransmissionMode8K },
{ nullptr, kTransmissionModeAuto },
}

Definition at line 397 of file dtvconfparserhelpers.h.

Referenced by ParseConf().

◆ kVdrTable

const DTVParamHelperStruct DTVTransmitMode::kVdrTable
staticprotected
Initial value:

Definition at line 398 of file dtvconfparserhelpers.h.

Referenced by ParseVDR().

◆ kParseTable

const DTVParamHelperStruct DTVTransmitMode::kParseTable
staticprotected
Initial value:

Definition at line 399 of file dtvconfparserhelpers.h.

Referenced by Parse().

◆ kDBStrCnt

const uint DTVTransmitMode::kDBStrCnt = 3
staticprotected

Definition at line 400 of file dtvconfparserhelpers.h.

Referenced by toString().

◆ s_dbStr

const char * DTVTransmitMode::s_dbStr
staticprotected
Initial value:
=
{
"2",
"8",
"a"
}

Definition at line 401 of file dtvconfparserhelpers.h.

Referenced by toString().


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