cFrame Class Reference

#include <ringbuffer.h>

Collaboration diagram for cFrame:

Collaboration graph
[legend]

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

cFramenext
uchardata
int count
eFrameType type
int index

Friends

class cRingBufferFrame


Detailed Description

Definition at line 96 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 334 of file ringbuffer.c.

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

cFrame::~cFrame (  ) 

Definition at line 351 of file ringbuffer.c.

References data.


Member Function Documentation

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

Definition at line 110 of file ringbuffer.h.

References data.

Referenced by cDvbPlayer::Action().

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

Definition at line 111 of file ringbuffer.h.

References count.

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

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

Definition at line 112 of file ringbuffer.h.

References type.

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

Definition at line 113 of file ringbuffer.h.

References index.

Referenced by cDvbPlayer::Action().


Friends And Related Function Documentation

friend class cRingBufferFrame [friend]

Definition at line 97 of file ringbuffer.h.


Member Data Documentation

cFrame* cFrame::next [private]

Definition at line 99 of file ringbuffer.h.

Referenced by cFrame(), cRingBufferFrame::Drop(), cRingBufferFrame::Get(), and cRingBufferFrame::Put().

uchar* cFrame::data [private]

Definition at line 100 of file ringbuffer.h.

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

int cFrame::count [private]

Definition at line 101 of file ringbuffer.h.

Referenced by cFrame(), and Count().

eFrameType cFrame::type [private]

Definition at line 102 of file ringbuffer.h.

Referenced by cFrame(), and Type().

int cFrame::index [private]

Definition at line 103 of file ringbuffer.h.

Referenced by cFrame(), and Index().


The documentation for this class was generated from the following files:
Generated on Tue Nov 6 20:12:32 2007 for VDR by  doxygen 1.5.3-20071008