#include <fifowriter.h>
Classes | |
| struct | fifo_buf |
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 (int id) |
Private Attributes | |
| struct FIFOWriter::fifo_buf ** | fifo_buf |
| struct FIFOWriter::fifo_buf ** | fb_inptr |
| struct FIFOWriter::fifo_buf ** | fb_outptr |
| FIFOThread * | fifothrds |
| QMutex * | fifo_lock |
| QWaitCondition * | full_cond |
| QWaitCondition * | empty_cond |
| QString * | filename |
| QString * | fbdesc |
| long * | maxblksize |
| int * | killwr |
| int * | fbcount |
| int | num_fifos |
| bool | usesync |
Friends | |
| class | FIFOThread |
Definition at line 30 of file fifowriter.h.
| FIFOWriter::FIFOWriter | ( | int | count, | |
| bool | sync | |||
| ) |
Definition at line 25 of file fifowriter.cpp.
| FIFOWriter::~FIFOWriter | ( | ) |
Definition at line 58 of file fifowriter.cpp.
| int FIFOWriter::FIFOInit | ( | int | id, | |
| QString | desc, | |||
| QString | name, | |||
| long | size, | |||
| int | num_bufs | |||
| ) |
Definition at line 91 of file fifowriter.cpp.
Referenced by Transcode::TranscodeFile().
| void FIFOWriter::FIFOWrite | ( | int | id, | |
| void * | buf, | |||
| long | size | |||
| ) |
Definition at line 203 of file fifowriter.cpp.
Referenced by Transcode::TranscodeFile().
| void FIFOWriter::FIFODrain | ( | void | ) |
Definition at line 247 of file fifowriter.cpp.
Referenced by Transcode::TranscodeFile().
| void FIFOWriter::FIFOWriteThread | ( | int | id | ) | [private] |
Definition at line 144 of file fifowriter.cpp.
Referenced by FIFOThread::run().
friend class FIFOThread [friend] |
Definition at line 32 of file fifowriter.h.
struct FIFOWriter::fifo_buf ** FIFOWriter::fifo_buf [private] |
struct FIFOWriter::fifo_buf ** FIFOWriter::fb_inptr [private] |
Referenced by FIFODrain(), FIFOInit(), FIFOWrite(), FIFOWriter(), FIFOWriteThread(), and ~FIFOWriter().
struct FIFOWriter::fifo_buf ** FIFOWriter::fb_outptr [private] |
Referenced by FIFODrain(), FIFOInit(), FIFOWrite(), FIFOWriter(), FIFOWriteThread(), and ~FIFOWriter().
FIFOThread* FIFOWriter::fifothrds [private] |
Definition at line 51 of file fifowriter.h.
Referenced by FIFOInit(), FIFOWriter(), and ~FIFOWriter().
QMutex* FIFOWriter::fifo_lock [private] |
Definition at line 52 of file fifowriter.h.
Referenced by FIFODrain(), FIFOWrite(), FIFOWriter(), FIFOWriteThread(), and ~FIFOWriter().
QWaitCondition* FIFOWriter::full_cond [private] |
Definition at line 53 of file fifowriter.h.
Referenced by FIFOWrite(), FIFOWriter(), FIFOWriteThread(), and ~FIFOWriter().
QWaitCondition* FIFOWriter::empty_cond [private] |
Definition at line 54 of file fifowriter.h.
Referenced by FIFODrain(), FIFOWrite(), FIFOWriter(), FIFOWriteThread(), and ~FIFOWriter().
QString* FIFOWriter::filename [private] |
Definition at line 56 of file fifowriter.h.
Referenced by FIFOInit(), FIFOWriter(), FIFOWriteThread(), and ~FIFOWriter().
QString * FIFOWriter::fbdesc [private] |
Definition at line 56 of file fifowriter.h.
Referenced by FIFOInit(), FIFOWrite(), FIFOWriter(), and ~FIFOWriter().
long* FIFOWriter::maxblksize [private] |
Definition at line 58 of file fifowriter.h.
Referenced by FIFOInit(), FIFOWrite(), FIFOWriter(), and ~FIFOWriter().
int* FIFOWriter::killwr [private] |
Definition at line 59 of file fifowriter.h.
Referenced by FIFODrain(), FIFOInit(), FIFOWriter(), FIFOWriteThread(), and ~FIFOWriter().
int * FIFOWriter::fbcount [private] |
Definition at line 59 of file fifowriter.h.
Referenced by FIFOInit(), FIFOWrite(), FIFOWriter(), and ~FIFOWriter().
int FIFOWriter::num_fifos [private] |
Definition at line 60 of file fifowriter.h.
Referenced by FIFODrain(), FIFOInit(), FIFOWrite(), and ~FIFOWriter().
bool FIFOWriter::usesync [private] |
Definition at line 61 of file fifowriter.h.
Referenced by FIFOInit(), and FIFOWrite().
1.6.3