#include <mythraopdevice.h>
Public Member Functions | |
| MythRAOPDevice () | |
| bool | NextInAudioQueue (MythRAOPConnection *conn) |
Static Public Member Functions | |
| static bool | Create (void) |
| static void | Cleanup (void) |
| static QString | HardwareId () |
Private Slots | |
| void | Start () |
| void | newConnection (QTcpSocket *client) |
| void | deleteClient () |
Private Member Functions | |
| virtual | ~MythRAOPDevice (void) |
| void | Teardown (void) |
Private Attributes | |
| QString | m_name |
| QByteArray | m_hardwareId |
| BonjourRegister * | m_bonjour |
| bool | m_valid |
| QMutex * | m_lock |
| int | m_setupPort |
| QList< MythRAOPConnection * > | m_clients |
Static Private Attributes | |
| static MythRAOPDevice * | gMythRAOPDevice = NULL |
| static QMutex * | gMythRAOPDeviceMutex = new QMutex(QMutex::Recursive) |
| static MThread * | gMythRAOPDeviceThread = NULL |
Definition at line 17 of file mythraopdevice.h.
| MythRAOPDevice::MythRAOPDevice | ( | ) |
Definition at line 100 of file mythraopdevice.cpp.
Referenced by Create().
| MythRAOPDevice::~MythRAOPDevice | ( | void | ) | [private, virtual] |
Definition at line 107 of file mythraopdevice.cpp.
| bool MythRAOPDevice::Create | ( | void | ) | [static] |
Definition at line 19 of file mythraopdevice.cpp.
Referenced by main().
| void MythRAOPDevice::Cleanup | ( | void | ) | [static] |
Definition at line 80 of file mythraopdevice.cpp.
| bool MythRAOPDevice::NextInAudioQueue | ( | MythRAOPConnection * | conn | ) |
Definition at line 203 of file mythraopdevice.cpp.
Referenced by MythRAOPConnection::audioRetry().
| QString MythRAOPDevice::HardwareId | ( | ) | [static] |
Definition at line 63 of file mythraopdevice.cpp.
Referenced by MythAirplayServer::GetMacAddress(), and MythRAOPDevice().
| void MythRAOPDevice::Start | ( | void | ) | [private, slot] |
Definition at line 135 of file mythraopdevice.cpp.
Referenced by Create().
| void MythRAOPDevice::newConnection | ( | QTcpSocket * | client | ) | [private, slot] |
Reimplemented from ServerPool.
Definition at line 213 of file mythraopdevice.cpp.
Referenced by Start().
| void MythRAOPDevice::deleteClient | ( | void | ) | [private, slot] |
Definition at line 251 of file mythraopdevice.cpp.
Referenced by newConnection().
| void MythRAOPDevice::Teardown | ( | void | ) | [private] |
Definition at line 115 of file mythraopdevice.cpp.
Referenced by Cleanup(), and ~MythRAOPDevice().
MythRAOPDevice * MythRAOPDevice::gMythRAOPDevice = NULL [static, private] |
Definition at line 39 of file mythraopdevice.h.
QMutex * MythRAOPDevice::gMythRAOPDeviceMutex = new QMutex(QMutex::Recursive) [static, private] |
Definition at line 40 of file mythraopdevice.h.
MThread * MythRAOPDevice::gMythRAOPDeviceThread = NULL [static, private] |
Definition at line 41 of file mythraopdevice.h.
QString MythRAOPDevice::m_name [private] |
Definition at line 44 of file mythraopdevice.h.
Referenced by Start().
QByteArray MythRAOPDevice::m_hardwareId [private] |
Definition at line 45 of file mythraopdevice.h.
Referenced by MythRAOPDevice(), newConnection(), and Start().
BonjourRegister* MythRAOPDevice::m_bonjour [private] |
Definition at line 46 of file mythraopdevice.h.
Referenced by Start(), and Teardown().
bool MythRAOPDevice::m_valid [private] |
Definition at line 47 of file mythraopdevice.h.
Referenced by Start(), and Teardown().
QMutex* MythRAOPDevice::m_lock [private] |
Definition at line 48 of file mythraopdevice.h.
Referenced by deleteClient(), newConnection(), NextInAudioQueue(), Start(), Teardown(), and ~MythRAOPDevice().
int MythRAOPDevice::m_setupPort [private] |
Definition at line 49 of file mythraopdevice.h.
Referenced by Start().
QList<MythRAOPConnection*> MythRAOPDevice::m_clients [private] |
Definition at line 50 of file mythraopdevice.h.
Referenced by deleteClient(), newConnection(), NextInAudioQueue(), and Teardown().
1.6.3