vdr  1.7.27
Public Member Functions | Private Attributes | Friends
cFrame Class Reference

#include <ringbuffer.h>

List of all members.

Public Member Functions

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

Private Attributes

cFramenext
uchardata
int count
eFrameType type
int index
uint32_t pts

Friends

class cRingBufferFrame

Detailed Description

Definition at line 105 of file include/vdr/ringbuffer.h.


Constructor & Destructor Documentation

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

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 377 of file ringbuffer.c.

References count, data, esyslog, index, Index(), MALLOC, next, pts, Pts(), type, and Type().

Definition at line 395 of file ringbuffer.c.

References data.

cFrame::cFrame ( const uchar Data,
int  Count,
eFrameType  = ftUnknown,
int  Index = -1,
uint32_t  Pts = 0 
)

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.


Member Function Documentation

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

Definition at line 121 of file include/vdr/ringbuffer.h.

References count.

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

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

Definition at line 121 of file ringbuffer.h.

References count.

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

Definition at line 120 of file include/vdr/ringbuffer.h.

References data.

Referenced by cDvbPlayer::Action().

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

Definition at line 120 of file ringbuffer.h.

References data.

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

Definition at line 123 of file ringbuffer.h.

References index.

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

Definition at line 123 of file include/vdr/ringbuffer.h.

References index.

Referenced by cDvbPlayer::Action(), and cFrame().

uint32_t cFrame::Pts ( void  ) const [inline]

Definition at line 124 of file include/vdr/ringbuffer.h.

References pts.

Referenced by cDvbPlayer::Action(), and cFrame().

uint32_t cFrame::Pts ( void  ) const [inline]

Definition at line 124 of file ringbuffer.h.

References pts.

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

Definition at line 122 of file ringbuffer.h.

References type.

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

Definition at line 122 of file include/vdr/ringbuffer.h.

References type.

Referenced by cFrame().


Friends And Related Function Documentation

cRingBufferFrame [friend]

Definition at line 106 of file include/vdr/ringbuffer.h.


Member Data Documentation

int cFrame::count [private]

Definition at line 110 of file include/vdr/ringbuffer.h.

Referenced by cFrame(), and Count().

uchar * cFrame::data [private]

Definition at line 109 of file include/vdr/ringbuffer.h.

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

int cFrame::index [private]

Definition at line 112 of file include/vdr/ringbuffer.h.

Referenced by cFrame(), and Index().

cFrame * cFrame::next [private]
uint32_t cFrame::pts [private]

Definition at line 113 of file include/vdr/ringbuffer.h.

Referenced by cFrame(), and Pts().

Definition at line 111 of file include/vdr/ringbuffer.h.

Referenced by cFrame(), and Type().


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