#include <dbox2channel.h>

Definition at line 45 of file dbox2channel.h.
Public Member Functions | |
| DBox2Channel (TVRec *parent, DBox2DBOptions *dbox2_options, int cardid) | |
| ~DBox2Channel (void) | |
| bool | SetChannelByString (const QString &chan) |
| bool | Open (void) |
| Opens the channel changing hardware for use. | |
| bool | IsOpen (void) const |
| Reports whether channel is already open. | |
| void | Close (void) |
| Closes the channel changing hardware to use. | |
| void | SwitchToLastChannel (void) |
| QString | GetChannelNameFromNumber (const QString &) |
| QString | GetChannelNumberFromName (const QString &channelName) |
| QString | GetChannelID (const QString &) |
| void | EPGFinished (void) |
| void | RecorderAlive (bool) |
| void | SetRecorder (DBox2Recorder *) |
Private Member Functions | |
| void | HttpChannelChangeDone (bool error) |
| void | HttpRequestDone (bool error) |
| void | TeardownAll (void) |
| void | LoadChannels (void) |
| void | RequestChannelChange (QString) |
| QString | GetDefaultChannel (void) |
Private Attributes | |
| DBox2DBOptions * | m_dbox2options |
| int | m_cardid |
| bool | m_channelListReady |
| QString | m_lastChannel |
| QString | m_requestChannel |
| DBox2EPG * | m_epg |
| bool | m_recorderAlive |
| DBox2Recorder * | m_recorder |
| QHttp * | http |
| QHttp * | httpChanger |
| DBox2CRelay * | m_relay |
| int | m_dbox2channelcount |
| QMap< int, QString > | m_dbox2channelids |
| QMap< int, QString > | m_dbox2channelnames |
| QMutex | m_lock |
Friends | |
| class | DBox2CRelay |
| DBox2Channel::DBox2Channel | ( | TVRec * | parent, | |
| DBox2DBOptions * | dbox2_options, | |||
| int | cardid | |||
| ) |
Definition at line 47 of file dbox2channel.cpp.
| DBox2Channel::~DBox2Channel | ( | void | ) | [inline] |
Definition at line 51 of file dbox2channel.h.
| bool DBox2Channel::SetChannelByString | ( | const QString & | chan | ) | [virtual] |
Implements ChannelBase.
Definition at line 120 of file dbox2channel.cpp.
Referenced by EPGFinished(), HttpRequestDone(), RecorderAlive(), and SwitchToLastChannel().
| bool DBox2Channel::Open | ( | void | ) | [virtual] |
Opens the channel changing hardware for use.
Implements ChannelBase.
Definition at line 209 of file dbox2channel.cpp.
| bool DBox2Channel::IsOpen | ( | void | ) | const [inline, virtual] |
Reports whether channel is already open.
Implements ChannelBase.
Definition at line 55 of file dbox2channel.h.
| void DBox2Channel::Close | ( | void | ) | [virtual] |
Closes the channel changing hardware to use.
Implements ChannelBase.
Definition at line 219 of file dbox2channel.cpp.
| void DBox2Channel::SwitchToLastChannel | ( | void | ) |
Definition at line 112 of file dbox2channel.cpp.
Referenced by DBox2Recorder::httpRequestFinished().
| QString DBox2Channel::GetChannelNameFromNumber | ( | const QString & | channelnumber | ) |
Definition at line 351 of file dbox2channel.cpp.
Referenced by DBox2EPG::RequestEPG(), and SetChannelByString().
| QString DBox2Channel::GetChannelNumberFromName | ( | const QString & | channelName | ) |
Definition at line 369 of file dbox2channel.cpp.
| QString DBox2Channel::GetChannelID | ( | const QString & | name | ) |
Definition at line 342 of file dbox2channel.cpp.
Referenced by DBox2EPG::RequestEPG(), and SetChannelByString().
| void DBox2Channel::EPGFinished | ( | void | ) |
Definition at line 428 of file dbox2channel.cpp.
Referenced by DBox2EPG::httpRequestFinished(), and DBox2EPG::run().
| void DBox2Channel::RecorderAlive | ( | bool | alive | ) |
Definition at line 410 of file dbox2channel.cpp.
Referenced by DBox2Recorder::DBox2Recorder(), DBox2Recorder::Open(), and DBox2Recorder::TeardownAll().
| void DBox2Channel::SetRecorder | ( | DBox2Recorder * | rec | ) |
Definition at line 106 of file dbox2channel.cpp.
Referenced by DBox2Recorder::DBox2Recorder(), and DBox2Recorder::TeardownAll().
| void DBox2Channel::HttpChannelChangeDone | ( | bool | error | ) | [private] |
Definition at line 309 of file dbox2channel.cpp.
Referenced by DBox2Channel(), and DBox2CRelay::HttpChannelChangeDone().
| void DBox2Channel::HttpRequestDone | ( | bool | error | ) | [private] |
Definition at line 239 of file dbox2channel.cpp.
Referenced by DBox2Channel(), and DBox2CRelay::HttpRequestDone().
| void DBox2Channel::TeardownAll | ( | void | ) | [private] |
| void DBox2Channel::LoadChannels | ( | void | ) | [private] |
| void DBox2Channel::RequestChannelChange | ( | QString | channelID | ) | [private] |
| QString DBox2Channel::GetDefaultChannel | ( | void | ) | [private] |
friend class DBox2CRelay [friend] |
Definition at line 47 of file dbox2channel.h.
DBox2DBOptions* DBox2Channel::m_dbox2options [private] |
Definition at line 77 of file dbox2channel.h.
Referenced by HttpRequestDone(), LoadChannels(), and RequestChannelChange().
int DBox2Channel::m_cardid [private] |
Definition at line 78 of file dbox2channel.h.
Referenced by GetChannelNameFromNumber(), GetChannelNumberFromName(), GetDefaultChannel(), and HttpRequestDone().
bool DBox2Channel::m_channelListReady [private] |
Definition at line 79 of file dbox2channel.h.
Referenced by HttpRequestDone(), and SetChannelByString().
QString DBox2Channel::m_lastChannel [private] |
Definition at line 80 of file dbox2channel.h.
Referenced by SetChannelByString(), and SwitchToLastChannel().
QString DBox2Channel::m_requestChannel [private] |
Definition at line 81 of file dbox2channel.h.
Referenced by HttpRequestDone(), and SetChannelByString().
DBox2EPG* DBox2Channel::m_epg [private] |
Definition at line 82 of file dbox2channel.h.
Referenced by HttpChannelChangeDone(), HttpRequestDone(), and TeardownAll().
bool DBox2Channel::m_recorderAlive [private] |
Definition at line 83 of file dbox2channel.h.
Referenced by EPGFinished(), HttpChannelChangeDone(), IsOpen(), and RecorderAlive().
DBox2Recorder* DBox2Channel::m_recorder [private] |
Definition at line 84 of file dbox2channel.h.
Referenced by HttpChannelChangeDone(), SetChannelByString(), and SetRecorder().
QHttp* DBox2Channel::http [private] |
Definition at line 86 of file dbox2channel.h.
Referenced by DBox2Channel(), HttpRequestDone(), LoadChannels(), and TeardownAll().
QHttp* DBox2Channel::httpChanger [private] |
Definition at line 87 of file dbox2channel.h.
Referenced by DBox2Channel(), HttpChannelChangeDone(), RequestChannelChange(), and TeardownAll().
DBox2CRelay* DBox2Channel::m_relay [private] |
int DBox2Channel::m_dbox2channelcount [private] |
QMap<int,QString> DBox2Channel::m_dbox2channelids [private] |
QMap<int,QString> DBox2Channel::m_dbox2channelnames [private] |
QMutex DBox2Channel::m_lock [private] |
Definition at line 94 of file dbox2channel.h.
Referenced by HttpChannelChangeDone(), SetChannelByString(), and SetRecorder().
1.5.5