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 <udpsinkutil.h>
Public Member Functions | |
UDPSinkUtil (QObject *parent, unsigned int udpSize) | |
UDPSinkUtil (QObject *parent, unsigned int udpSize, unsigned int port) | |
UDPSinkUtil (QObject *parent, unsigned int udpSize, QHostAddress &address, unsigned int port) | |
~UDPSinkUtil () | |
void | moveToThread (QThread *thread) |
void | setAddress (QString &address) |
void | setPort (unsigned int port) |
void | setDestination (const QString &address, int port) |
void | write (T sample) |
void | write (T *samples, int nbSamples) |
Private Attributes | |
int | m_udpSize |
int | m_udpSamples |
QHostAddress | m_address |
unsigned int | m_port |
QUdpSocket * | m_socket |
T * | m_sampleBuffer |
int | m_sampleBufferIndex |
Definition at line 30 of file udpsinkutil.h.
|
inline |
Definition at line 33 of file udpsinkutil.h.
|
inline |
Definition at line 45 of file udpsinkutil.h.
|
inline |
Definition at line 57 of file udpsinkutil.h.
|
inline |
Definition at line 69 of file udpsinkutil.h.
|
inline |
Definition at line 75 of file udpsinkutil.h.
|
inline |
Definition at line 80 of file udpsinkutil.h.
Referenced by UDPSink::applySettings().
|
inline |
Definition at line 83 of file udpsinkutil.h.
|
inline |
Definition at line 81 of file udpsinkutil.h.
Referenced by UDPSink::applySettings().
|
inline |
Write one sample
Definition at line 92 of file udpsinkutil.h.
Referenced by UDPSink::udpWrite(), UDPSink::udpWriteMono(), UDPSink::udpWriteNorm(), and UDPSink::udpWriteNormMono().
|
inline |
Write a bunch of samples
Definition at line 110 of file udpsinkutil.h.
|
private |
Definition at line 136 of file udpsinkutil.h.
Referenced by UDPSinkUtil< UDPSink::Sample16 >::setAddress(), UDPSinkUtil< UDPSink::Sample16 >::setDestination(), and UDPSinkUtil< UDPSink::Sample16 >::write().
|
private |
Definition at line 137 of file udpsinkutil.h.
Referenced by UDPSinkUtil< UDPSink::Sample16 >::setDestination(), UDPSinkUtil< UDPSink::Sample16 >::setPort(), and UDPSinkUtil< UDPSink::Sample16 >::write().
|
private |
Definition at line 139 of file udpsinkutil.h.
Referenced by UDPSinkUtil< UDPSink::Sample16 >::UDPSinkUtil(), UDPSinkUtil< UDPSink::Sample16 >::write(), and UDPSinkUtil< UDPSink::Sample16 >::~UDPSinkUtil().
|
private |
Definition at line 139 of file udpsinkutil.h.
Referenced by UDPSinkUtil< UDPSink::Sample16 >::write().
|
private |
Definition at line 138 of file udpsinkutil.h.
Referenced by UDPSinkUtil< UDPSink::Sample16 >::moveToThread(), UDPSinkUtil< UDPSink::Sample16 >::UDPSinkUtil(), UDPSinkUtil< UDPSink::Sample16 >::write(), and UDPSinkUtil< UDPSink::Sample16 >::~UDPSinkUtil().
|
private |
Definition at line 135 of file udpsinkutil.h.
Referenced by UDPSinkUtil< UDPSink::Sample16 >::UDPSinkUtil(), and UDPSinkUtil< UDPSink::Sample16 >::write().
|
private |
Definition at line 134 of file udpsinkutil.h.
Referenced by UDPSinkUtil< UDPSink::Sample16 >::write().