MythTV  master
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
ChannelScanner Class Referenceabstract

#include <channelscanner.h>

Inheritance diagram for ChannelScanner:
Inheritance graph
[legend]
Collaboration diagram for ChannelScanner:
Collaboration graph
[legend]

Public Member Functions

 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_search, 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, int 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)
 

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

ScanMonitorm_scanMonitor {nullptr}
 
ChannelBasem_channel {nullptr}
 
ChannelScanSMm_sigmonScanner {nullptr}
 
IPTVChannelFetcherm_iptvScanner {nullptr}
 
DTVChannelList m_channels
 imported channels More...
 
fbox_chan_map_t m_iptv_channels
 
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_addFullTS {false}
 Add MPTS "full transport stream" channels. More...
 
int m_sourceid {-1}
 
ServiceRequirements m_serviceRequirements {kRequireAV}
 Services desired post scan. More...
 

Friends

class ScanMonitor
 

Detailed Description

Definition at line 61 of file channelscanner.h.

Constructor & Destructor Documentation

◆ ChannelScanner()

ChannelScanner::ChannelScanner ( )
default

◆ ~ChannelScanner()

ChannelScanner::~ChannelScanner ( )
virtual

Definition at line 52 of file channelscanner.cpp.

Member Function Documentation

◆ Scan()

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,
bool  do_lcn_only,
bool  do_complete_only,
bool  do_full_search,
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() 
)

Definition at line 111 of file channelscanner.cpp.

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

◆ ImportDVBUtils()

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

Definition at line 289 of file channelscanner.cpp.

Referenced by ScanWizard::Scan().

◆ ImportM3U()

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

Definition at line 330 of file channelscanner.cpp.

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

◆ ImportVBox()

bool ChannelScanner::ImportVBox ( uint  cardid,
const QString &  inputname,
uint  sourceid,
bool  ftaOnly,
ServiceRequirements  serviceType 
)
virtual

Definition at line 354 of file channelscanner.cpp.

Referenced by ScanWizard::Scan().

◆ ImportExternRecorder()

bool ChannelScanner::ImportExternRecorder ( uint  cardid,
const QString &  inputname,
uint  sourceid 
)
virtual

Definition at line 377 of file channelscanner.cpp.

Referenced by ScanWizard::Scan().

◆ Teardown()

void ChannelScanner::Teardown ( void  )
protectedvirtual

Definition at line 63 of file channelscanner.cpp.

Referenced by ChannelScannerGUI::deleteLater(), and ~ChannelScanner().

◆ PreScanCommon()

void ChannelScanner::PreScanCommon ( int  scantype,
uint  cardid,
const QString &  inputname,
uint  sourceid,
bool  do_ignore_signal_timeout,
bool  do_test_decryption 
)
protectedvirtual

Definition at line 404 of file channelscanner.cpp.

◆ MonitorProgress()

virtual void ChannelScanner::MonitorProgress ( bool  ,
bool  ,
bool  ,
bool   
)
inlineprotectedvirtual

Reimplemented in ChannelScannerGUI, and ChannelScannerCLI.

Definition at line 112 of file channelscanner.h.

◆ HandleEvent()

virtual void ChannelScanner::HandleEvent ( const ScannerEvent )
protectedpure virtual

Implemented in ChannelScannerGUI, and ChannelScannerCLI.

Referenced by ScanMonitor::customEvent().

◆ InformUser()

virtual void ChannelScanner::InformUser ( const QString &  )
protectedpure virtual

Implemented in ChannelScannerGUI, and ChannelScannerCLI.

Friends And Related Function Documentation

◆ ScanMonitor

friend class ScanMonitor
friend

Definition at line 65 of file channelscanner.h.

Member Data Documentation

◆ m_scanMonitor

ScanMonitor* ChannelScanner::m_scanMonitor {nullptr}
protected

Definition at line 119 of file channelscanner.h.

◆ m_channel

ChannelBase* ChannelScanner::m_channel {nullptr}
protected

Definition at line 120 of file channelscanner.h.

◆ m_sigmonScanner

ChannelScanSM* ChannelScanner::m_sigmonScanner {nullptr}
protected

Definition at line 123 of file channelscanner.h.

◆ m_iptvScanner

IPTVChannelFetcher* ChannelScanner::m_iptvScanner {nullptr}
protected

Definition at line 124 of file channelscanner.h.

◆ m_channels

DTVChannelList ChannelScanner::m_channels
protected

imported channels

Definition at line 127 of file channelscanner.h.

◆ m_iptv_channels

fbox_chan_map_t ChannelScanner::m_iptv_channels
protected

Definition at line 128 of file channelscanner.h.

◆ m_freeToAirOnly

bool ChannelScanner::m_freeToAirOnly {false}
protected

Only fta channels desired post scan?

Definition at line 139 of file channelscanner.h.

◆ m_channelNumbersOnly

bool ChannelScanner::m_channelNumbersOnly {false}
protected

Only channels with logical channel numbers desired post scan?

Definition at line 142 of file channelscanner.h.

◆ m_completeOnly

bool ChannelScanner::m_completeOnly {false}
protected

Only complete channels desired post scan?

Definition at line 145 of file channelscanner.h.

◆ m_fullSearch

bool ChannelScanner::m_fullSearch {false}
protected

Extended search for old channels post scan?

Definition at line 148 of file channelscanner.h.

◆ m_addFullTS

bool ChannelScanner::m_addFullTS {false}
protected

Add MPTS "full transport stream" channels.

Definition at line 151 of file channelscanner.h.

◆ m_sourceid

int ChannelScanner::m_sourceid {-1}
protected

Definition at line 153 of file channelscanner.h.

◆ m_serviceRequirements

ServiceRequirements ChannelScanner::m_serviceRequirements {kRequireAV}
protected

Services desired post scan.

Definition at line 156 of file channelscanner.h.


The documentation for this class was generated from the following files: