MythTV  master
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
ChannelScannerCLI Class Reference

#include <channelscanner_cli.h>

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

Public Member Functions

 ChannelScannerCLI (bool doScanSaveOnly, bool promptsOk)
 
 ~ChannelScannerCLI () override=default
 
void HandleEvent (const ScannerEvent *scanEvent) override
 
bool IsDone (void) const
 
- 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, 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

void InformUser (const QString &error) override
 
virtual void Process (const ScanDTVTransportList &_transports)
 
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)
 

Private Attributes

bool m_done {false}
 
bool m_onlysavescan
 
bool m_interactive
 
bool m_statusLock {false}
 
uint m_statusComplete {0}
 
float m_statusSnr {0.0}
 
QString m_statusText
 
QString m_statusLastLog
 

Additional Inherited Members

- Protected Attributes inherited from ChannelScanner
ScanMonitorm_scanMonitor {nullptr}
 
ChannelBasem_channel {nullptr}
 
ChannelScanSMm_sigmonScanner {nullptr}
 
IPTVChannelFetcherm_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...
 

Detailed Description

Definition at line 40 of file channelscanner_cli.h.

Constructor & Destructor Documentation

◆ ChannelScannerCLI()

ChannelScannerCLI::ChannelScannerCLI ( bool  doScanSaveOnly,
bool  promptsOk 
)
inline

Definition at line 43 of file channelscanner_cli.h.

◆ ~ChannelScannerCLI()

ChannelScannerCLI::~ChannelScannerCLI ( )
overridedefault

Member Function Documentation

◆ HandleEvent()

void ChannelScannerCLI::HandleEvent ( const ScannerEvent scanEvent)
overridevirtual

Implements ChannelScanner.

Definition at line 37 of file channelscanner_cli.cpp.

◆ IsDone()

bool ChannelScannerCLI::IsDone ( void  ) const
inline

Definition at line 49 of file channelscanner_cli.h.

◆ InformUser()

void ChannelScannerCLI::InformUser ( const QString &  error)
overrideprotectedvirtual

Implements ChannelScanner.

Definition at line 121 of file channelscanner_cli.cpp.

Referenced by HandleEvent().

◆ Process()

void ChannelScannerCLI::Process ( const ScanDTVTransportList _transports)
protectedvirtual

Definition at line 134 of file channelscanner_cli.cpp.

Referenced by HandleEvent().

◆ MonitorProgress()

void ChannelScannerCLI::MonitorProgress ( bool  lock,
bool  strength,
bool  snr,
bool  rotor 
)
overrideprotectedvirtual

Reimplemented from ChannelScanner.

Definition at line 145 of file channelscanner_cli.cpp.

Member Data Documentation

◆ m_done

bool ChannelScannerCLI::m_done {false}
private

Definition at line 57 of file channelscanner_cli.h.

Referenced by HandleEvent().

◆ m_onlysavescan

bool ChannelScannerCLI::m_onlysavescan
private

Definition at line 58 of file channelscanner_cli.h.

Referenced by Process().

◆ m_interactive

bool ChannelScannerCLI::m_interactive
private

Definition at line 59 of file channelscanner_cli.h.

Referenced by Process().

◆ m_statusLock

bool ChannelScannerCLI::m_statusLock {false}
private

Definition at line 60 of file channelscanner_cli.h.

Referenced by HandleEvent().

◆ m_statusComplete

uint ChannelScannerCLI::m_statusComplete {0}
private

Definition at line 61 of file channelscanner_cli.h.

Referenced by HandleEvent().

◆ m_statusSnr

float ChannelScannerCLI::m_statusSnr {0.0}
private

Definition at line 62 of file channelscanner_cli.h.

Referenced by HandleEvent().

◆ m_statusText

QString ChannelScannerCLI::m_statusText
private

Definition at line 63 of file channelscanner_cli.h.

Referenced by HandleEvent().

◆ m_statusLastLog

QString ChannelScannerCLI::m_statusLastLog
private

Definition at line 64 of file channelscanner_cli.h.

Referenced by HandleEvent().


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