vdr
1.7.27
|
#include <transfer.h>
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 |
Definition at line 17 of file include/vdr/transfer.h.
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] |
void cTransfer::Activate | ( | bool | On | ) | [protected, virtual] |
Reimplemented from cPlayer.
Definition at line 26 of file transfer.c.
References cPlayer::Detach(), cPatPmtGenerator::GetPat(), cPatPmtGenerator::GetPmt(), patPmtGenerator, cPlayer::PlayTs(), and TS_SIZE.
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().
cPatPmtGenerator cTransfer::patPmtGenerator [private] |
Definition at line 19 of file include/vdr/transfer.h.
Referenced by Activate(), and cTransfer().