MythTV  0.26-pre
Public Member Functions | Protected Member Functions | Protected Attributes | Friends
ChannelScanner Class Reference

#include <channelscanner.h>

Inheritance diagram for ChannelScanner:
ChannelScannerCLI ChannelScannerGUI

List of all members.

Public Member Functions

 ChannelScanner ()
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, 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::null, const QString &tbl_end=QString::null)
virtual DTVConfParser::return_t ImportDVBUtils (uint sourceid, int cardtype, const QString &file)
virtual bool ImportM3U (uint cardid, const QString &inputname, uint sourceid)

Protected Member Functions

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

Protected Attributes

ScanMonitorscanMonitor
ChannelBasechannel
ChannelScanSMsigmonScanner
IPTVChannelFetcherfreeboxScanner
DTVChannelList channels
 imported channels
bool freeToAirOnly
 Only fta channels desired post scan?
ServiceRequirements serviceRequirements
 Services desired post scan.

Friends

class ScanMonitor

Detailed Description

Definition at line 48 of file channelscanner.h.


Constructor & Destructor Documentation

Definition at line 48 of file channelscanner.cpp.

Definition at line 54 of file channelscanner.cpp.


Member Function Documentation

void ChannelScanner::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,
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::null,
const QString &  tbl_end = QString::null 
)

Definition at line 97 of file channelscanner.cpp.

Referenced by main(), and ScanWizard::SetPage().

DTVConfParser::return_t ChannelScanner::ImportDVBUtils ( uint  sourceid,
int  cardtype,
const QString &  file 
) [virtual]

Definition at line 238 of file channelscanner.cpp.

Referenced by ScanWizard::SetPage().

bool ChannelScanner::ImportM3U ( uint  cardid,
const QString &  inputname,
uint  sourceid 
) [virtual]

Definition at line 277 of file channelscanner.cpp.

Referenced by ScanWizard::SetPage().

void ChannelScanner::Teardown ( void  ) [protected, virtual]
void ChannelScanner::PreScanCommon ( int  scantype,
uint  cardid,
const QString &  inputname,
uint  sourceid,
bool  do_ignore_signal_timeout,
bool  do_test_decryption 
) [protected, virtual]

Definition at line 301 of file channelscanner.cpp.

Referenced by Scan().

virtual void ChannelScanner::MonitorProgress ( bool  ,
bool  ,
bool  ,
bool   
) [inline, protected, virtual]

Reimplemented in ChannelScannerGUI, and ChannelScannerCLI.

Definition at line 89 of file channelscanner.h.

Referenced by ImportM3U(), and PreScanCommon().

virtual void ChannelScanner::HandleEvent ( const ScannerEvent ) [protected, pure virtual]

Implemented in ChannelScannerGUI, and ChannelScannerCLI.

Referenced by ScanMonitor::customEvent().

virtual void ChannelScanner::InformUser ( const QString &  ) [protected, pure virtual]

Friends And Related Function Documentation

friend class ScanMonitor [friend]

Definition at line 50 of file channelscanner.h.

Referenced by PreScanCommon().


Member Data Documentation

Definition at line 101 of file channelscanner.h.

Referenced by ImportM3U(), and Teardown().

imported channels

Definition at line 104 of file channelscanner.h.

Referenced by ImportDVBUtils(), and Scan().

Only fta channels desired post scan?

Definition at line 107 of file channelscanner.h.

Referenced by ChannelScannerCLI::Process(), ChannelScannerGUI::Process(), and Scan().

Services desired post scan.

Definition at line 110 of file channelscanner.h.

Referenced by ChannelScannerCLI::Process(), ChannelScannerGUI::Process(), and Scan().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends