cTransfer Class Reference

#include <transfer.h>

Inheritance diagram for cTransfer:

Inheritance graph
[legend]
Collaboration diagram for cTransfer:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 cTransfer (tChannelID ChannelID, int VPid, const int *APids, const int *DPids, const int *SPids)
virtual ~cTransfer ()

Protected Member Functions

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

Private Attributes

cPatPmtGenerator patPmtGenerator


Detailed Description

Definition at line 17 of file transfer.h.


Constructor & Destructor Documentation

cTransfer::cTransfer ( tChannelID  ChannelID,
int  VPid,
const int *  APids,
const int *  DPids,
const int *  SPids 
)

Definition at line 14 of file transfer.c.

References cPatPmtGenerator::GeneratePmt(), and patPmtGenerator.

Here is the call graph for this function:

cTransfer::~cTransfer (  )  [virtual]

Definition at line 20 of file transfer.c.

References cPlayer::Detach(), and cReceiver::Detach().

Here is the call graph for this function:


Member Function Documentation

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

Reimplemented from cPlayer.

Definition at line 26 of file transfer.c.

References cPatPmtGenerator::GetPat(), cPatPmtGenerator::GetPmt(), patPmtGenerator, cPlayer::PlayTs(), and TS_SIZE.

Here is the call graph for this function:

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 36 of file transfer.c.

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

Here is the call graph for this function:


Member Data Documentation

Definition at line 19 of file transfer.h.

Referenced by Activate(), and cTransfer().


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

Generated on Tue Jan 13 14:33:16 2009 for VDR by  doxygen 1.5.6