MythTV  master
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
DummyChannel Class Reference

DummyChannel. More...

#include <dummychannel.h>

Inheritance diagram for DummyChannel:
Inheritance graph
Collaboration diagram for DummyChannel:
Collaboration graph

Public Member Functions

 DummyChannel (TVRec *parent)
 ~DummyChannel (void) override=default
bool IsTunable (const QString &) const override
bool Open (void) override
 Opens the channel changing hardware for use. More...
void Close (void) override
 Closes the channel changing hardware to use. More...
bool SetChannelByString (const QString &chan) override
bool IsOpen (void) const override
 Reports whether channel is already open. More...
QString GetDevice (void) const override
 Returns String representing device, useful for debugging. More...
QString GetCurrentInput (void) const
- Public Member Functions inherited from ChannelBase
 ChannelBase (TVRec *parent)
virtual ~ChannelBase (void)
virtual bool Init (QString &startchannel, bool setchan)
virtual void SetFormat (const QString &)
virtual int SetFreqTable (const QString &)
virtual void SetFd (int fd)
 Sets file descriptor. More...
virtual int GetFd (void) const
 Returns file descriptor, -1 if it does not exist. More...
virtual bool Tune (const QString &, int)
virtual bool IsExternalChannelChangeInUse (void)
virtual uint GetNextChannel (uint chanid, ChannelChangeDirection direction) const
virtual uint GetNextChannel (const QString &channum, ChannelChangeDirection direction) const
virtual QString GetChannelName (void) const
virtual int GetChanID (void) const
virtual int GetInputID (void) const
virtual QString GetInputName (void) const
virtual uint GetSourceID (void) const
bool IsCommercialFree (void) const
 Returns true iff commercial detection is not required. More...
virtual void Renumber (uint sourceid, const QString &oldChanNum, const QString &newChanNum)
 Changes a channum if we have it cached anywhere. More...
virtual bool InitializeInput (void)
 Fills in input map from DB. More...
virtual bool Retune (void)
virtual void StoreInputChannels (void)
 Saves current channel as the default channel for the current input. More...
virtual bool InitPictureAttributes (void)
virtual int GetPictureAttribute (PictureAttribute) const
virtual int ChangePictureAttribute (PictureAdjustType, PictureAttribute, bool)
bool CheckChannel (const QString &channum) const
void SetInputID (uint _inputid)
int GetMajorID (void)

Static Public Member Functions

static uint GetCurrentSourceID (void)
- Static Public Member Functions inherited from ChannelBase
static ChannelBaseCreateChannel (TVRec *tvrec, const GeneralDBOptions &genOpt, const DVBDBOptions &dvbOpt, const FireWireDBOptions &fwOpt, const QString &startchannel, bool enter_power_save_mode, QString &rbFileExt, bool setchan)

Private Attributes

QString m_curInputName

Additional Inherited Members

- Protected Member Functions inherited from ChannelBase
virtual bool IsInputAvailable (uint &mplexid_restriction, uint &chanid_restriction) const
 Switches to another input on hardware, and sets the channel is setstarting is true. More...
virtual bool IsExternalChannelChangeSupported (void)
bool KillScript (void)
void HandleScript (const QString &freqid)
virtual void HandleScriptEnd (bool ok)
uint GetScriptStatus (bool holding_lock=false)
bool ChangeExternalChannel (const QString &changer, const QString &freqid)
bool ChangeInternalChannel (const QString &freqid, uint cardinputid) const
- Protected Attributes inherited from ChannelBase
TVRecm_pParent {nullptr}
QString m_curChannelName
bool m_commFree {false}
uint m_inputId {0}
uint m_sourceId {0}
QString m_name
QString m_startChanNum
QString m_externalChanger
QString m_tuneToChannel
ChannelInfoList m_channels
 channels across all inputs More...
QMutex m_systemLock
MythSystemLegacym_system {nullptr}
uint m_systemStatus {0}
 These get mapped from the GENERIC_EXIT_* to these values for use with the signalmonitor code. More...

Detailed Description


Definition at line 14 of file dummychannel.h.

Constructor & Destructor Documentation

◆ DummyChannel()

DummyChannel::DummyChannel ( TVRec parent)

Definition at line 17 of file dummychannel.h.

◆ ~DummyChannel()

DummyChannel::~DummyChannel ( void  )

Member Function Documentation

◆ IsTunable()

bool DummyChannel::IsTunable ( const QString &  ) const

Reimplemented from ChannelBase.

Definition at line 21 of file dummychannel.h.

◆ Open()

bool DummyChannel::Open ( void  )

Opens the channel changing hardware for use.

Implements ChannelBase.

Definition at line 24 of file dummychannel.h.

◆ Close()

void DummyChannel::Close ( void  )

Closes the channel changing hardware to use.

Implements ChannelBase.

Definition at line 26 of file dummychannel.h.

◆ SetChannelByString()

bool DummyChannel::SetChannelByString ( const QString &  chan)

Implements ChannelBase.

Definition at line 29 of file dummychannel.h.

◆ IsOpen()

bool DummyChannel::IsOpen ( void  ) const

Reports whether channel is already open.

Implements ChannelBase.

Definition at line 33 of file dummychannel.h.

◆ GetDevice()

QString DummyChannel::GetDevice ( void  ) const

Returns String representing device, useful for debugging.

Reimplemented from ChannelBase.

Definition at line 35 of file dummychannel.h.

◆ GetCurrentInput()

QString DummyChannel::GetCurrentInput ( void  ) const

Definition at line 37 of file dummychannel.h.

◆ GetCurrentSourceID()

static uint DummyChannel::GetCurrentSourceID ( void  )

Definition at line 38 of file dummychannel.h.

Member Data Documentation

◆ m_curInputName

QString DummyChannel::m_curInputName

Definition at line 41 of file dummychannel.h.

Referenced by DummyChannel(), and GetCurrentInput().

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