15#define MAXRECEIVEPIDS 64
64 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);
void SetPriority(int Priority)
bool IsAttached(void)
Returns true if this receiver is (still) attached to a device.
bool AddPids(const int *Pids)
Adds the given zero terminated list of Pids to the list of PIDs of this receiver.
tChannelID ChannelID(void)
virtual void Receive(const 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 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)
Adds the given Pids to the list of PIDs of this receiver.
bool AddPid(int Pid)
Adds the given Pid to 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.
void DelPids(const int *Pids)
Deletes the given zero terminated list of Pids from the list of PIDs of this receiver.
time_t startScrambleDetection
time_t lastScrambledPacket
cReceiver(const cChannel *Channel=NULL, int Priority=MINPRIORITY)
Creates a new receiver for the given Channel with the given Priority.
virtual void Activate(bool On)
This function is called just before the cReceiver gets attached to (On == true) and right after it ge...
void DelPid(int Pid)
Deletes the given Pid from the list of PIDs of this receiver.