19 #ifndef DATVIDEOSTREAM_H 20 #define DATVIDEOSTREAM_H 29 #define MinStackSize 4 30 #define DefaultMemoryLimit 2048000 43 int pushData(
const char * chrData,
int intSize);
49 virtual bool open(OpenMode mode);
56 void onDataPackets(
int *intDataPackets,
int *intDataBytes,
int *intPercentBuffer,qint64 *intTotalReceived);
60 virtual qint64
readData(
char *data, qint64 len);
61 virtual qint64
writeData(
const char *data, qint64 len);
79 #endif // DATVIDEOSTREAM_H
QEventLoop m_objeventLoop
virtual bool isSequential() const
bool setMemoryLimit(int intMemoryLimit)
virtual qint64 readData(char *data, qint64 len)
QQueue< QByteArray > m_objFIFO
qint64 m_intTotalReceived
int pushData(const char *chrData, int intSize)
virtual qint64 writeData(const char *data, qint64 len)
virtual qint64 bytesAvailable() const
qint64 m_intPacketReceived
virtual qint64 readLineData(char *data, qint64 maxSize)
virtual bool open(OpenMode mode)
void onDataPackets(int *intDataPackets, int *intDataBytes, int *intPercentBuffer, qint64 *intTotalReceived)