#include <fifowriter.h>
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_t * | fifothrds |
| pthread_mutex_t * | fifo_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 |
| FIFOWriter::FIFOWriter | ( | int | count, | |
| bool | sync | |||
| ) |
| FIFOWriter::~FIFOWriter | ( | ) |
Definition at line 49 of file fifowriter.cpp.
| 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] |
| void * FIFOWriter::FIFOStartThread | ( | void * | param | ) | [static, private] |
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().
pthread_t* FIFOWriter::fifothrds [private] |
Definition at line 38 of file fifowriter.h.
Referenced by FIFOInit(), FIFOWriter(), and ~FIFOWriter().
pthread_mutex_t* FIFOWriter::fifo_lock [private] |
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().
bool FIFOWriter::usesync [private] |
Definition at line 47 of file fifowriter.h.
Referenced by FIFOInit(), FIFOWrite(), and FIFOWriter().
int FIFOWriter::cur_id [private] |
1.5.5