38 #ifndef __JACKTRIPWORKER_H__
39 #define __JACKTRIPWORKER_H__
43 #include <QThreadPool>
46 #include <QHostAddress>
99 std::cout <<
"--- JackTripWorker TEST SLOT ---" << std::endl;
122 #endif //__JACKTRIPWORKER_H__
uint16_t mClientPort
Client Outgoing Port. By convention, the receving port will be mClientPort -1
Definition: JackTripWorker.h:110
bool isSpawning()
Check if the Thread is Spawning.
Definition: JackTripWorker.cpp:174
quint32 uint32_t
Typedef for unsigned int. This type is guaranteed to be 32-bit.
Definition: jacktrip_types.h:69
Master UDP listener on the Server.
Definition: UdpMasterListener.h:58
QHostAddress mClientAddress
Client Address.
Definition: JackTripWorker.h:106
int mNumChans
Number of Channels.
Definition: JackTripWorker.h:118
void run()
Implements the Thread Loop. To start the thread, call start() ( DO NOT CALL run() )...
Definition: JackTripWorker.cpp:100
QMutex mMutex
Mutex to protect mSpawning.
Definition: JackTripWorker.h:115
void slotTest()
Definition: JackTripWorker.h:97
virtual ~JackTripWorker()
The class destructor.
Definition: JackTripWorker.cpp:74
UdpMasterListener * mUdpMasterListener
Master Listener Socket.
Definition: JackTripWorker.h:105
volatile bool mSpawning
Definition: JackTripWorker.h:114
Prototype of the worker class that will be cloned through sending threads to the Thread Pool...
Definition: JackTripWorker.h:66
void setJackTrip(int id, uint32_t client_address, uint16_t server_port, uint16_t client_port, int num_channels)
Sets the JackTripWorker properties.
Definition: JackTripWorker.cpp:82
Main class to creates a SERVER (to listen) or a CLIENT (to connect to a listening server) to send aud...
Definition: JackTrip.h:59
uint16_t mServerPort
Server Ephemeral Incomming Port to use with Client.
Definition: JackTripWorker.h:107
JackTripWorker(UdpMasterListener *udpmasterlistener)
The class constructor.
Definition: JackTripWorker.cpp:53
quint16 uint16_t
Typedef for unsigned short. This type is guaranteed to be 16-bit.
Definition: jacktrip_types.h:67
int mID
ID thread number.
Definition: JackTripWorker.h:117