15 #define MAXRECEIVEPIDS 64 // the maximum number of PIDs per receiver 59 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)
void DelPids(const int *Pids)
Deletes the given zero terminated list of Pids from the list of PIDs of this receiver.
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.
void DelPid(int Pid)
Deletes the given Pid from the list of PIDs of this receiver.
void SetPriority(int Priority)
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...