IPTVFeederUDP Class Reference

#include <iptvfeederudp.h>

Inheritance diagram for IPTVFeederUDP:

IPTVFeederLive IPTVFeeder

List of all members.


Detailed Description

Definition at line 17 of file iptvfeederudp.h.


Public Member Functions

 IPTVFeederUDP ()
virtual ~IPTVFeederUDP ()
bool CanHandle (const QString &url) const
 Returns true iff the data feed can handle URL.
bool IsOpen (void) const
 Returns true if the feeder is currently open.
bool Open (const QString &url)
 Inits the feeder and opens the stream identified by url.
void Close (void)
 Closes the stream and frees resources allocated in Open().
void AddListener (TSDataListener *)
void RemoveListener (TSDataListener *)

Static Public Member Functions

static bool IsUDP (const QString &url)

Private Attributes

BasicUDPSource * _source
IPTVMediaSink_sink

Constructor & Destructor Documentation

IPTVFeederUDP::IPTVFeederUDP (  ) 

Definition at line 28 of file iptvfeederudp.cpp.

IPTVFeederUDP::~IPTVFeederUDP (  )  [virtual]

Definition at line 35 of file iptvfeederudp.cpp.


Member Function Documentation

bool IPTVFeederUDP::CanHandle ( const QString &  url  )  const [inline, virtual]

Returns true iff the data feed can handle URL.

Implements IPTVFeeder.

Definition at line 23 of file iptvfeederudp.h.

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

Returns true if the feeder is currently open.

Implements IPTVFeeder.

Definition at line 24 of file iptvfeederudp.h.

bool IPTVFeederUDP::Open ( const QString &  url  )  [virtual]

Inits the feeder and opens the stream identified by url.

Implements IPTVFeeder.

Definition at line 47 of file iptvfeederudp.cpp.

void IPTVFeederUDP::Close ( void   )  [virtual]

Closes the stream and frees resources allocated in Open().

Implements IPTVFeeder.

Definition at line 120 of file iptvfeederudp.cpp.

Referenced by ~IPTVFeederUDP().

void IPTVFeederUDP::AddListener ( TSDataListener item  )  [virtual]

Implements IPTVFeeder.

Definition at line 147 of file iptvfeederudp.cpp.

void IPTVFeederUDP::RemoveListener ( TSDataListener item  )  [virtual]

Implements IPTVFeeder.

Definition at line 169 of file iptvfeederudp.cpp.

Referenced by AddListener().

bool IPTVFeederUDP::IsUDP ( const QString &  url  )  [static]

Definition at line 42 of file iptvfeederudp.cpp.

Referenced by CanHandle(), and IPTVFeederWrapper::InitFeeder().


Member Data Documentation

BasicUDPSource* IPTVFeederUDP::_source [private]

Definition at line 35 of file iptvfeederudp.h.

Referenced by Close(), IsOpen(), and Open().

Definition at line 36 of file iptvfeederudp.h.

Referenced by AddListener(), Close(), Open(), and RemoveListener().


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

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