MythTV
master
|
#include <dummychannel.h>
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 ChannelBase * | CreateChannel (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 | |
TVRec * | m_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 |
MythSystemLegacy * | m_system {nullptr} |
uint | m_systemStatus {0} |
These get mapped from the GENERIC_EXIT_* to these values for use with the signalmonitor code. More... | |
Definition at line 14 of file dummychannel.h.
|
inlineexplicit |
Definition at line 17 of file dummychannel.h.
|
overridedefault |
|
inlineoverridevirtual |
Reimplemented from ChannelBase.
Definition at line 21 of file dummychannel.h.
|
inlineoverridevirtual |
Opens the channel changing hardware for use.
Implements ChannelBase.
Definition at line 24 of file dummychannel.h.
|
inlineoverridevirtual |
Closes the channel changing hardware to use.
Implements ChannelBase.
Definition at line 26 of file dummychannel.h.
|
inlineoverridevirtual |
Implements ChannelBase.
Definition at line 29 of file dummychannel.h.
|
inlineoverridevirtual |
Reports whether channel is already open.
Implements ChannelBase.
Definition at line 33 of file dummychannel.h.
|
inlineoverridevirtual |
Returns String representing device, useful for debugging.
Reimplemented from ChannelBase.
Definition at line 35 of file dummychannel.h.
|
inline |
Definition at line 37 of file dummychannel.h.
|
inlinestatic |
Definition at line 38 of file dummychannel.h.
|
private |
Definition at line 41 of file dummychannel.h.
Referenced by DummyChannel(), and GetCurrentInput().