cRingBufferLinearPes Class Reference

Inheritance diagram for cRingBufferLinearPes:

Inheritance graph
[legend]
Collaboration diagram for cRingBufferLinearPes:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 cRingBufferLinearPes (int Size, int Margin=0, bool Statistics=false, const char *Description=NULL)

Protected Member Functions

virtual int DataReady (const uchar *Data, int Count)


Detailed Description

Definition at line 1874 of file remux.c.


Constructor & Destructor Documentation

cRingBufferLinearPes::cRingBufferLinearPes ( int  Size,
int  Margin = 0,
bool  Statistics = false,
const char *  Description = NULL 
) [inline]

Definition at line 1878 of file remux.c.


Member Function Documentation

int cRingBufferLinearPes::DataReady ( const uchar Data,
int  Count 
) [protected, virtual]

By default a ring buffer has data ready as soon as there are at least 'margin' bytes available. A derived class can reimplement this function if it has other conditions that define when data is ready. The return value is either 0 if there is not yet enough data available, or the number of bytes from the beginning of Data that are "ready".

Reimplemented from cRingBufferLinear.

Definition at line 1882 of file remux.c.

References cRingBufferLinear::DataReady().

Here is the call graph for this function:


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

Generated on Tue Nov 4 20:01:24 2008 for VDR by  doxygen 1.5.6