Go to the documentation of this file.
30 const char *msg =
"ERROR: cReceiver has not been detached yet! This is a design fault and VDR will abort now!";
32 fprintf(stderr,
"%s\n", msg);
53 dsyslog(
"too many PIDs in cReceiver (Pid = %d)", Pid);
71 bool cReceiver::AddPids(
int Pid1,
int Pid2,
int Pid3,
int Pid4,
int Pid5,
int Pid6,
int Pid7,
int Pid8,
int Pid9)
93 for (
int i = 0; i <
numPids; i++) {
117 for (
int i = 0; i <
numPids; i++) {
void SetPriority(int Priority)
void DelPids(const int *Pids)
Deletes the given zero terminated list of Pids from the list of PIDs of this receiver.
bool AddPids(const int *Pids)
Adds the given zero terminated list of Pids to the list of PIDs of this receiver.
cReceiver(const cChannel *Channel=NULL, int Priority=MINPRIORITY)
Creates a new receiver for the given Channel with the given Priority.
bool AddPid(int Pid, ePidType PidType=ptOther, int StreamType=0)
Adds a PID to the set of PIDs this device shall receive.
void Detach(cFilter *Filter)
Detaches the given filter from this device.
const int * Dpids(void) const
bool AddPid(int Pid)
Adds the given Pid to the list of PIDs of this receiver.
time_t startScrambleDetection
void DelPid(int Pid, ePidType PidType=ptOther)
Deletes a PID from the set of PIDs this device shall receive.
void DelPid(int Pid)
Deletes the given Pid from the list of PIDs of this receiver.
tChannelID GetChannelID(void) const
const int * Spids(void) const
bool SetPids(const cChannel *Channel)
Sets the PIDs of this receiver to those of the given Channel, replacing any previously stored PIDs.
time_t lastScrambledPacket
const int * Apids(void) const