IPTVChannel Class Reference

#include <iptvchannel.h>

Inheritance diagram for IPTVChannel:
DTVChannel ChannelBase

List of all members.

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
IPTVFeederWrapperGetFeeder (void)
const IPTVFeederWrapperGetFeeder (void) const
IPTVChannelInfo GetChanInfo (const QString &channum, uint sourceid=0) const
IPTVChanneloperator= (const IPTVChannel &)
 IPTVChannel (const IPTVChannel &)
 IPTVChannel ()

Private Attributes

QString m_videodev
fbox_chan_map_t m_freeboxchannels
IPTVFeederWrapperm_feeder
QMutex m_lock

Friends

class IPTVSignalMonitor
class IPTVRecorder

Detailed Description

Definition at line 18 of file iptvchannel.h.


Constructor & Destructor Documentation

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]

Member Function Documentation

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]
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]

Friends And Related Function Documentation

friend class IPTVSignalMonitor [friend]

Definition at line 20 of file iptvchannel.h.

friend class IPTVRecorder [friend]

Definition at line 21 of file iptvchannel.h.


Member Data Documentation

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().

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().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Mon May 28 06:42:07 2012 for MythTV by  doxygen 1.6.3