Home

Dokumentation

Impressum

Dokumentation VDR
 

Main Page   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields   Globals  

receiver.h

Go to the documentation of this file.
00001 
00010 #ifndef __RECEIVER_H
00011 #define __RECEIVER_H
00012 
00013 #include "device.h"
00014 
00015 #define MAXRECEIVEPIDS  16 // the maximum number of PIDs per receiver
00016 
00018 class cReceiver {
00019   friend class cDevice;
00020 private:
00021   cDevice *device;
00022   int ca;
00023   int priority;
00024   int pids[MAXRECEIVEPIDS];
00025   bool WantsPid(int Pid);
00026 protected:
00027   void Detach(void);
00028 
00035   virtual void Activate(bool On) {}
00036 
00045   virtual void Receive(uchar *Data, int Length) = 0;
00046 
00047 public:
00057   cReceiver(int Ca, int Priority, int NumPids, ...);
00058 
00059   virtual ~cReceiver();
00060   };
00061 
00062 #endif //__RECEIVER_H
00063 

Generated on Wed Feb 5 23:30:11 2003 for VDR by doxygen1.3-rc2