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:
19 time_t lastErrorReport;
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:
33 static cDevice *receiverDevice;
34public:
37 virtual void Hide(void) {}
38 static cDevice *ReceiverDevice(void) { return receiverDevice; }
39 };
40
41#endif //__TRANSFER_H
static cDevice * receiverDevice
static cDevice * ReceiverDevice(void)
cTransferControl(cDevice *ReceiverDevice, const cChannel *Channel)
virtual void Hide(void)
Definition: transfer.h:37
virtual void Activate(bool On)
time_t lastErrorReport
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 ...
cTransfer(const cChannel *Channel)
virtual ~cTransfer()
cPatPmtGenerator patPmtGenerator
unsigned char uchar