MythTV
master
|
Class used for doing a list of frequencies / transports. More...
#include <libmythtv/frequencytables.h>
Public Member Functions | |
TransportScanItem () | |
TransportScanItem (uint _sourceid, const QString &_si_std, QString _name, uint _mplexid, std::chrono::milliseconds _timeoutTune) | |
TransportScanItem (uint _sourceid, QString _name, const DTVMultiplex &_tuning, std::chrono::milliseconds _timeoutTune) | |
TransportScanItem (uint _sourceid, QString _name, DTVTunerType _tuner_type, const DTVTransport &_tuning, std::chrono::milliseconds _timeoutTune) | |
TransportScanItem (uint _sourceid, const QString &_si_std, QString strFmt, uint freqNum, uint frequency, const FrequencyTable &ft, std::chrono::milliseconds _timeoutTune) | |
TransportScanItem (uint _sourceid, QString _name, IPTVTuningData _tuning, QString _channel, std::chrono::milliseconds _timeoutTune) | |
uint | offset_cnt () const |
uint64_t | freq_offset (uint i) const |
QString | toString () const |
Public Attributes | |
uint | m_mplexid {UINT_MAX} |
QString | m_friendlyName |
uint | m_friendlyNum {0} |
int | m_sourceID {0} |
bool | m_useTimer {false} |
bool | m_scanning {false} |
std::array< int, 3 > | m_freqOffsets {0,0,0} |
std::chrono::milliseconds | m_timeoutTune {1s} |
Timeout to tune to a frequency. More... | |
DTVMultiplex | m_tuning |
IPTVTuningData | m_iptvTuning |
QString | m_iptvChannel |
DTVChannelInfoList | m_expectedChannels |
uint | m_networkID {0} |
uint | m_transportID {0} |
int | m_signalStrength {0} |
Private Member Functions | |
uint | GetMultiplexIdFromDB (void) const |
Fetches mplexid if it exists, based on the frequency and sourceid. More... | |
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 127 of file frequencytables.h.
TransportScanItem::TransportScanItem | ( | ) |
Definition at line 19 of file frequencytables.cpp.
TransportScanItem::TransportScanItem | ( | uint | _sourceid, |
const QString & | _si_std, | ||
QString | _name, | ||
uint | _mplexid, | ||
std::chrono::milliseconds | _timeoutTune | ||
) |
Definition at line 24 of file frequencytables.cpp.
TransportScanItem::TransportScanItem | ( | uint | _sourceid, |
QString | _name, | ||
const DTVMultiplex & | _tuning, | ||
std::chrono::milliseconds | _timeoutTune | ||
) |
Definition at line 43 of file frequencytables.cpp.
TransportScanItem::TransportScanItem | ( | uint | _sourceid, |
QString | _name, | ||
DTVTunerType | _tuner_type, | ||
const DTVTransport & | _tuning, | ||
std::chrono::milliseconds | _timeoutTune | ||
) |
Definition at line 55 of file frequencytables.cpp.
TransportScanItem::TransportScanItem | ( | uint | _sourceid, |
const QString & | _si_std, | ||
QString | strFmt, | ||
uint | freqNum, | ||
uint | frequency, | ||
const FrequencyTable & | ft, | ||
std::chrono::milliseconds | _timeoutTune | ||
) |
Definition at line 80 of file frequencytables.cpp.
TransportScanItem::TransportScanItem | ( | uint | _sourceid, |
QString | _name, | ||
IPTVTuningData | _tuning, | ||
QString | _channel, | ||
std::chrono::milliseconds | _timeoutTune | ||
) |
Definition at line 129 of file frequencytables.cpp.
|
inline |
Definition at line 162 of file frequencytables.h.
Referenced by GetMultiplexIdFromDB().
uint64_t TransportScanItem::freq_offset | ( | uint | i | ) | const |
Definition at line 157 of file frequencytables.cpp.
Referenced by GetMultiplexIdFromDB(), ChannelScanSM::ScanTransport(), ChannelScanSM::Tune(), and ChannelScanSM::UpdateChannelInfo().
QString TransportScanItem::toString | ( | ) | const |
Definition at line 164 of file frequencytables.cpp.
Referenced by ChannelScanSM::ScanForChannels(), ChannelScanSM::ScanIPTVChannels(), and ChannelScanSM::ScanTransports().
|
private |
Fetches mplexid if it exists, based on the frequency and sourceid.
Definition at line 147 of file frequencytables.cpp.
uint TransportScanItem::m_mplexid {UINT_MAX} |
Definition at line 179 of file frequencytables.h.
Referenced by ChannelScanSM::ScanTransport(), toString(), and ChannelScanSM::Tune().
QString TransportScanItem::m_friendlyName |
Definition at line 181 of file frequencytables.h.
Referenced by ChannelScanSM::ScanTransport(), and toString().
uint TransportScanItem::m_friendlyNum {0} |
Definition at line 182 of file frequencytables.h.
Referenced by toString().
int TransportScanItem::m_sourceID {0} |
Definition at line 183 of file frequencytables.h.
Referenced by GetMultiplexIdFromDB(), and toString().
Definition at line 184 of file frequencytables.h.
Referenced by toString().
Definition at line 186 of file frequencytables.h.
Referenced by toString().
std::array<int,3> TransportScanItem::m_freqOffsets {0,0,0} |
Definition at line 187 of file frequencytables.h.
Referenced by freq_offset(), offset_cnt(), toString(), and TransportScanItem().
std::chrono::milliseconds TransportScanItem::m_timeoutTune {1s} |
Timeout to tune to a frequency.
Definition at line 188 of file frequencytables.h.
Referenced by toString().
DTVMultiplex TransportScanItem::m_tuning |
Definition at line 190 of file frequencytables.h.
Referenced by ChannelScanSM::AddToList(), freq_offset(), ChannelScanSM::HandleActiveScan(), ChannelScanSM::ScanTransport(), toString(), TransportScanItem(), ChannelScanSM::Tune(), and ChannelScanSM::UpdateChannelInfo().
IPTVTuningData TransportScanItem::m_iptvTuning |
Definition at line 191 of file frequencytables.h.
Referenced by toString(), and ChannelScanSM::Tune().
QString TransportScanItem::m_iptvChannel |
Definition at line 192 of file frequencytables.h.
Referenced by toString().
DTVChannelInfoList TransportScanItem::m_expectedChannels |
Definition at line 194 of file frequencytables.h.
uint TransportScanItem::m_networkID {0} |
Definition at line 196 of file frequencytables.h.
Referenced by ChannelScanSM::UpdateChannelInfo().
uint TransportScanItem::m_transportID {0} |
Definition at line 197 of file frequencytables.h.
Referenced by ChannelScanSM::UpdateChannelInfo().
int TransportScanItem::m_signalStrength {0} |
Definition at line 198 of file frequencytables.h.
Referenced by ChannelScanSM::UpdateChannelInfo().