MythTV  master
Public Member Functions | Public Attributes | Private Member Functions | List of all members
TransportScanItem Class Reference

Class used for doing a list of frequencies / transports. More...

#include <frequencytables.h>

Collaboration diagram for TransportScanItem:
Collaboration graph
[legend]

Public Member Functions

 TransportScanItem ()
 
 TransportScanItem (uint _sourceid, const QString &_si_std, const QString &_name, uint _mplexid, uint _timeoutTune)
 
 TransportScanItem (uint _sourceid, const QString &_name, DTVMultiplex &_tuning, uint _timeoutTune)
 
 TransportScanItem (uint _sourceid, const QString &_name, DTVTunerType _tuner_type, const DTVTransport &_tuning, uint _timeoutTune)
 
 TransportScanItem (uint _sourceid, const QString &_si_std, const QString &strFmt, uint freqNum, uint frequency, const FrequencyTable &, uint _timeoutTune)
 
 TransportScanItem (uint _sourceid, const QString &_name, const IPTVTuningData &_tuning, const QString &_channel, uint _timeoutTune)
 
uint offset_cnt () const
 
uint64_t freq_offset (uint i) const
 
QString toString () const
 

Public Attributes

uint m_mplexid {(uint)-1}
 DB Mplexid. More...
 
QString m_friendlyName
 Name to display in scanner dialog. More...
 
uint m_friendlyNum {0}
 Frequency number (freqid w/freq table) More...
 
int m_sourceID {0}
 Associated SourceID. More...
 
bool m_useTimer {false}
 Set if timer is used after lock for getting PAT. More...
 
bool m_scanning {false}
 Probbably Unnecessary. More...
 
int m_freqOffsets [3]
 Frequency offsets. More...
 
unsigned m_timeoutTune {1000}
 Timeout to tune to a frequency. More...
 
DTVMultiplex m_tuning
 Tuning info. More...
 
IPTVTuningData m_iptvTuning
 IPTV Tuning info. More...
 
QString m_iptvChannel
 IPTV base channel. More...
 
DTVChannelInfoList m_expectedChannels
 

Private Member Functions

uint GetMultiplexIdFromDB (void) const
 Fetches mplexid if it exists, based on the frequency and sourceid. More...
 

Detailed Description

Class used for doing a list of frequencies / transports.

This is used for ATSC/NA Digital Cable and also scan all transports.

Definition at line 124 of file frequencytables.h.

Constructor & Destructor Documentation

◆ TransportScanItem() [1/6]

TransportScanItem::TransportScanItem ( )

Definition at line 16 of file frequencytables.cpp.

◆ TransportScanItem() [2/6]

TransportScanItem::TransportScanItem ( uint  _sourceid,
const QString &  _si_std,
const QString &  _name,
uint  _mplexid,
uint  _timeoutTune 
)

Definition at line 23 of file frequencytables.cpp.

◆ TransportScanItem() [3/6]

TransportScanItem::TransportScanItem ( uint  _sourceid,
const QString &  _name,
DTVMultiplex _tuning,
uint  _timeoutTune 
)

Definition at line 44 of file frequencytables.cpp.

◆ TransportScanItem() [4/6]

TransportScanItem::TransportScanItem ( uint  _sourceid,
const QString &  _name,
DTVTunerType  _tuner_type,
const DTVTransport _tuning,
uint  _timeoutTune 
)

Definition at line 57 of file frequencytables.cpp.

◆ TransportScanItem() [5/6]

TransportScanItem::TransportScanItem ( uint  _sourceid,
const QString &  _si_std,
const QString &  strFmt,
uint  freqNum,
uint  frequency,
const FrequencyTable ft,
uint  _timeoutTune 
)

Definition at line 84 of file frequencytables.cpp.

◆ TransportScanItem() [6/6]

TransportScanItem::TransportScanItem ( uint  _sourceid,
const QString &  _name,
const IPTVTuningData _tuning,
const QString &  _channel,
uint  _timeoutTune 
)

Definition at line 134 of file frequencytables.cpp.

Member Function Documentation

◆ offset_cnt()

uint TransportScanItem::offset_cnt ( ) const
inline

Definition at line 159 of file frequencytables.h.

Referenced by GetMultiplexIdFromDB().

◆ freq_offset()

uint64_t TransportScanItem::freq_offset ( uint  i) const

◆ toString()

QString TransportScanItem::toString ( void  ) const

◆ GetMultiplexIdFromDB()

uint TransportScanItem::GetMultiplexIdFromDB ( void  ) const
private

Fetches mplexid if it exists, based on the frequency and sourceid.

Definition at line 153 of file frequencytables.cpp.

Referenced by TransportScanItem().

Member Data Documentation

◆ m_mplexid

uint TransportScanItem::m_mplexid {(uint)-1}

DB Mplexid.

Definition at line 170 of file frequencytables.h.

Referenced by ChannelScanSM::ScanTransport(), toString(), TransportScanItem(), and ChannelScanSM::Tune().

◆ m_friendlyName

QString TransportScanItem::m_friendlyName

Name to display in scanner dialog.

Definition at line 172 of file frequencytables.h.

Referenced by ChannelScanSM::ScanTransport(), and toString().

◆ m_friendlyNum

uint TransportScanItem::m_friendlyNum {0}

Frequency number (freqid w/freq table)

Definition at line 173 of file frequencytables.h.

Referenced by toString().

◆ m_sourceID

int TransportScanItem::m_sourceID {0}

Associated SourceID.

Definition at line 174 of file frequencytables.h.

Referenced by GetMultiplexIdFromDB(), and toString().

◆ m_useTimer

bool TransportScanItem::m_useTimer {false}

Set if timer is used after lock for getting PAT.

Definition at line 175 of file frequencytables.h.

Referenced by toString().

◆ m_scanning

bool TransportScanItem::m_scanning {false}

Probbably Unnecessary.

Definition at line 178 of file frequencytables.h.

Referenced by toString().

◆ m_freqOffsets

int TransportScanItem::m_freqOffsets[3]

Frequency offsets.

Definition at line 179 of file frequencytables.h.

Referenced by freq_offset(), toString(), and TransportScanItem().

◆ m_timeoutTune

unsigned TransportScanItem::m_timeoutTune {1000}

Timeout to tune to a frequency.

Definition at line 180 of file frequencytables.h.

Referenced by toString().

◆ m_tuning

DTVMultiplex TransportScanItem::m_tuning

◆ m_iptvTuning

IPTVTuningData TransportScanItem::m_iptvTuning

IPTV Tuning info.

Definition at line 183 of file frequencytables.h.

Referenced by toString(), and ChannelScanSM::Tune().

◆ m_iptvChannel

QString TransportScanItem::m_iptvChannel

IPTV base channel.

Definition at line 184 of file frequencytables.h.

Referenced by toString().

◆ m_expectedChannels

DTVChannelInfoList TransportScanItem::m_expectedChannels

Definition at line 186 of file frequencytables.h.

Referenced by TransportScanItem().


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