vdr  2.2.0
Public Member Functions | Protected Member Functions | List of all members
cLiveSubtitle Class Reference

Public Member Functions

 cLiveSubtitle (int SPid)
 
virtual ~cLiveSubtitle ()
 
- Public Member Functions inherited from cReceiver
 cReceiver (const cChannel *Channel=NULL, int Priority=MINPRIORITY)
 
virtual ~cReceiver ()
 
int Priority (void)
 
void SetPriority (int Priority)
 
bool AddPid (int Pid)
 
bool AddPids (const int *Pids)
 
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)
 
bool SetPids (const cChannel *Channel)
 
void DelPid (int Pid)
 
void DelPids (const int *Pids)
 
tChannelID ChannelID (void)
 
int NumPids (void) const
 
bool IsAttached (void)
 

Protected Member Functions

virtual void Receive (uchar *Data, int Length)
 
- Protected Member Functions inherited from cReceiver
cDeviceDevice (void)
 
void Detach (void)
 
virtual void Activate (bool On)
 

Detailed Description

Definition at line 26 of file device.c.

Constructor & Destructor Documentation

cLiveSubtitle::cLiveSubtitle ( int  SPid)

Definition at line 34 of file device.c.

References cReceiver::AddPid().

cLiveSubtitle::~cLiveSubtitle ( )
virtual

Definition at line 39 of file device.c.

References cReceiver::Detach().

Member Function Documentation

void cLiveSubtitle::Receive ( uchar Data,
int  Length 
)
protectedvirtual

This function is called from the cDevice we are attached to, and delivers one TS packet from the set of PIDs the cReceiver has requested.

The data packet must be accepted immediately, and the call must return as soon as possible, without any unnecessary delay. Each TS packet will be delivered only ONCE, so the cReceiver must make sure that it will be able to buffer the data if necessary.

Implements cReceiver.

Definition at line 44 of file device.c.

References cDevice::PlayTs(), and cDevice::PrimaryDevice().


The documentation for this class was generated from the following file: