vdr  2.2.0
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 3.0 2013/03/01 09:49:46 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 
17 class cTransfer : public cReceiver, public cPlayer {
18 private:
20 protected:
21  virtual void Activate(bool On);
22  virtual void Receive(uchar *Data, int Length);
23 public:
24  cTransfer(const cChannel *Channel);
25  virtual ~cTransfer();
26  };
27 
28 class cTransferControl : public cControl {
29 private:
32 public:
33  cTransferControl(cDevice *ReceiverDevice, const cChannel *Channel);
35  virtual void Hide(void) {}
36  static cDevice *ReceiverDevice(void) { return receiverDevice; }
37  };
38 
39 #endif //__TRANSFER_H
unsigned char uchar
Definition: tools.h:30
static cDevice * receiverDevice
Definition: transfer.h:31
virtual void Activate(bool On)
Definition: transfer.c:26
static cDevice * ReceiverDevice(void)
Definition: transfer.h:36
virtual void Hide(void)
Definition: transfer.h:35
virtual ~cTransfer()
Definition: transfer.c:20
cTransfer * transfer
Definition: transfer.h:30
Definition: player.h:16
virtual void Receive(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:41
cPatPmtGenerator patPmtGenerator
Definition: transfer.h:19
cTransfer(const cChannel *Channel)
Definition: transfer.c:14
The cDevice class is the base from which actual devices can be derived.
Definition: device.h:109