|
MythTV master
|
#include <libmythtv/channelscan/iptvchannelfetcher.h>
Public Member Functions | |
| IPTVChannelFetcher (uint cardid, QString inputname, uint sourceid, bool is_mpts, ScanMonitor *monitor=nullptr) | |
| ~IPTVChannelFetcher () override | |
| void | Scan (void) |
| Scans the given frequency list. More... | |
| void | Stop (void) |
| Stops the scanning thread running. More... | |
| fbox_chan_map_t | GetChannels (void) |
Static Public Member Functions | |
| static QString | DownloadPlaylist (const QString &url) |
| static MTV_PUBLIC fbox_chan_map_t | ParsePlaylist (const QString &rawdata, IPTVChannelFetcher *fetcher=nullptr) |
Protected Member Functions | |
| void | run (void) override |
Private Member Functions | |
| Q_DECLARE_TR_FUNCTIONS (IPTVChannelFetcher) | |
| void | SetTotalNumChannels (uint val) |
| void | SetNumChannelsParsed (uint val) |
| void | SetNumChannelsInserted (uint val) |
| void | SetMessage (const QString &status) |
Private Attributes | |
| ScanMonitor * | m_scanMonitor {nullptr} |
| uint | m_cardId |
| QString | m_inputName |
| uint | m_sourceId |
| bool | m_isMpts |
| fbox_chan_map_t | m_channels |
| uint | m_chanCnt {1} |
| bool | m_threadRunning {false} |
| bool | m_stopNow {false} |
| MThread * | m_thread {nullptr} |
| QMutex | m_lock |
Definition at line 67 of file iptvchannelfetcher.h.
| IPTVChannelFetcher::IPTVChannelFetcher | ( | uint | cardid, |
| QString | inputname, | ||
| uint | sourceid, | ||
| bool | is_mpts, | ||
| ScanMonitor * | monitor = nullptr |
||
| ) |
Definition at line 36 of file iptvchannelfetcher.cpp.
|
override |
Definition at line 48 of file iptvchannelfetcher.cpp.
|
static |
Definition at line 319 of file iptvchannelfetcher.cpp.
Referenced by run().
| fbox_chan_map_t IPTVChannelFetcher::GetChannels | ( | void | ) |
Definition at line 75 of file iptvchannelfetcher.cpp.
Referenced by ChannelScanner::ImportM3U().
|
static |
Definition at line 376 of file iptvchannelfetcher.cpp.
Referenced by run().
|
private |
|
overrideprotected |
Definition at line 140 of file iptvchannelfetcher.cpp.
| void IPTVChannelFetcher::Scan | ( | void | ) |
Scans the given frequency list.
Definition at line 86 of file iptvchannelfetcher.cpp.
Referenced by ChannelScanner::ImportM3U().
|
private |
Definition at line 312 of file iptvchannelfetcher.cpp.
Referenced by ParsePlaylist().
|
private |
Definition at line 303 of file iptvchannelfetcher.cpp.
Referenced by run().
|
private |
Definition at line 294 of file iptvchannelfetcher.cpp.
Referenced by ParsePlaylist().
|
inlineprivate |
Definition at line 85 of file iptvchannelfetcher.h.
Referenced by ParsePlaylist(), and run().
| void IPTVChannelFetcher::Stop | ( | void | ) |
Stops the scanning thread running.
Definition at line 58 of file iptvchannelfetcher.cpp.
Referenced by Scan(), ChannelScanner::Teardown(), and ~IPTVChannelFetcher().
|
private |
Definition at line 95 of file iptvchannelfetcher.h.
Referenced by run().
|
private |
Definition at line 100 of file iptvchannelfetcher.h.
Referenced by SetNumChannelsInserted(), SetNumChannelsParsed(), and SetTotalNumChannels().
|
private |
Definition at line 99 of file iptvchannelfetcher.h.
Referenced by GetChannels(), and run().
|
private |
Definition at line 96 of file iptvchannelfetcher.h.
|
private |
Definition at line 98 of file iptvchannelfetcher.h.
Referenced by run().
|
private |
Definition at line 104 of file iptvchannelfetcher.h.
|
private |
Definition at line 94 of file iptvchannelfetcher.h.
Referenced by run(), SetMessage(), SetNumChannelsInserted(), and SetNumChannelsParsed().
|
private |
Definition at line 97 of file iptvchannelfetcher.h.
Referenced by ParsePlaylist(), and run().
Definition at line 102 of file iptvchannelfetcher.h.
|
private |
Definition at line 103 of file iptvchannelfetcher.h.
Referenced by GetChannels(), Scan(), Stop(), and ~IPTVChannelFetcher().
Definition at line 101 of file iptvchannelfetcher.h.