MythTV  0.26-pre
Public Member Functions | Static Public Member Functions | Private Attributes
IPTVFeederUDP Class Reference

#include <iptvfeederudp.h>

Inheritance diagram for IPTVFeederUDP:
IPTVFeederLive IPTVFeeder

List of all members.

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

Detailed Description

Definition at line 17 of file iptvfeederudp.h.


Constructor & Destructor Documentation

Definition at line 30 of file iptvfeederudp.cpp.

Definition at line 37 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 49 of file iptvfeederudp.cpp.

void IPTVFeederUDP::Close ( void  ) [virtual]

Closes the stream and frees resources allocated in Open()

Implements IPTVFeeder.

Definition at line 122 of file iptvfeederudp.cpp.

Referenced by ~IPTVFeederUDP().

Implements IPTVFeeder.

Definition at line 149 of file iptvfeederudp.cpp.

Implements IPTVFeeder.

Definition at line 174 of file iptvfeederudp.cpp.

Referenced by AddListener().

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

Definition at line 44 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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends