|
MythTV master
|
#include <libmythtv/channelscan/channelscanner_web.h>
Public Member Functions | |
| ~ChannelScannerWeb () override=default | |
| void | HandleEvent (const ScannerEvent *scanEvent) override |
| void | ResetStatus () |
| void | setupScan (int CardId) |
| void | stopScan () |
| void | stopMon (void) |
| void | log (const QString &msg) |
| bool | StartScan (uint CardId, const QString &DesiredServices, bool FreeToAirOnly, bool ChannelNumbersOnly, bool CompleteChannelsOnly, bool FullChannelSearch, bool RemoveDuplicates, bool AddFullTS, bool TestDecryptable, const QString &ScanType, const QString &FreqTable, QString Modulation, const QString &FirstChan, const QString &LastChan, uint ScanId, bool IgnoreSignalTimeout, bool FollowNITSetting, uint MplexId, const QString &Frequency, const QString &Bandwidth, const QString &Polarity, const QString &SymbolRate, const QString &Inversion, const QString &Constellation, const QString &ModSys, const QString &CodeRate_LP, const QString &CodeRate_HP, const QString &FEC, const QString &Trans_Mode, const QString &Guard_Interval, const QString &Hierarchy, const QString &RollOff) |
Public Member Functions inherited from ChannelScanner | |
| ChannelScanner ()=default | |
| virtual | ~ChannelScanner () |
| void | Scan (int scantype, uint cardid, const QString &inputname, uint sourceid, bool do_ignore_signal_timeout, bool do_follow_nit, bool do_test_decryption, bool do_fta_only, bool do_lcn_only, bool do_complete_only, bool do_full_channel_search, bool do_remove_duplicates, bool do_add_full_ts, ServiceRequirements service_requirements, uint mplexid, const QMap< QString, QString > &startChan, const QString &freq_std, const QString &mod, const QString &tbl, const QString &tbl_start=QString(), const QString &tbl_end=QString()) |
| virtual DTVConfParser::return_t | ImportDVBUtils (uint sourceid, CardUtil::INPUT_TYPES cardtype, const QString &file) |
| virtual bool | ImportM3U (uint cardid, const QString &inputname, uint sourceid, bool is_mpts) |
| virtual bool | ImportVBox (uint cardid, const QString &inputname, uint sourceid, bool ftaOnly, ServiceRequirements serviceType) |
| virtual bool | ImportExternRecorder (uint cardid, const QString &inputname, uint sourceid) |
| virtual bool | ImportHDHR (uint cardid, const QString &inputname, uint sourceid, ServiceRequirements serviceType) |
Static Public Member Functions | |
| static ChannelScannerWeb * | getInstance () |
Public Attributes | |
| QMutex | m_mutex |
| QWaitCondition | m_waitCondition |
| uint | m_cardid {0} |
| QString | m_status {"IDLE"} |
| bool | m_statusLock {false} |
| uint | m_statusProgress {0} |
| int | m_statusSnr {0} |
| QString | m_statusText |
| QString | m_statusLog |
| QString | m_statusTitleText |
| int | m_statusRotorPosition {0} |
| int | m_statusSignalStrength {0} |
| QString | m_dlgMsg |
| QStringList | m_dlgButtons |
| bool | m_dlgInputReq {false} |
| int | m_dlgButton {-1} |
| QString | m_dlgString |
| bool | m_showSignalLock {false} |
| bool | m_showSignalStrength {false} |
| bool | m_showSignalNoise {false} |
| bool | m_showRotorPos {false} |
| MThread * | m_monitorThread {nullptr} |
Protected Member Functions | |
| void | InformUser (const QString &error) override |
| void | Process (const ScanDTVTransportList &_transports, bool success=false) |
| void | MonitorProgress (bool lock, bool strength, bool snr, bool rotor) override |
Protected Member Functions inherited from ChannelScanner | |
| virtual void | Teardown (void) |
| virtual void | PreScanCommon (int scantype, uint cardid, const QString &inputname, uint sourceid, bool do_ignore_signal_timeout, bool do_test_decryption) |
| virtual void | MonitorProgress (bool, bool, bool, bool) |
| virtual void | HandleEvent (const ScannerEvent *)=0 |
| virtual void | InformUser (const QString &)=0 |
Private Member Functions | |
| ChannelScannerWeb (void)=default | |
Private Attributes | |
| int | m_runType {0} |
| bool | m_onlysavescan {false} |
| bool | m_interactive {false} |
| ScanDTVTransportList | m_transports |
| int | m_scantype {-1} |
| int | m_scanId {0} |
Static Private Attributes | |
| static ChannelScannerWeb * | s_Instance = nullptr |
Additional Inherited Members | |
Protected Attributes inherited from ChannelScanner | |
| ScanMonitor * | m_scanMonitor {nullptr} |
| ChannelBase * | m_channel {nullptr} |
| ChannelScanSM * | m_sigmonScanner {nullptr} |
| IPTVChannelFetcher * | m_iptvScanner {nullptr} |
| DTVChannelList | m_channels |
| imported channels More... | |
| fbox_chan_map_t | m_iptvChannels |
| bool | m_freeToAirOnly {false} |
| Only fta channels desired post scan? More... | |
| bool | m_channelNumbersOnly {false} |
| Only channels with logical channel numbers desired post scan? More... | |
| bool | m_completeOnly {false} |
| Only complete channels desired post scan? More... | |
| bool | m_fullSearch {false} |
| Extended search for old channels post scan? More... | |
| bool | m_removeDuplicates {false} |
| Remove duplicate transports and channels? More... | |
| bool | m_addFullTS {false} |
| Add MPTS "full transport stream" channels. More... | |
| int | m_sourceid {-1} |
| ServiceRequirements | m_serviceRequirements {kRequireAV} |
| Services desired post scan. More... | |
Definition at line 46 of file channelscanner_web.h.
|
privatedefault |
Referenced by getInstance().
|
overridedefault |
|
static |
Definition at line 48 of file channelscanner_web.cpp.
Referenced by ChannelImporter::ChannelImporter(), V2Channel::GetScanStatus(), V2Channel::SendScanDialogResponse(), V2Channel::StartScan(), and V2Channel::StopScan().
|
overridevirtual |
Implements ChannelScanner.
Definition at line 458 of file channelscanner_web.cpp.
|
overrideprotectedvirtual |
Implements ChannelScanner.
Definition at line 580 of file channelscanner_web.cpp.
| void ChannelScannerWeb::log | ( | const QString & | msg | ) |
Definition at line 588 of file channelscanner_web.cpp.
Referenced by ChannelImporter::DeleteChannels(), ChannelImporter::DeleteUnusedTransports(), and HandleEvent().
|
overrideprotectedvirtual |
Reimplemented from ChannelScanner.
Definition at line 603 of file channelscanner_web.cpp.
|
protected |
Definition at line 594 of file channelscanner_web.cpp.
Referenced by HandleEvent().
| void ChannelScannerWeb::ResetStatus | ( | ) |
Definition at line 390 of file channelscanner_web.cpp.
Referenced by setupScan(), and StartScan().
| void ChannelScannerWeb::setupScan | ( | int | CardId | ) |
Definition at line 416 of file channelscanner_web.cpp.
Referenced by StartScan().
| bool ChannelScannerWeb::StartScan | ( | uint | CardId, |
| const QString & | DesiredServices, | ||
| bool | FreeToAirOnly, | ||
| bool | ChannelNumbersOnly, | ||
| bool | CompleteChannelsOnly, | ||
| bool | FullChannelSearch, | ||
| bool | RemoveDuplicates, | ||
| bool | AddFullTS, | ||
| bool | TestDecryptable, | ||
| const QString & | ScanType, | ||
| const QString & | FreqTable, | ||
| QString | Modulation, | ||
| const QString & | FirstChan, | ||
| const QString & | LastChan, | ||
| uint | ScanId, | ||
| bool | IgnoreSignalTimeout, | ||
| bool | FollowNITSetting, | ||
| uint | MplexId, | ||
| const QString & | Frequency, | ||
| const QString & | Bandwidth, | ||
| const QString & | Polarity, | ||
| const QString & | SymbolRate, | ||
| const QString & | Inversion, | ||
| const QString & | Constellation, | ||
| const QString & | ModSys, | ||
| const QString & | CodeRate_LP, | ||
| const QString & | CodeRate_HP, | ||
| const QString & | FEC, | ||
| const QString & | Trans_Mode, | ||
| const QString & | Guard_Interval, | ||
| const QString & | Hierarchy, | ||
| const QString & | RollOff | ||
| ) |
Definition at line 57 of file channelscanner_web.cpp.
Referenced by V2Channel::StartScan().
| void ChannelScannerWeb::stopMon | ( | void | ) |
Definition at line 439 of file channelscanner_web.cpp.
Referenced by HandleEvent(), and setupScan().
| void ChannelScannerWeb::stopScan | ( | ) |
Definition at line 429 of file channelscanner_web.cpp.
Referenced by V2Channel::StopScan().
| uint ChannelScannerWeb::m_cardid {0} |
Definition at line 111 of file channelscanner_web.h.
Referenced by V2Channel::GetScanStatus(), HandleEvent(), ResetStatus(), V2Channel::SendScanDialogResponse(), setupScan(), StartScan(), and V2Channel::StopScan().
| int ChannelScannerWeb::m_dlgButton {-1} |
Definition at line 126 of file channelscanner_web.h.
Referenced by ChannelImporter::QueryUserDelete(), ChannelImporter::QueryUserInsert(), ChannelImporter::QueryUserUpdate(), ResetStatus(), V2Channel::SendScanDialogResponse(), ChannelImporter::ShowManualChannelPopup(), and ChannelImporter::ShowResolveChannelPopup().
| QStringList ChannelScannerWeb::m_dlgButtons |
Definition at line 124 of file channelscanner_web.h.
Referenced by V2Channel::GetScanStatus(), ChannelImporter::QueryUserDelete(), ChannelImporter::QueryUserInsert(), ChannelImporter::QueryUserUpdate(), ResetStatus(), V2Channel::SendScanDialogResponse(), ChannelImporter::ShowManualChannelPopup(), and ChannelImporter::ShowResolveChannelPopup().
Definition at line 125 of file channelscanner_web.h.
Referenced by V2Channel::GetScanStatus(), ResetStatus(), V2Channel::SendScanDialogResponse(), ChannelImporter::ShowManualChannelPopup(), and ChannelImporter::ShowResolveChannelPopup().
| QString ChannelScannerWeb::m_dlgMsg |
Definition at line 123 of file channelscanner_web.h.
Referenced by V2Channel::GetScanStatus(), InformUser(), ChannelImporter::Process(), ChannelImporter::QueryUserDelete(), ChannelImporter::QueryUserInsert(), ChannelImporter::QueryUserUpdate(), ResetStatus(), V2Channel::SendScanDialogResponse(), ChannelImporter::ShowManualChannelPopup(), ChannelImporter::ShowResolveChannelPopup(), and StartScan().
| QString ChannelScannerWeb::m_dlgString |
Definition at line 127 of file channelscanner_web.h.
Referenced by ResetStatus(), V2Channel::SendScanDialogResponse(), ChannelImporter::ShowManualChannelPopup(), and ChannelImporter::ShowResolveChannelPopup().
Definition at line 103 of file channelscanner_web.h.
Referenced by ResetStatus().
| MThread* ChannelScannerWeb::m_monitorThread {nullptr} |
Definition at line 135 of file channelscanner_web.h.
Referenced by setupScan(), and stopMon().
| QMutex ChannelScannerWeb::m_mutex |
Definition at line 109 of file channelscanner_web.h.
Referenced by ChannelImporter::QueryUserDelete(), ChannelImporter::QueryUserInsert(), ChannelImporter::QueryUserUpdate(), ChannelImporter::ShowManualChannelPopup(), and ChannelImporter::ShowResolveChannelPopup().
Definition at line 102 of file channelscanner_web.h.
Referenced by ResetStatus().
|
private |
Definition at line 101 of file channelscanner_web.h.
Referenced by ResetStatus().
|
private |
Definition at line 106 of file channelscanner_web.h.
Referenced by HandleEvent(), and StartScan().
|
private |
Definition at line 105 of file channelscanner_web.h.
Referenced by HandleEvent(), and StartScan().
Definition at line 133 of file channelscanner_web.h.
Referenced by MonitorProgress(), and ResetStatus().
Definition at line 130 of file channelscanner_web.h.
Referenced by MonitorProgress(), and ResetStatus().
Definition at line 132 of file channelscanner_web.h.
Referenced by MonitorProgress(), and ResetStatus().
Definition at line 131 of file channelscanner_web.h.
Referenced by MonitorProgress(), and ResetStatus().
| QString ChannelScannerWeb::m_status {"IDLE"} |
Definition at line 114 of file channelscanner_web.h.
Referenced by V2Channel::GetScanStatus(), HandleEvent(), ResetStatus(), setupScan(), V2Channel::StartScan(), and V2Channel::StopScan().
Definition at line 115 of file channelscanner_web.h.
Referenced by V2Channel::GetScanStatus(), HandleEvent(), and ResetStatus().
| QString ChannelScannerWeb::m_statusLog |
Definition at line 119 of file channelscanner_web.h.
Referenced by V2Channel::GetScanStatus(), InformUser(), log(), and ResetStatus().
| uint ChannelScannerWeb::m_statusProgress {0} |
Definition at line 116 of file channelscanner_web.h.
Referenced by V2Channel::GetScanStatus(), HandleEvent(), and ResetStatus().
| int ChannelScannerWeb::m_statusRotorPosition {0} |
Definition at line 121 of file channelscanner_web.h.
Referenced by HandleEvent(), and ResetStatus().
| int ChannelScannerWeb::m_statusSignalStrength {0} |
Definition at line 122 of file channelscanner_web.h.
Referenced by V2Channel::GetScanStatus(), HandleEvent(), and ResetStatus().
| int ChannelScannerWeb::m_statusSnr {0} |
Definition at line 117 of file channelscanner_web.h.
Referenced by V2Channel::GetScanStatus(), HandleEvent(), and ResetStatus().
| QString ChannelScannerWeb::m_statusText |
Definition at line 118 of file channelscanner_web.h.
Referenced by V2Channel::GetScanStatus(), HandleEvent(), and ResetStatus().
| QString ChannelScannerWeb::m_statusTitleText |
Definition at line 120 of file channelscanner_web.h.
Referenced by V2Channel::GetScanStatus(), HandleEvent(), and ResetStatus().
|
private |
Definition at line 104 of file channelscanner_web.h.
Referenced by HandleEvent().
| QWaitCondition ChannelScannerWeb::m_waitCondition |
Definition at line 110 of file channelscanner_web.h.
Referenced by ChannelImporter::QueryUserDelete(), ChannelImporter::QueryUserInsert(), ChannelImporter::QueryUserUpdate(), V2Channel::SendScanDialogResponse(), ChannelImporter::ShowManualChannelPopup(), and ChannelImporter::ShowResolveChannelPopup().
|
staticprivate |
Definition at line 100 of file channelscanner_web.h.
Referenced by getInstance().