FIFOWriter Class Reference

#include <fifowriter.h>

List of all members.


Detailed Description

Definition at line 17 of file fifowriter.h.


Public Member Functions

 FIFOWriter (int count, bool sync)
 ~FIFOWriter ()
int FIFOInit (int id, QString desc, QString name, long size, int num_bufs)
void FIFOWrite (int id, void *buf, long size)
void FIFODrain (void)

Private Member Functions

void FIFOWriteThread (void)

Static Private Member Functions

static void * FIFOStartThread (void *param)

Private Attributes

struct FIFOWriter::fifo_buf ** fifo_buf
struct FIFOWriter::fifo_buf ** fb_inptr
struct FIFOWriter::fifo_buf ** fb_outptr
pthread_tfifothrds
pthread_mutex_tfifo_lock
pthread_cond_t * full_cond
pthread_cond_t * empty_cond
QString * filename
QString * fbdesc
long * maxblksize
int * killwr
int * fbcount
int num_fifos
bool usesync
int cur_id

Classes

struct  fifo_buf

Constructor & Destructor Documentation

FIFOWriter::FIFOWriter ( int  count,
bool  sync 
)

Definition at line 25 of file fifowriter.cpp.

Referenced by Transcode::TranscodeFile().

FIFOWriter::~FIFOWriter (  ) 

Definition at line 49 of file fifowriter.cpp.


Member Function Documentation

int FIFOWriter::FIFOInit ( int  id,
QString  desc,
QString  name,
long  size,
int  num_bufs 
)

Definition at line 79 of file fifowriter.cpp.

void FIFOWriter::FIFOWrite ( int  id,
void *  buf,
long  size 
)

Definition at line 166 of file fifowriter.cpp.

void FIFOWriter::FIFODrain ( void   ) 

Definition at line 216 of file fifowriter.cpp.

void FIFOWriter::FIFOWriteThread ( void   )  [private]

Definition at line 129 of file fifowriter.cpp.

Referenced by FIFOStartThread().

void * FIFOWriter::FIFOStartThread ( void *  param  )  [static, private]

Definition at line 121 of file fifowriter.cpp.

Referenced by FIFOInit().


Member Data Documentation

Definition at line 38 of file fifowriter.h.

Referenced by FIFOInit(), FIFOWriter(), and ~FIFOWriter().

Definition at line 39 of file fifowriter.h.

Referenced by FIFODrain(), FIFOWrite(), FIFOWriter(), FIFOWriteThread(), and ~FIFOWriter().

pthread_cond_t* FIFOWriter::full_cond [private]

Definition at line 40 of file fifowriter.h.

Referenced by FIFOWrite(), FIFOWriter(), FIFOWriteThread(), and ~FIFOWriter().

pthread_cond_t * FIFOWriter::empty_cond [private]

Definition at line 40 of file fifowriter.h.

Referenced by FIFODrain(), FIFOWrite(), FIFOWriter(), FIFOWriteThread(), and ~FIFOWriter().

QString* FIFOWriter::filename [private]

Definition at line 42 of file fifowriter.h.

Referenced by FIFOInit(), FIFOWriter(), FIFOWriteThread(), and ~FIFOWriter().

QString * FIFOWriter::fbdesc [private]

Definition at line 42 of file fifowriter.h.

Referenced by FIFOInit(), FIFOWrite(), FIFOWriter(), and ~FIFOWriter().

long* FIFOWriter::maxblksize [private]

Definition at line 44 of file fifowriter.h.

Referenced by FIFOInit(), FIFOWrite(), FIFOWriter(), and ~FIFOWriter().

int* FIFOWriter::killwr [private]

Definition at line 45 of file fifowriter.h.

Referenced by FIFODrain(), FIFOInit(), FIFOWriter(), FIFOWriteThread(), and ~FIFOWriter().

int * FIFOWriter::fbcount [private]

Definition at line 45 of file fifowriter.h.

Referenced by FIFOInit(), FIFOWrite(), FIFOWriter(), and ~FIFOWriter().

int FIFOWriter::num_fifos [private]

Definition at line 46 of file fifowriter.h.

Referenced by FIFODrain(), FIFOInit(), FIFOWrite(), FIFOWriter(), and ~FIFOWriter().

Definition at line 47 of file fifowriter.h.

Referenced by FIFOInit(), FIFOWrite(), and FIFOWriter().

int FIFOWriter::cur_id [private]

Definition at line 48 of file fifowriter.h.

Referenced by FIFOInit(), and FIFOWriteThread().


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

Generated on Sat Dec 18 05:16:03 2010 for MythTV by  doxygen 1.5.5