#include <hdhrchannel.h>

Definition at line 25 of file hdhrchannel.h.
Public Member Functions | |
| HDHRChannel (TVRec *parent, const QString &device, uint tuner) | |
| ~HDHRChannel (void) | |
| bool | Open (void) |
| Opens the channel changing hardware for use. | |
| void | Close (void) |
| Closes the channel changing hardware to use. | |
| bool | EnterPowerSavingMode (void) |
| Enters power saving mode if the card supports it. | |
| bool | SetChannelByString (const QString &chan) |
| bool | IsOpen (void) const |
| Reports whether channel is already open. | |
| QString | GetDevice (void) const |
| Returns String representing device, useful for debugging. | |
| vector< uint > | GetPIDs (void) const |
| QString | GetSIStandard (void) const |
| Returns PSIP table standard: MPEG, DVB, ATSC, or OpenCable. | |
| bool | AddPID (uint pid, bool do_update=true) |
| bool | DelPID (uint pid, bool do_update=true) |
| bool | DelAllPIDs (void) |
| bool | UpdateFilters (void) |
| bool | TuneMultiplex (uint mplexid, QString inputname) |
| To be used by the channel scanner and possibly the EIT scanner. | |
| bool | Tune (const DTVMultiplex &tuning, QString inputname) |
| To be used by the channel scanner and possibly the EIT scanner. | |
Private Member Functions | |
| bool | Connect (void) |
| bool | Tune (uint frequency, QString inputname, QString modulation, QString si_std) |
| struct hdhomerun_device_t * | GetHDHRDevice (void) |
| bool | DeviceSetTarget (unsigned short localPort) |
| bool | DeviceClearTarget (void) |
| QString | DeviceGet (const QString &name, bool report_error_return=true) |
| QString | DeviceSet (const QString &name, const QString &value, bool report_error_return=true) |
| QString | TunerGet (const QString &name, bool report_error_return=true) |
| QString | TunerSet (const QString &name, const QString &value, bool report_error_return=true) |
Private Attributes | |
| struct hdhomerun_device_t * | _hdhomerun_device |
| uint | _device_id |
| uint | _device_ip |
| uint | _tuner |
| bool | _ignore_filters |
| vector< uint > | _pids |
| QMutex | _lock |
Friends | |
| class | HDHRSignalMonitor |
| class | HDHRRecorder |
Definition at line 33 of file hdhrchannel.cpp.
| HDHRChannel::~HDHRChannel | ( | void | ) |
Definition at line 60 of file hdhrchannel.cpp.
| bool HDHRChannel::Open | ( | void | ) | [virtual] |
Opens the channel changing hardware for use.
Implements ChannelBase.
Definition at line 65 of file hdhrchannel.cpp.
Referenced by SetChannelByString().
| void HDHRChannel::Close | ( | void | ) | [virtual] |
Closes the channel changing hardware to use.
Implements ChannelBase.
Definition at line 76 of file hdhrchannel.cpp.
Referenced by ~HDHRChannel().
| bool HDHRChannel::EnterPowerSavingMode | ( | void | ) | [virtual] |
Enters power saving mode if the card supports it.
Reimplemented from DTVChannel.
Definition at line 85 of file hdhrchannel.cpp.
| bool HDHRChannel::SetChannelByString | ( | const QString & | chan | ) | [virtual] |
| bool HDHRChannel::IsOpen | ( | void | ) | const [inline, virtual] |
Reports whether channel is already open.
Implements ChannelBase.
Definition at line 42 of file hdhrchannel.h.
Referenced by Open().
| QString HDHRChannel::GetDevice | ( | void | ) | const [inline, virtual] |
Returns String representing device, useful for debugging.
Reimplemented from ChannelBase.
Definition at line 43 of file hdhrchannel.h.
| vector<uint> HDHRChannel::GetPIDs | ( | void | ) | const [inline] |
| QString HDHRChannel::GetSIStandard | ( | void | ) | const [inline] |
Returns PSIP table standard: MPEG, DVB, ATSC, or OpenCable.
Reimplemented from DTVChannel.
Definition at line 47 of file hdhrchannel.h.
Definition at line 390 of file hdhrchannel.cpp.
Referenced by HDHRRecorder::AdjustFilters(), and HDHRSignalMonitor::UpdateFiltersFromStreamData().
Definition at line 415 of file hdhrchannel.cpp.
Referenced by HDHRRecorder::AdjustFilters(), and HDHRSignalMonitor::UpdateFiltersFromStreamData().
| bool HDHRChannel::DelAllPIDs | ( | void | ) |
Definition at line 449 of file hdhrchannel.cpp.
Referenced by HDHRSignalMonitor::HDHRSignalMonitor().
| bool HDHRChannel::UpdateFilters | ( | void | ) |
Definition at line 473 of file hdhrchannel.cpp.
Referenced by AddPID(), HDHRRecorder::AdjustFilters(), DelAllPIDs(), and DelPID().
To be used by the channel scanner and possibly the EIT scanner.
Implements DTVChannel.
Definition at line 327 of file hdhrchannel.cpp.
| bool HDHRChannel::Tune | ( | const DTVMultiplex & | tuning, | |
| QString | inputname | |||
| ) | [virtual] |
To be used by the channel scanner and possibly the EIT scanner.
Implements DTVChannel.
Definition at line 354 of file hdhrchannel.cpp.
Referenced by SetChannelByString(), and TuneMultiplex().
| bool HDHRChannel::Connect | ( | void | ) | [private] |
| bool HDHRChannel::Tune | ( | uint | frequency, | |
| QString | inputname, | |||
| QString | modulation, | |||
| QString | si_std | |||
| ) | [private] |
Definition at line 360 of file hdhrchannel.cpp.
| struct hdhomerun_device_t * HDHRChannel::GetHDHRDevice | ( | void | ) | [read, private] |
Definition at line 166 of file hdhrchannel.cpp.
Referenced by HDHRSignalMonitor::RunTableMonitor(), and HDHRSignalMonitor::UpdateValues().
| bool HDHRChannel::DeviceSetTarget | ( | unsigned short | localPort | ) | [private] |
| bool HDHRChannel::DeviceClearTarget | ( | void | ) | [private] |
| QString HDHRChannel::DeviceGet | ( | const QString & | name, | |
| bool | report_error_return = true | |||
| ) | [private] |
| QString HDHRChannel::DeviceSet | ( | const QString & | name, | |
| const QString & | value, | |||
| bool | report_error_return = true | |||
| ) | [private] |
| QString HDHRChannel::TunerGet | ( | const QString & | name, | |
| bool | report_error_return = true | |||
| ) | [private] |
Definition at line 171 of file hdhrchannel.cpp.
| QString HDHRChannel::TunerSet | ( | const QString & | name, | |
| const QString & | value, | |||
| bool | report_error_return = true | |||
| ) | [private] |
friend class HDHRSignalMonitor [friend] |
Definition at line 27 of file hdhrchannel.h.
friend class HDHRRecorder [friend] |
Definition at line 28 of file hdhrchannel.h.
struct hdhomerun_device_t* HDHRChannel::_hdhomerun_device [read, private] |
Definition at line 79 of file hdhrchannel.h.
Referenced by Close(), Connect(), DeviceClearTarget(), DeviceGet(), DeviceSet(), DeviceSetTarget(), EnterPowerSavingMode(), GetHDHRDevice(), IsOpen(), SetChannelByString(), and Tune().
uint HDHRChannel::_device_id [private] |
Definition at line 80 of file hdhrchannel.h.
Referenced by Connect(), GetDevice(), and HDHRChannel().
uint HDHRChannel::_device_ip [private] |
uint HDHRChannel::_tuner [private] |
Definition at line 82 of file hdhrchannel.h.
Referenced by Connect(), GetDevice(), TunerGet(), and TunerSet().
bool HDHRChannel::_ignore_filters [private] |
Definition at line 83 of file hdhrchannel.h.
Referenced by SetChannelByString(), and UpdateFilters().
vector<uint> HDHRChannel::_pids [private] |
Definition at line 84 of file hdhrchannel.h.
Referenced by AddPID(), DelAllPIDs(), DelPID(), GetPIDs(), and UpdateFilters().
QMutex HDHRChannel::_lock [mutable, private] |
Definition at line 85 of file hdhrchannel.h.
Referenced by AddPID(), DelAllPIDs(), DelPID(), DeviceGet(), DeviceSet(), GetPIDs(), and UpdateFilters().
1.5.5