25 const char *msg =
"ERROR: cReceiver has not been detached yet! This is a design fault and VDR will abort now!";
27 fprintf(stderr,
"%s\n", msg);
43 dsyslog(
"too many PIDs in cReceiver (Pid = %d)", Pid);
61 bool cReceiver::AddPids(
int Pid1,
int Pid2,
int Pid3,
int Pid4,
int Pid5,
int Pid6,
int Pid7,
int Pid8,
int Pid9)
84 for (
int i = 0; i <
numPids; i++) {
106 for (
int i = 0; i <
numPids; i++) {
const int * Dpids(void) const
cReceiver(const cChannel *Channel=NULL, int Priority=MINPRIORITY)
Creates a new receiver for the given Channel with the given Priority.
void Detach(cFilter *Filter)
Detaches the given filter from this device.
bool AddPids(const int *Pids)
Adds the given zero terminated list of Pids to the list of PIDs of this receiver. ...
void DelPids(const int *Pids)
Deletes the given zero terminated list of Pids from the list of PIDs of this receiver.
bool SetPids(const cChannel *Channel)
Sets the PIDs of this receiver to those of the given Channel, replacing any previously stored PIDs...
tChannelID GetChannelID(void) const
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.
const int * Apids(void) const
const int * Spids(void) const
void SetPriority(int Priority)