vdr 2.6.1
transfer.h
Go to the documentation of this file.
1/*
2 * transfer.h: Transfer mode
3 *
4 * See the main source file 'vdr.c' for copyright information and
5 * how to reach the author.
6 *
7 * $Id: transfer.h 4.2 2017/12/07 14:56:22 kls Exp $
8 */
9
10#ifndef __TRANSFER_H
11#define __TRANSFER_H
12
13#include "player.h"
14#include "receiver.h"
15#include "remux.h"
16
17class cTransfer : public cReceiver, public cPlayer {
18private:
22protected:
23 virtual void Activate(bool On);
24 virtual void Receive(const uchar *Data, int Length);
25public:
26 cTransfer(const cChannel *Channel);
27 virtual ~cTransfer();
28 };
29
30class cTransferControl : public cControl {
31private:
34public:
37 virtual void Hide(void) {}
38 static cDevice *ReceiverDevice(void) { return receiverDevice; }
39 };
40
41#endif //__TRANSFER_H
Definition: player.h:16
static cDevice * ReceiverDevice(void)
Definition: transfer.h:38
cTransfer * transfer
Definition: transfer.h:32
static cDevice * receiverDevice
Definition: transfer.h:33
virtual void Hide(void)
Definition: transfer.h:37
virtual void Receive(const uchar *Data, int Length)
This function is called from the cDevice we are attached to, and delivers one TS packet from the set ...
Definition: transfer.c:44
time_t lastErrorReport
Definition: transfer.h:19
virtual ~cTransfer()
Definition: transfer.c:22
virtual void Activate(bool On)
Definition: transfer.c:28
int numLostPackets
Definition: transfer.h:20
cPatPmtGenerator patPmtGenerator
Definition: transfer.h:21
unsigned char uchar
Definition: tools.h:31