15 #define MAXRECEIVEPIDS 64 // the maximum number of PIDs per receiver
56 bool AddPids(
int Pid1,
int Pid2,
int Pid3 = 0,
int Pid4 = 0,
int Pid5 = 0,
int Pid6 = 0,
int Pid7 = 0,
int Pid8 = 0,
int Pid9 = 0);
cReceiver(const cChannel *Channel=NULL, int Priority=MINPRIORITY)
Creates a new receiver for the given Channel with the given Priority.
bool AddPids(const int *Pids)
Adds the given zero terminated list of Pids to the list of PIDs of this receiver. ...
tChannelID ChannelID(void)
bool IsAttached(void)
Returns true if this receiver is (still) attached to a device.
bool SetPids(const cChannel *Channel)
Sets the PIDs of this receiver to those of the given Channel, replacing any previously stored PIDs...
virtual void Receive(uchar *Data, int Length)=0
This function is called from the cDevice we are attached to, and delivers one TS packet from the set ...
bool AddPid(int Pid)
Adds the given Pid to the list of PIDs of this receiver.
int Priority(void) const
Returns the priority of the current receiving session (-MAXPRIORITY..MAXPRIORITY), or IDLEPRIORITY if no receiver is currently active.
The cDevice class is the base from which actual devices can be derived.
virtual void Activate(bool On)
This function is called just before the cReceiver gets attached to (On == true) and right after it ge...