vdr  1.7.27
Public Member Functions | Protected Member Functions | Private Attributes
cTransfer Class Reference

#include <transfer.h>

List of all members.

Public Member Functions

 cTransfer (const cChannel *Channel)
virtual ~cTransfer ()
 cTransfer (const cChannel *Channel)
virtual ~cTransfer ()

Protected Member Functions

virtual void Activate (bool On)
virtual void Receive (uchar *Data, int Length)
virtual void Activate (bool On)
virtual void Receive (uchar *Data, int Length)

Private Attributes

cPatPmtGenerator patPmtGenerator

Detailed Description

Definition at line 17 of file include/vdr/transfer.h.


Constructor & Destructor Documentation

cTransfer::cTransfer ( const cChannel Channel)

Definition at line 14 of file transfer.c.

References patPmtGenerator, and cPatPmtGenerator::SetChannel().

cTransfer::~cTransfer ( ) [virtual]

Definition at line 20 of file transfer.c.

References cPlayer::Detach().

cTransfer::cTransfer ( const cChannel Channel)
virtual cTransfer::~cTransfer ( ) [virtual]

Member Function Documentation

void cTransfer::Activate ( bool  On) [protected, virtual]
virtual void cTransfer::Activate ( bool  On) [protected, virtual]

Reimplemented from cPlayer.

virtual void cTransfer::Receive ( uchar Data,
int  Length 
) [protected, virtual]

This function is called from the cDevice we are attached to, and delivers one TS packet from the set of PIDs the cReceiver has requested.

The data packet must be accepted immediately, and the call must return as soon as possible, without any unnecessary delay. Each TS packet will be delivered only ONCE, so the cReceiver must make sure that it will be able to buffer the data if necessary.

Implements cReceiver.

void cTransfer::Receive ( uchar Data,
int  Length 
) [protected, virtual]

This function is called from the cDevice we are attached to, and delivers one TS packet from the set of PIDs the cReceiver has requested.

The data packet must be accepted immediately, and the call must return as soon as possible, without any unnecessary delay. Each TS packet will be delivered only ONCE, so the cReceiver must make sure that it will be able to buffer the data if necessary.

Implements cReceiver.

Definition at line 38 of file transfer.c.

References esyslog, cPlayer::IsAttached(), cPlayer::PlayTs(), and cCondWait::SleepMs().


Member Data Documentation

Definition at line 19 of file include/vdr/transfer.h.

Referenced by Activate(), and cTransfer().


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