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

#include <vboxchannelfetcher.h>

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

Public Member Functions

 VBoxChannelFetcher (uint cardid, QString inputname, uint sourceid, bool ftaOnly, ServiceRequirements serviceType, ScanMonitor *monitor=nullptr)
 
 ~VBoxChannelFetcher () override
 
void Scan (void)
 
void Stop (void)
 Stops the scanning thread running. More...
 
vbox_chan_map_t GetChannels (void)
 

Protected Member Functions

void run (void) override
 

Private Member Functions

 Q_DECLARE_TR_FUNCTIONS (VBoxChannelFetcher)
 
void SetTotalNumChannels (uint val)
 
void SetNumChannelsInserted (uint val)
 
bool SupportedTransmission (const QString &transType)
 

Private Attributes

ScanMonitorm_scanMonitor {nullptr}
 
uint m_cardId
 
QString m_inputName
 
uint m_sourceId
 
bool m_ftaOnly
 
ServiceRequirements m_serviceType
 
QString m_transType {"UNKNOWN"}
 
vbox_chan_map_tm_channels {nullptr}
 
uint m_chanCnt {1}
 
bool m_threadRunning {false}
 
bool m_stopNow {false}
 
MThreadm_thread {nullptr}
 
QMutex m_lock
 

Detailed Description

Definition at line 63 of file vboxchannelfetcher.h.

Constructor & Destructor Documentation

◆ VBoxChannelFetcher()

VBoxChannelFetcher::VBoxChannelFetcher ( uint  cardid,
QString  inputname,
uint  sourceid,
bool  ftaOnly,
ServiceRequirements  serviceType,
ScanMonitor monitor = nullptr 
)

Definition at line 22 of file vboxchannelfetcher.cpp.

◆ ~VBoxChannelFetcher()

VBoxChannelFetcher::~VBoxChannelFetcher ( )
override

Definition at line 58 of file vboxchannelfetcher.cpp.

Member Function Documentation

◆ Q_DECLARE_TR_FUNCTIONS()

VBoxChannelFetcher::Q_DECLARE_TR_FUNCTIONS ( VBoxChannelFetcher  )
private

◆ Scan()

void VBoxChannelFetcher::Scan ( void  )

Definition at line 97 of file vboxchannelfetcher.cpp.

◆ Stop()

void VBoxChannelFetcher::Stop ( void  )

Stops the scanning thread running.

Definition at line 70 of file vboxchannelfetcher.cpp.

Referenced by Scan(), and ~VBoxChannelFetcher().

◆ GetChannels()

vbox_chan_map_t VBoxChannelFetcher::GetChannels ( void  )

Definition at line 87 of file vboxchannelfetcher.cpp.

◆ SetTotalNumChannels()

void VBoxChannelFetcher::SetTotalNumChannels ( uint  val)
inlineprivate

Definition at line 78 of file vboxchannelfetcher.h.

Referenced by run().

◆ SetNumChannelsInserted()

void VBoxChannelFetcher::SetNumChannelsInserted ( uint  val)
private

Definition at line 275 of file vboxchannelfetcher.cpp.

Referenced by run().

◆ SupportedTransmission()

bool VBoxChannelFetcher::SupportedTransmission ( const QString &  transType)
private

Definition at line 284 of file vboxchannelfetcher.cpp.

Referenced by run().

◆ run()

void VBoxChannelFetcher::run ( void  )
overrideprotected

Definition at line 104 of file vboxchannelfetcher.cpp.

Member Data Documentation

◆ m_scanMonitor

ScanMonitor* VBoxChannelFetcher::m_scanMonitor {nullptr}
private

Definition at line 86 of file vboxchannelfetcher.h.

Referenced by run(), and SetNumChannelsInserted().

◆ m_cardId

uint VBoxChannelFetcher::m_cardId
private

Definition at line 87 of file vboxchannelfetcher.h.

Referenced by run().

◆ m_inputName

QString VBoxChannelFetcher::m_inputName
private

Definition at line 88 of file vboxchannelfetcher.h.

◆ m_sourceId

uint VBoxChannelFetcher::m_sourceId
private

Definition at line 89 of file vboxchannelfetcher.h.

Referenced by run().

◆ m_ftaOnly

bool VBoxChannelFetcher::m_ftaOnly
private

Definition at line 90 of file vboxchannelfetcher.h.

Referenced by run().

◆ m_serviceType

ServiceRequirements VBoxChannelFetcher::m_serviceType
private

Definition at line 91 of file vboxchannelfetcher.h.

Referenced by run().

◆ m_transType

QString VBoxChannelFetcher::m_transType {"UNKNOWN"}
private

Definition at line 92 of file vboxchannelfetcher.h.

Referenced by SupportedTransmission(), and VBoxChannelFetcher().

◆ m_channels

vbox_chan_map_t* VBoxChannelFetcher::m_channels {nullptr}
private

Definition at line 93 of file vboxchannelfetcher.h.

Referenced by GetChannels(), run(), and ~VBoxChannelFetcher().

◆ m_chanCnt

uint VBoxChannelFetcher::m_chanCnt {1}
private

Definition at line 94 of file vboxchannelfetcher.h.

Referenced by SetNumChannelsInserted(), and SetTotalNumChannels().

◆ m_threadRunning

bool VBoxChannelFetcher::m_threadRunning {false}
private

Definition at line 95 of file vboxchannelfetcher.h.

Referenced by run(), and Stop().

◆ m_stopNow

bool VBoxChannelFetcher::m_stopNow {false}
private

Definition at line 96 of file vboxchannelfetcher.h.

Referenced by run(), Scan(), and Stop().

◆ m_thread

MThread* VBoxChannelFetcher::m_thread {nullptr}
private

Definition at line 97 of file vboxchannelfetcher.h.

Referenced by GetChannels(), Scan(), Stop(), and ~VBoxChannelFetcher().

◆ m_lock

QMutex VBoxChannelFetcher::m_lock
private

Definition at line 98 of file vboxchannelfetcher.h.

Referenced by run(), and Stop().


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