|
MythTV
0.26-pre
|
#include <iptvchannelfetcher.h>
Public Member Functions | |
| IPTVChannelFetcher (uint cardid, const QString &inputname, uint sourceid, ScanMonitor *monitor=NULL) | |
| ~IPTVChannelFetcher () | |
| bool | Scan (void) |
| Scans the given frequency list, blocking call. | |
| void | Stop (void) |
| Stops the scanning thread running. | |
Static Public Member Functions | |
| static QString | DownloadPlaylist (const QString &url, bool inQtThread) |
| static fbox_chan_map_t | ParsePlaylist (const QString &rawdata, IPTVChannelFetcher *fetcher=NULL) |
Protected Member Functions | |
| virtual void | run (void) |
Private Member Functions | |
| void | SetTotalNumChannels (uint val) |
| void | SetNumChannelsParsed (uint) |
| void | SetNumChannelsInserted (uint) |
| void | SetMessage (const QString &status) |
Private Attributes | |
| ScanMonitor * | _scan_monitor |
| uint | _cardid |
| QString | _inputname |
| uint | _sourceid |
| uint | _chan_cnt |
| bool | _thread_running |
| bool | _stop_now |
| MThread * | _thread |
| QMutex | _lock |
Definition at line 16 of file iptvchannelfetcher.h.
| IPTVChannelFetcher::IPTVChannelFetcher | ( | uint | cardid, |
| const QString & | inputname, | ||
| uint | sourceid, | ||
| ScanMonitor * | monitor = NULL |
||
| ) |
Definition at line 31 of file iptvchannelfetcher.cpp.
Definition at line 44 of file iptvchannelfetcher.cpp.
Scans the given frequency list, blocking call.
Definition at line 74 of file iptvchannelfetcher.cpp.
Referenced by ChannelScanner::ImportM3U().
Stops the scanning thread running.
Definition at line 54 of file iptvchannelfetcher.cpp.
Referenced by Scan(), ChannelScanner::Teardown(), and ~IPTVChannelFetcher().
| QString IPTVChannelFetcher::DownloadPlaylist | ( | const QString & | url, |
| bool | inQtThread | ||
| ) | [static] |
Definition at line 210 of file iptvchannelfetcher.cpp.
Referenced by IPTVChannel::Open(), and run().
| fbox_chan_map_t IPTVChannelFetcher::ParsePlaylist | ( | const QString & | rawdata, |
| IPTVChannelFetcher * | fetcher = NULL |
||
| ) | [static] |
Definition at line 267 of file iptvchannelfetcher.cpp.
Referenced by IPTVChannel::Open(), and run().
| void IPTVChannelFetcher::SetTotalNumChannels | ( | uint | val | ) | [inline, private] |
Definition at line 31 of file iptvchannelfetcher.h.
Referenced by ParsePlaylist(), and run().
| void IPTVChannelFetcher::SetNumChannelsParsed | ( | uint | val | ) | [private] |
Definition at line 188 of file iptvchannelfetcher.cpp.
Referenced by ParsePlaylist().
| void IPTVChannelFetcher::SetNumChannelsInserted | ( | uint | val | ) | [private] |
Definition at line 196 of file iptvchannelfetcher.cpp.
Referenced by run().
| void IPTVChannelFetcher::SetMessage | ( | const QString & | status | ) | [private] |
Definition at line 204 of file iptvchannelfetcher.cpp.
Referenced by ParsePlaylist().
| void IPTVChannelFetcher::run | ( | void | ) | [protected, virtual] |
Definition at line 93 of file iptvchannelfetcher.cpp.
ScanMonitor* IPTVChannelFetcher::_scan_monitor [private] |
Definition at line 40 of file iptvchannelfetcher.h.
Referenced by run(), SetMessage(), SetNumChannelsInserted(), and SetNumChannelsParsed().
uint IPTVChannelFetcher::_cardid [private] |
Definition at line 41 of file iptvchannelfetcher.h.
Referenced by run().
QString IPTVChannelFetcher::_inputname [private] |
Definition at line 42 of file iptvchannelfetcher.h.
Referenced by IPTVChannelFetcher().
uint IPTVChannelFetcher::_sourceid [private] |
Definition at line 43 of file iptvchannelfetcher.h.
Referenced by run().
uint IPTVChannelFetcher::_chan_cnt [private] |
Definition at line 44 of file iptvchannelfetcher.h.
Referenced by SetNumChannelsInserted(), SetNumChannelsParsed(), and SetTotalNumChannels().
bool IPTVChannelFetcher::_thread_running [private] |
Definition at line 45 of file iptvchannelfetcher.h.
bool IPTVChannelFetcher::_stop_now [private] |
Definition at line 46 of file iptvchannelfetcher.h.
MThread* IPTVChannelFetcher::_thread [private] |
Definition at line 47 of file iptvchannelfetcher.h.
Referenced by Scan(), Stop(), and ~IPTVChannelFetcher().
QMutex IPTVChannelFetcher::_lock [private] |
Definition at line 48 of file iptvchannelfetcher.h.
1.7.6.1