|
MythTV
0.27pre
|
#include <upnpdevice.h>

Public Member Functions | |
| UPnpDeviceDesc () | |
| virtual | ~UPnpDeviceDesc () |
| bool | Load (const QString &sFileName) |
| bool | Load (const QDomDocument &xmlDevDesc) |
| void | GetValidXML (const QString &sBaseAddress, int nPort, QTextStream &os, const QString &sUserAgent="") |
| QString | GetValidXML (const QString &sBaseAddress, int nPort) |
| QString | FindDeviceUDN (UPnpDevice *pDevice, QString sST) |
| UPnpDevice * | FindDevice (const QString &sURI) |
| void | toMap (QHash< QString, QString > &map) |
Static Public Member Functions | |
| static UPnpDevice * | FindDevice (UPnpDevice *pDevice, const QString &sURI) |
| static UPnpDeviceDesc * | Retrieve (QString &sURL) |
Public Attributes | |
| UPnpDevice | m_rootDevice |
| QString | m_sHostName |
| QUrl | m_HostUrl |
Protected Member Functions | |
| void | _InternalLoad (QDomNode oNode, UPnpDevice *pCurDevice) |
| void | ProcessIconList (QDomNode oListNode, UPnpDevice *pDevice) |
| void | ProcessServiceList (QDomNode oListNode, UPnpDevice *pDevice) |
| void | ProcessDeviceList (QDomNode oListNode, UPnpDevice *pDevice) |
| void | OutputDevice (QTextStream &os, UPnpDevice *pDevice, const QString &sUserAgent="") |
| void | SetStrValue (const QDomNode &n, QString &sValue) |
| Sets sValue param to n.firstChild().toText().nodeValue(), iff neither n.isNull() nor n.firstChild().toText().isNull() is true. | |
| void | SetNumValue (const QDomNode &n, int &nValue) |
| Sets nValue param to n.firstChild().toText().nodeValue(), iff neither n.isNull() nor n.firstChild().toText().isNull() is true. | |
| void | SetBoolValue (const QDomNode &n, bool &nValue) |
| QString | FormatValue (const QString &sName, const QString &sValue) |
| QString | FormatValue (const QString &sName, int nValue) |
| QString | GetHostName () |
Definition at line 143 of file upnpdevice.h.
| UPnpDeviceDesc::UPnpDeviceDesc | ( | ) |
Definition at line 42 of file upnpdevice.cpp.
Referenced by Retrieve().
|
virtual |
Definition at line 51 of file upnpdevice.cpp.
|
protected |
Definition at line 123 of file upnpdevice.cpp.
Referenced by Load(), and ProcessDeviceList().
|
protected |
Definition at line 186 of file upnpdevice.cpp.
Referenced by _InternalLoad().
|
protected |
Definition at line 215 of file upnpdevice.cpp.
Referenced by _InternalLoad().
|
protected |
Definition at line 249 of file upnpdevice.cpp.
Referenced by _InternalLoad().
|
protected |
Definition at line 368 of file upnpdevice.cpp.
Referenced by GetValidXML().
|
protected |
Sets sValue param to n.firstChild().toText().nodeValue(), iff neither n.isNull() nor n.firstChild().toText().isNull() is true.
Definition at line 272 of file upnpdevice.cpp.
Referenced by _InternalLoad(), ProcessIconList(), and ProcessServiceList().
Sets nValue param to n.firstChild().toText().nodeValue(), iff neither n.isNull() nor n.firstChild().toText().isNull() is true.
Definition at line 285 of file upnpdevice.cpp.
Referenced by ProcessIconList().
Definition at line 296 of file upnpdevice.cpp.
Referenced by _InternalLoad().
|
protected |
Definition at line 543 of file upnpdevice.cpp.
Referenced by OutputDevice().
|
protected |
Definition at line 556 of file upnpdevice.cpp.
|
protected |
Definition at line 680 of file upnpdevice.cpp.
Referenced by OutputDevice().
| bool UPnpDeviceDesc::Load | ( | const QString & | sFileName | ) |
Definition at line 63 of file upnpdevice.cpp.
Referenced by MediaServer::Init(), and Retrieve().
| bool UPnpDeviceDesc::Load | ( | const QDomDocument & | xmlDevDesc | ) |
Definition at line 106 of file upnpdevice.cpp.
| void UPnpDeviceDesc::GetValidXML | ( | const QString & | sBaseAddress, |
| int | nPort, | ||
| QTextStream & | os, | ||
| const QString & | sUserAgent = "" |
||
| ) |
Definition at line 328 of file upnpdevice.cpp.
Referenced by SSDPExtension::GetDeviceDesc(), and GetValidXML().
| QString UPnpDeviceDesc::GetValidXML | ( | const QString & | sBaseAddress, |
| int | nPort | ||
| ) |
Definition at line 314 of file upnpdevice.cpp.
| QString UPnpDeviceDesc::FindDeviceUDN | ( | UPnpDevice * | pDevice, |
| QString | sST | ||
| ) |
Definition at line 565 of file upnpdevice.cpp.
Referenced by SSDP::ProcessSearchRequest().
| UPnpDevice * UPnpDeviceDesc::FindDevice | ( | const QString & | sURI | ) |
Definition at line 603 of file upnpdevice.cpp.
Referenced by FindDevice().
|
static |
Definition at line 612 of file upnpdevice.cpp.
|
static |
Definition at line 638 of file upnpdevice.cpp.
Referenced by UPnp::GetDeviceDesc(), and DeviceLocation::GetDeviceDesc().
|
inline |
Definition at line 190 of file upnpdevice.h.
Referenced by DeviceLocation::GetDeviceDetail().
| UPnpDevice UPnpDeviceDesc::m_rootDevice |
Definition at line 147 of file upnpdevice.h.
Referenced by UPnpSearchTask::Execute(), UPnpNotifyTask::Execute(), FindDevice(), DeviceLocation::GetFriendlyName(), DeviceLocation::GetNameAndDetails(), GetValidXML(), Load(), MediaRenderer::MediaRenderer(), DeviceLocation::NeedSecurityPin(), and OutputDevice().
| QString UPnpDeviceDesc::m_sHostName |
Definition at line 148 of file upnpdevice.h.
Referenced by DeviceLocation::GetFriendlyName(), GetHostName(), DeviceLocation::GetNameAndDetails(), and Retrieve().
| QUrl UPnpDeviceDesc::m_HostUrl |
Definition at line 149 of file upnpdevice.h.
Referenced by Retrieve().
1.8.1.2