#include <iptvchannel.h>
Public Member Functions | |
| IPTVChannel (TVRec *parent, const QString &videodev) | |
| ~IPTVChannel () | |
| bool | Open (void) |
| Opens the channel changing hardware for use. | |
| void | Close (void) |
| Closes the channel changing hardware to use. | |
| bool | SetChannelByString (const QString &channum) |
| bool | IsOpen (void) const |
| Reports whether channel is already open. | |
| bool | Tune (const DTVMultiplex &, QString) |
| This performs the actual frequency tuning and in some cases input switching. | |
Private Member Functions | |
| IPTVChannelInfo | GetCurrentChanInfo (void) const |
| IPTVFeederWrapper * | GetFeeder (void) |
| const IPTVFeederWrapper * | GetFeeder (void) const |
| IPTVChannelInfo | GetChanInfo (const QString &channum, uint sourceid=0) const |
| IPTVChannel & | operator= (const IPTVChannel &) |
| IPTVChannel (const IPTVChannel &) | |
| IPTVChannel () | |
Private Attributes | |
| QString | m_videodev |
| fbox_chan_map_t | m_freeboxchannels |
| IPTVFeederWrapper * | m_feeder |
| QMutex | m_lock |
Friends | |
| class | IPTVSignalMonitor |
| class | IPTVRecorder |
Definition at line 18 of file iptvchannel.h.
| IPTVChannel::IPTVChannel | ( | TVRec * | parent, | |
| const QString & | videodev | |||
| ) |
Definition at line 17 of file iptvchannel.cpp.
| IPTVChannel::~IPTVChannel | ( | ) |
Definition at line 28 of file iptvchannel.cpp.
| IPTVChannel::IPTVChannel | ( | const IPTVChannel & | ) | [private] |
| IPTVChannel::IPTVChannel | ( | ) | [private] |
| bool IPTVChannel::Open | ( | void | ) | [virtual] |
Opens the channel changing hardware for use.
Implements ChannelBase.
Definition at line 39 of file iptvchannel.cpp.
| void IPTVChannel::Close | ( | void | ) | [virtual] |
Closes the channel changing hardware to use.
Implements ChannelBase.
Definition at line 64 of file iptvchannel.cpp.
| bool IPTVChannel::SetChannelByString | ( | const QString & | channum | ) | [virtual] |
Reimplemented from DTVChannel.
Definition at line 82 of file iptvchannel.cpp.
| bool IPTVChannel::IsOpen | ( | void | ) | const [virtual] |
Reports whether channel is already open.
Implements ChannelBase.
Definition at line 73 of file iptvchannel.cpp.
| bool IPTVChannel::Tune | ( | const DTVMultiplex & | tuning, | |
| QString | inputname | |||
| ) | [inline, virtual] |
This performs the actual frequency tuning and in some cases input switching.
In rare cases such as ASI this does nothing since all the channels are in the same MPTS stream on the same input. But generally you will need to implement this when adding support for new hardware.
Implements DTVChannel.
Definition at line 36 of file iptvchannel.h.
| IPTVChannelInfo IPTVChannel::GetCurrentChanInfo | ( | void | ) | const [inline, private] |
Definition at line 39 of file iptvchannel.h.
Referenced by IPTVSignalMonitor::IPTVSignalMonitor(), and IPTVRecorder::Open().
| IPTVFeederWrapper* IPTVChannel::GetFeeder | ( | void | ) | [inline, private] |
Definition at line 42 of file iptvchannel.h.
Referenced by IPTVRecorder::Close(), IPTVRecorder::IPTVRecorder(), IPTVSignalMonitor::IPTVSignalMonitor(), IPTVRecorder::Open(), IPTVRecorder::run(), IPTVSignalMonitor::RunTableMonitor(), IPTVSignalMonitor::Stop(), IPTVRecorder::StopRecording(), IPTVRecorder::~IPTVRecorder(), and IPTVSignalMonitor::~IPTVSignalMonitor().
| const IPTVFeederWrapper* IPTVChannel::GetFeeder | ( | void | ) | const [inline, private] |
Definition at line 43 of file iptvchannel.h.
| IPTVChannelInfo IPTVChannel::GetChanInfo | ( | const QString & | channum, | |
| uint | sourceid = 0 | |||
| ) | const [private] |
Definition at line 122 of file iptvchannel.cpp.
Referenced by GetCurrentChanInfo(), and SetChannelByString().
| IPTVChannel& IPTVChannel::operator= | ( | const IPTVChannel & | ) | [private] |
friend class IPTVSignalMonitor [friend] |
Definition at line 20 of file iptvchannel.h.
friend class IPTVRecorder [friend] |
Definition at line 21 of file iptvchannel.h.
QString IPTVChannel::m_videodev [private] |
Definition at line 49 of file iptvchannel.h.
Referenced by IPTVChannel(), and Open().
Definition at line 50 of file iptvchannel.h.
Referenced by GetChanInfo(), IsOpen(), and Open().
IPTVFeederWrapper* IPTVChannel::m_feeder [private] |
Definition at line 51 of file iptvchannel.h.
Referenced by GetFeeder(), and ~IPTVChannel().
QMutex IPTVChannel::m_lock [mutable, private] |
Definition at line 52 of file iptvchannel.h.
Referenced by Close(), GetChanInfo(), IsOpen(), Open(), and SetChannelByString().
1.6.3