MythRAOPDevice Class Reference

#include <mythraopdevice.h>

Inheritance diagram for MythRAOPDevice:
ServerPool

List of all members.

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
BonjourRegisterm_bonjour
bool m_valid
QMutex * m_lock
int m_setupPort
QList< MythRAOPConnection * > m_clients

Static Private Attributes

static MythRAOPDevicegMythRAOPDevice = NULL
static QMutex * gMythRAOPDeviceMutex = new QMutex(QMutex::Recursive)
static MThreadgMythRAOPDeviceThread = NULL

Detailed Description

Definition at line 17 of file mythraopdevice.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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().


Member Data Documentation

MythRAOPDevice * MythRAOPDevice::gMythRAOPDevice = NULL [static, private]

Definition at line 39 of file mythraopdevice.h.

Referenced by Cleanup(), and Create().

QMutex * MythRAOPDevice::gMythRAOPDeviceMutex = new QMutex(QMutex::Recursive) [static, private]

Definition at line 40 of file mythraopdevice.h.

Referenced by Cleanup(), and Create().

MThread * MythRAOPDevice::gMythRAOPDeviceThread = NULL [static, private]

Definition at line 41 of file mythraopdevice.h.

Referenced by Cleanup(), and Create().

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().

Definition at line 46 of file mythraopdevice.h.

Referenced by Start(), and Teardown().

Definition at line 47 of file mythraopdevice.h.

Referenced by Start(), and Teardown().

QMutex* MythRAOPDevice::m_lock [private]

Definition at line 49 of file mythraopdevice.h.

Referenced by Start().

Definition at line 50 of file mythraopdevice.h.

Referenced by deleteClient(), newConnection(), NextInAudioQueue(), and Teardown().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Fri May 25 06:42:14 2012 for MythTV by  doxygen 1.6.3