SDRAngel
4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
|
#include <datvideostream.h>
Inherits QIODevice.
Signals | |
void | onDataAvailable () |
void | onDataPackets (int *intDataPackets, int *intDataBytes, int *intPercentBuffer, qint64 *intTotalReceived) |
Public Member Functions | |
DATVideostream () | |
~DATVideostream () | |
int | pushData (const char *chrData, int intSize) |
bool | setMemoryLimit (int intMemoryLimit) |
virtual bool | isSequential () const |
virtual qint64 | bytesAvailable () const |
virtual void | close () |
virtual bool | open (OpenMode mode) |
Public Attributes | |
bool | MultiThreaded |
int | ThreadTimeOut |
QQueue< QByteArray > | m_objFIFO |
Protected Member Functions | |
virtual qint64 | readData (char *data, qint64 len) |
virtual qint64 | writeData (const char *data, qint64 len) |
virtual qint64 | readLineData (char *data, qint64 maxSize) |
Private Member Functions | |
void | cleanUp () |
Private Attributes | |
QEventLoop | m_objeventLoop |
QMutex | m_objMutex |
int | m_intMemoryLimit |
int | m_intBytesAvailable |
int | m_intBytesWaiting |
int | m_intQueueWaiting |
int | m_intPercentBuffer |
qint64 | m_intTotalReceived |
qint64 | m_intPacketReceived |
Definition at line 32 of file datvideostream.h.
DATVideostream::DATVideostream | ( | ) |
Definition at line 22 of file datvideostream.cpp.
References cleanUp(), DefaultMemoryLimit, m_intMemoryLimit, m_intPacketReceived, m_intTotalReceived, m_objeventLoop, MultiThreaded, onDataAvailable(), and ThreadTimeOut.
DATVideostream::~DATVideostream | ( | ) |
Definition at line 35 of file datvideostream.cpp.
References cleanUp(), m_objeventLoop, and onDataAvailable().
|
virtual |
Definition at line 115 of file datvideostream.cpp.
References m_intBytesAvailable.
Referenced by DATVideoRender::OpenStream(), and DATVDemod::PlayVideo().
|
private |
Definition at line 41 of file datvideostream.cpp.
References m_intBytesAvailable, m_intBytesWaiting, m_intPercentBuffer, m_intQueueWaiting, m_objeventLoop, and m_objFIFO.
Referenced by close(), DATVideostream(), and ~DATVideostream().
|
virtual |
Definition at line 120 of file datvideostream.cpp.
References cleanUp().
|
virtual |
Definition at line 110 of file datvideostream.cpp.
|
signal |
Referenced by DATVideostream(), pushData(), and ~DATVideostream().
|
signal |
Referenced by DATVDemodGUI::DATVDemodGUI(), pushData(), and readData().
|
virtual |
Definition at line 126 of file datvideostream.cpp.
Referenced by DATVideoRender::OpenStream().
int DATVideostream::pushData | ( | const char * | chrData, |
int | intSize | ||
) |
Definition at line 68 of file datvideostream.cpp.
References m_intBytesAvailable, m_intBytesWaiting, m_intMemoryLimit, m_intPacketReceived, m_intPercentBuffer, m_intQueueWaiting, m_intTotalReceived, m_objeventLoop, m_objFIFO, m_objMutex, MinStackSize, onDataAvailable(), and onDataPackets().
Referenced by leansdr::datvvideoplayer< leansdr::tspacket >::run().
|
protectedvirtual |
Definition at line 134 of file datvideostream.cpp.
References m_intBytesAvailable, m_intBytesWaiting, m_intMemoryLimit, m_intPercentBuffer, m_intQueueWaiting, m_intTotalReceived, m_objeventLoop, m_objFIFO, m_objMutex, MinStackSize, MultiThreaded, onDataPackets(), and ThreadTimeOut.
|
protectedvirtual |
Definition at line 223 of file datvideostream.cpp.
bool DATVideostream::setMemoryLimit | ( | int | intMemoryLimit | ) |
|
protectedvirtual |
Definition at line 216 of file datvideostream.cpp.
|
private |
Definition at line 69 of file datvideostream.h.
Referenced by bytesAvailable(), cleanUp(), pushData(), and readData().
|
private |
Definition at line 70 of file datvideostream.h.
Referenced by cleanUp(), pushData(), and readData().
|
private |
Definition at line 68 of file datvideostream.h.
Referenced by DATVideostream(), pushData(), readData(), and setMemoryLimit().
|
private |
Definition at line 74 of file datvideostream.h.
Referenced by DATVideostream(), and pushData().
|
private |
Definition at line 72 of file datvideostream.h.
Referenced by cleanUp(), pushData(), and readData().
|
private |
Definition at line 71 of file datvideostream.h.
Referenced by cleanUp(), pushData(), and readData().
|
private |
Definition at line 73 of file datvideostream.h.
Referenced by DATVideostream(), pushData(), and readData().
|
private |
Definition at line 66 of file datvideostream.h.
Referenced by cleanUp(), DATVideostream(), pushData(), readData(), and ~DATVideostream().
QQueue<QByteArray> DATVideostream::m_objFIFO |
Definition at line 51 of file datvideostream.h.
Referenced by cleanUp(), pushData(), and readData().
|
private |
Definition at line 67 of file datvideostream.h.
Referenced by pushData(), and readData().
bool DATVideostream::MultiThreaded |
Definition at line 40 of file datvideostream.h.
Referenced by DATVideostream(), DATVDemod::PlayVideo(), and readData().
int DATVideostream::ThreadTimeOut |
Definition at line 41 of file datvideostream.h.
Referenced by DATVideostream(), DATVDemod::PlayVideo(), readData(), and DATVDemod::~DATVDemod().