FirewireChannel Class Reference

#include <firewirechannel.h>

Inheritance diagram for FirewireChannel:

DTVChannel ChannelBase

List of all members.


Detailed Description

Definition at line 14 of file firewirechannel.h.


Public Member Functions

 FirewireChannel (TVRec *parent, const QString &videodevice, const FireWireDBOptions &firewire_opts)
 ~FirewireChannel ()
virtual bool Open (void)
 Opens the channel changing hardware for use.
virtual void Close (void)
 Closes the channel changing hardware to use.
virtual bool TuneMultiplex (uint, QString)
 To be used by the channel scanner and possibly the EIT scanner.
virtual bool Tune (const DTVMultiplex &, QString)
 To be used by the channel scanner and possibly the EIT scanner.
virtual bool Retune (void)
virtual bool SetChannelByString (const QString &chan)
virtual bool SetChannelByNumber (int channel)
virtual bool SetPowerState (bool on)
virtual bool IsOpen (void) const
 Reports whether channel is already open.
virtual FirewireDevice::PowerState GetPowerState (void) const
virtual QString GetDevice (void) const
 Returns String representing device, useful for debugging.
virtual FirewireDeviceGetFirewireDevice (void)

Protected Attributes

QString videodevice
FireWireDBOptions fw_opts
FirewireDevicedevice
uint current_channel
bool isopen

Constructor & Destructor Documentation

FirewireChannel::FirewireChannel ( TVRec parent,
const QString &  videodevice,
const FireWireDBOptions firewire_opts 
)

Definition at line 18 of file firewirechannel.cpp.

FirewireChannel::~FirewireChannel (  )  [inline]

Definition at line 19 of file firewirechannel.h.


Member Function Documentation

bool FirewireChannel::Open ( void   )  [virtual]

Opens the channel changing hardware for use.

Implements ChannelBase.

Definition at line 120 of file firewirechannel.cpp.

void FirewireChannel::Close ( void   )  [virtual]

Closes the channel changing hardware to use.

Implements ChannelBase.

Definition at line 151 of file firewirechannel.cpp.

Referenced by ~FirewireChannel().

virtual bool FirewireChannel::TuneMultiplex ( uint  mplexid,
QString  inputname 
) [inline, virtual]

To be used by the channel scanner and possibly the EIT scanner.

Implements DTVChannel.

Definition at line 25 of file firewirechannel.h.

virtual bool FirewireChannel::Tune ( const DTVMultiplex tuning,
QString  inputname 
) [inline, virtual]

To be used by the channel scanner and possibly the EIT scanner.

Implements DTVChannel.

Definition at line 27 of file firewirechannel.h.

bool FirewireChannel::Retune ( void   )  [virtual]

Reimplemented from ChannelBase.

Definition at line 192 of file firewirechannel.cpp.

Referenced by FirewireSignalMonitor::UpdateValues().

bool FirewireChannel::SetChannelByString ( const QString &  chan  )  [virtual]

Implements ChannelBase.

Definition at line 43 of file firewirechannel.cpp.

bool FirewireChannel::SetChannelByNumber ( int  channel  )  [virtual]

Definition at line 210 of file firewirechannel.cpp.

Referenced by Retune(), and SetChannelByString().

bool FirewireChannel::SetPowerState ( bool  on  )  [virtual]

Definition at line 166 of file firewirechannel.cpp.

Referenced by FirewireSignalMonitor::UpdateValues().

virtual bool FirewireChannel::IsOpen ( void   )  const [inline, virtual]

Reports whether channel is already open.

Implements ChannelBase.

Definition at line 37 of file firewirechannel.h.

FirewireDevice::PowerState FirewireChannel::GetPowerState ( void   )  const [virtual]

QString FirewireChannel::GetDevice ( void   )  const [virtual]

Returns String representing device, useful for debugging.

Reimplemented from ChannelBase.

Definition at line 161 of file firewirechannel.cpp.

virtual FirewireDevice* FirewireChannel::GetFirewireDevice ( void   )  [inline, virtual]


Member Data Documentation

QString FirewireChannel::videodevice [protected]

Definition at line 43 of file firewirechannel.h.

Referenced by FirewireChannel(), and GetDevice().

Definition at line 44 of file firewirechannel.h.

Referenced by FirewireChannel(), Open(), and SetChannelByNumber().

Definition at line 46 of file firewirechannel.h.

Referenced by Retune(), and SetChannelByNumber().

Definition at line 47 of file firewirechannel.h.

Referenced by Close(), GetPowerState(), IsOpen(), Open(), SetChannelByString(), and SetPowerState().


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

Generated on Sat Dec 18 05:16:03 2010 for MythTV by  doxygen 1.5.5