IPTVFeederLive Class Reference

#include <iptvfeederlive.h>

Inheritance diagram for IPTVFeederLive:
IPTVFeeder IPTVFeederFile IPTVFeederRTP IPTVFeederRTSP IPTVFeederUDP

List of all members.

Public Member Functions

 IPTVFeederLive ()
virtual ~IPTVFeederLive ()
void Run (void)
 Reads the stream and sends data to its TSDataListener.
void Stop (void)
 Tells Run(void) function that it should stop and exit cleanly.

Protected Member Functions

bool InitEnv (void)
void FreeEnv (void)

Protected Attributes

UsageEnvironment * _live_env
QMutex _lock
vector< TSDataListener * > _listeners

Private Member Functions

IPTVFeederLiveoperator= (const IPTVFeederLive &)
 IPTVFeederLive (const IPTVFeederLive &)

Private Attributes

char _abort
bool _running
QWaitCondition _cond

Detailed Description

Definition at line 26 of file iptvfeederlive.h.


Constructor & Destructor Documentation

IPTVFeederLive::IPTVFeederLive (  ) 

Definition at line 16 of file iptvfeederlive.cpp.

IPTVFeederLive::~IPTVFeederLive (  )  [virtual]

Definition at line 22 of file iptvfeederlive.cpp.

IPTVFeederLive::IPTVFeederLive ( const IPTVFeederLive  )  [private]

Member Function Documentation

void IPTVFeederLive::Run ( void   )  [virtual]

Reads the stream and sends data to its TSDataListener.

This is a blocking call : it should not exit until Stop() is called.

See also:
Stop(void)

Implements IPTVFeeder.

Definition at line 64 of file iptvfeederlive.cpp.

void IPTVFeederLive::Stop ( void   )  [virtual]

Tells Run(void) function that it should stop and exit cleanly.

This function blocks until Run(void) has finished up.

See also:
Run(void)

Implements IPTVFeeder.

Definition at line 84 of file iptvfeederlive.cpp.

Referenced by IPTVFeederUDP::Close(), IPTVFeederRTSP::Close(), IPTVFeederRTP::Close(), and IPTVFeederFile::Close().

bool IPTVFeederLive::InitEnv ( void   )  [protected]
void IPTVFeederLive::FreeEnv ( void   )  [protected]
IPTVFeederLive& IPTVFeederLive::operator= ( const IPTVFeederLive  )  [private]

Member Data Documentation

UsageEnvironment* IPTVFeederLive::_live_env [protected]
QMutex IPTVFeederLive::_lock [mutable, protected]
char IPTVFeederLive::_abort [private]

Definition at line 49 of file iptvfeederlive.h.

Referenced by Run(), and Stop().

Definition at line 50 of file iptvfeederlive.h.

Referenced by Run(), and Stop().

QWaitCondition IPTVFeederLive::_cond [private]

Definition at line 51 of file iptvfeederlive.h.

Referenced by Run(), and Stop().


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