cFrame Class Reference

#include <ringbuffer.h>

Collaboration diagram for cFrame:

Collaboration graph

List of all members.

Public Member Functions

 cFrame (const uchar *Data, int Count, eFrameType=ftUnknown, int Index=-1)
 ~cFrame ()
ucharData (void) const
int Count (void) const
eFrameType Type (void) const
int Index (void) const

Private Attributes

int count
eFrameType type
int index


class cRingBufferFrame

Detailed Description

Definition at line 103 of file ringbuffer.h.

Constructor & Destructor Documentation

cFrame::cFrame ( const uchar Data,
int  Count,
eFrameType  Type = ftUnknown,
int  Index = -1 

Creates a new cFrame object. If Count is negative, the cFrame object will take ownership of the given Data. Otherwise it will allocate Count bytes of memory and copy Data.

Definition at line 338 of file ringbuffer.c.

References count, data, esyslog, index, MALLOC, next, and type.

cFrame::~cFrame (  ) 

Definition at line 355 of file ringbuffer.c.

References data.

Member Function Documentation

uchar* cFrame::Data ( void   )  const [inline]

Definition at line 117 of file ringbuffer.h.

References data.

Referenced by cDvbPlayer::Action().

int cFrame::Count ( void   )  const [inline]

Definition at line 118 of file ringbuffer.h.

References count.

Referenced by cDvbPlayer::Action(), cRingBufferFrame::Delete(), and cRingBufferFrame::Put().

eFrameType cFrame::Type ( void   )  const [inline]

Definition at line 119 of file ringbuffer.h.

References type.

int cFrame::Index ( void   )  const [inline]

Definition at line 120 of file ringbuffer.h.

References index.

Referenced by cDvbPlayer::Action().

Friends And Related Function Documentation

friend class cRingBufferFrame [friend]

Definition at line 104 of file ringbuffer.h.

Member Data Documentation

cFrame* cFrame::next [private]

uchar* cFrame::data [private]

Definition at line 107 of file ringbuffer.h.

Referenced by cFrame(), Data(), and ~cFrame().

int cFrame::count [private]

Definition at line 108 of file ringbuffer.h.

Referenced by cFrame(), and Count().

Definition at line 109 of file ringbuffer.h.

Referenced by cFrame(), and Type().

int cFrame::index [private]

Definition at line 110 of file ringbuffer.h.

Referenced by cFrame(), and Index().

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

Generated on Tue Jan 13 14:29:01 2009 for VDR by  doxygen 1.5.6