Go to the documentation of this file.
3 #ifndef FREQUENCY_TABLE_H
4 #define FREQUENCY_TABLE_H
30 const QString &format,
const QString &modulation,
const QString &country);
33 const QString& format,
const QString& modulation,
const QString& country,
int freqid);
36 const QString& format, QString modulation,
const QString& country,
long long centerfreq);
44 uint64_t _frequencyStart,
45 uint64_t _frequencyEnd,
46 uint64_t _frequencyStep,
54 uint64_t _frequencyEnd,
55 uint64_t _frequencyStep,
80 uint64_t _frequencyEnd,
81 uint64_t _frequencyStep,
132 const QString &_si_std,
135 std::chrono::milliseconds _timeoutTune);
140 std::chrono::milliseconds _timeoutTune);
146 std::chrono::milliseconds _timeoutTune);
149 const QString &_si_std,
154 std::chrono::milliseconds _timeoutTune);
160 std::chrono::milliseconds _timeoutTune);
224 m_offset = (*m_it).offset_cnt() - 1;
250 {
for (
int i = 0; i < incr; i++) ++(*
this);
return *
this; }
252 {
for (
int i = 0; i < incr; i++) --(*
this);
return *
this; }
258 std::list<TransportScanItem>::iterator
iter() {
return m_it; }
259 std::list<TransportScanItem>::const_iterator
iter()
const {
return m_it; }
263 std::list<TransportScanItem>::iterator
tmp =
m_it;
268 std::list<TransportScanItem>::iterator
m_it;
277 std::list<TransportScanItem>::iterator B);
293 const std::list<TransportScanItem>::iterator B)
300 #endif // FREQUENCY_TABLE_H
const TransportScanItem & operator*() const
DTVTransmitMode m_transMode
DTVModulation m_constellation
TransportScanItem & operator*()
transport_scan_items_it_t(const std::list< TransportScanItem >::iterator it)
FrequencyTable(QString _name_format, int _name_offset, uint64_t _frequencyStart, uint64_t _frequencyEnd, uint64_t _frequencyStep, DTVModulation::Types _modulation)
std::list< TransportScanItem >::iterator m_it
std::vector< const FrequencyTable * > freq_table_list_t
DTVModulation m_modulation
virtual ~FrequencyTable()
IPTVTuningData m_iptvTuning
const transport_scan_items_it_t operator++(int)
const transport_scan_items_it_t operator--(int)
bool operator==(const transport_scan_items_it_t A, const transport_scan_items_it_t B)
transport_scan_items_it_t & operator--()
transport_scan_items_it_t & operator-=(int incr)
Class used for doing a list of frequencies / transports.
std::list< TransportScanItem >::iterator iter()
bool operator!=(const transport_scan_items_it_t A, const transport_scan_items_it_t B)
std::vector< DTVChannelInfo > DTVChannelInfoList
bool teardown_frequency_tables(void)
transport_scan_items_it_t & operator++()
uint GetMultiplexIdFromDB(void) const
Fetches mplexid if it exists, based on the frequency and sourceid.
MTV_PUBLIC freq_table_list_t get_matching_freq_tables(const QString &format, const QString &modulation, const QString &country)
friend bool operator==(transport_scan_items_it_t A, transport_scan_items_it_t B)
std::array< int, 3 > m_freqOffsets
transport_scan_items_it_t()=default
QMap< QString, const FrequencyTable * > freq_table_map_t
MTV_PUBLIC int get_closest_freqid(const QString &format, QString modulation, const QString &country, long long centerfreq)
DTVChannelInfoList m_expectedChannels
uint64_t freq_offset(uint i) const
MTV_PUBLIC long long get_center_frequency(const QString &format, const QString &modulation, const QString &country, int freqid)
DTVGuardInterval m_guardInterval
std::chrono::milliseconds m_timeoutTune
Timeout to tune to a frequency.
FrequencyTable(uint64_t _frequencyStart, uint64_t _frequencyEnd, uint64_t _frequencyStep, QString _name_format, int _name_offset, DTVCodeRate::Types _fec_inner, DTVModulation::Types _modulation, uint _symbol_rate, int _offset1, int _offset2)
friend bool operator!=(transport_scan_items_it_t A, transport_scan_items_it_t B)
FrequencyTable(uint64_t _frequencyStart, uint64_t _frequencyEnd, uint64_t _frequencyStep, QString _name_format, int _name_offset, DTVInversion::Types _inversion, DTVBandwidth::Types _bandwidth, DTVCodeRate::Types _coderate_hp, DTVCodeRate::Types _coderate_lp, DTVModulation::Types _constellation, DTVTransmitMode::Types _trans_mode, DTVGuardInterval::Types _guard_interval, DTVHierarchy::Types _hierarchy, DTVModulation::Types _modulation, int _offset1, int _offset2)
std::list< TransportScanItem >::const_iterator iter() const
transport_scan_items_it_t & operator+=(int incr)
uint64_t m_frequencyStart
std::list< TransportScanItem > transport_scan_items_t
transport_scan_items_it_t nextTransport() const