MythTV  master
Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
DeviceLocation Class Reference

#include <upnpdevice.h>

Inheritance diagram for DeviceLocation:
Inheritance graph
[legend]
Collaboration diagram for DeviceLocation:
Collaboration graph
[legend]

Public Member Functions

 DeviceLocation (const QString &sURI, const QString &sUSN, const QString &sLocation, TaskTime ttExpires)
 
int ExpiresInSecs (void) const
 
UPnpDeviceDescGetDeviceDesc (void)
 
QString GetFriendlyName (void)
 
QString GetNameAndDetails (void)
 
void GetDeviceDetail (InfoMap &map)
 
bool NeedSecurityPin (void)
 
QString toString () const
 
- Public Member Functions inherited from ReferenceCounter
 ReferenceCounter (const QString &debugName, bool logDebug=true)
 Creates reference counter with an initial value of 1. More...
 
virtual int IncrRef (void)
 Increments reference count. More...
 
virtual int DecrRef (void)
 Decrements reference count and deletes on 0. More...
 

Public Attributes

QString m_sURI
 
QString m_sUSN
 
QString m_sLocation
 
TaskTime m_ttExpires
 
QString m_sSecurityPin
 

Static Public Attributes

static int g_nAllocated = 0
 

Protected Member Functions

virtual ~DeviceLocation ()
 
- Protected Member Functions inherited from ReferenceCounter
virtual ~ReferenceCounter (void)
 Called on destruction, will warn if object deleted with references in place. More...
 

Protected Attributes

UPnpDeviceDescm_pDeviceDesc
 
- Protected Attributes inherited from ReferenceCounter
bool m_logDebug
 This is used to suppress creating LoggingItem classes for LoggingItem reference count changes. More...
 
QAtomicInt m_referenceCount {1}
 

Additional Inherited Members

- Static Public Member Functions inherited from ReferenceCounter
static void PrintDebug (void)
 Print out any leaks if that level of debugging is enabled. More...
 

Detailed Description

Definition at line 203 of file upnpdevice.h.

Constructor & Destructor Documentation

◆ ~DeviceLocation()

virtual DeviceLocation::~DeviceLocation ( )
inlineprotectedvirtual

Definition at line 215 of file upnpdevice.h.

◆ DeviceLocation()

DeviceLocation::DeviceLocation ( const QString &  sURI,
const QString &  sUSN,
const QString &  sLocation,
TaskTime  ttExpires 
)
inline

Definition at line 238 of file upnpdevice.h.

Member Function Documentation

◆ ExpiresInSecs()

int DeviceLocation::ExpiresInSecs ( void  ) const
inline

Definition at line 255 of file upnpdevice.h.

◆ GetDeviceDesc()

UPnpDeviceDesc* DeviceLocation::GetDeviceDesc ( void  )
inline

Definition at line 265 of file upnpdevice.h.

Referenced by VBox::doUPNPSearch().

◆ GetFriendlyName()

QString DeviceLocation::GetFriendlyName ( void  )
inline

Definition at line 275 of file upnpdevice.h.

Referenced by BackendSelection::ConnectBackend(), and VBox::doUPNPSearch().

◆ GetNameAndDetails()

QString DeviceLocation::GetNameAndDetails ( void  )
inline

Definition at line 290 of file upnpdevice.h.

◆ GetDeviceDetail()

void DeviceLocation::GetDeviceDetail ( InfoMap map)
inline

Definition at line 302 of file upnpdevice.h.

Referenced by BackendSelection::AddItem().

◆ NeedSecurityPin()

bool DeviceLocation::NeedSecurityPin ( void  )
inline

Definition at line 313 of file upnpdevice.h.

Referenced by BackendSelection::AddItem().

◆ toString()

QString DeviceLocation::toString ( void  ) const
inline

Definition at line 322 of file upnpdevice.h.

Member Data Documentation

◆ g_nAllocated

int DeviceLocation::g_nAllocated = 0
static

Definition at line 207 of file upnpdevice.h.

Referenced by SSDPCache::Dump(), and SSDPExtension::GetDeviceList().

◆ m_pDeviceDesc

UPnpDeviceDesc* DeviceLocation::m_pDeviceDesc
protected

Definition at line 224 of file upnpdevice.h.

◆ m_sURI

QString DeviceLocation::m_sURI

Definition at line 228 of file upnpdevice.h.

◆ m_sUSN

QString DeviceLocation::m_sUSN

◆ m_sLocation

QString DeviceLocation::m_sLocation

◆ m_ttExpires

TaskTime DeviceLocation::m_ttExpires

Definition at line 231 of file upnpdevice.h.

Referenced by SSDPCache::Add().

◆ m_sSecurityPin

QString DeviceLocation::m_sSecurityPin

Definition at line 232 of file upnpdevice.h.


The documentation for this class was generated from the following files: