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 (QString sURI, QString sUSN, QString sLocation, TaskTime ttExpires)
 
std::chrono::seconds 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

 ~DeviceLocation () override
 
- 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 { nullptr }
 
- 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 210 of file upnpdevice.h.

Constructor & Destructor Documentation

◆ ~DeviceLocation()

DeviceLocation::~DeviceLocation ( )
inlineoverrideprotected

Definition at line 222 of file upnpdevice.h.

◆ DeviceLocation()

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

Definition at line 244 of file upnpdevice.h.

Member Function Documentation

◆ ExpiresInSecs()

std::chrono::seconds DeviceLocation::ExpiresInSecs ( void  ) const
inline

Definition at line 260 of file upnpdevice.h.

◆ GetDeviceDesc()

UPnpDeviceDesc* DeviceLocation::GetDeviceDesc ( void  )
inline

Definition at line 268 of file upnpdevice.h.

◆ GetFriendlyName()

QString DeviceLocation::GetFriendlyName ( void  )
inline

Definition at line 278 of file upnpdevice.h.

Referenced by BackendSelection::ConnectBackend().

◆ GetNameAndDetails()

QString DeviceLocation::GetNameAndDetails ( void  )
inline

Definition at line 293 of file upnpdevice.h.

◆ GetDeviceDetail()

void DeviceLocation::GetDeviceDetail ( InfoMap map)
inline

Definition at line 305 of file upnpdevice.h.

Referenced by BackendSelection::AddItem().

◆ NeedSecurityPin()

bool DeviceLocation::NeedSecurityPin ( void  )
inline

Definition at line 316 of file upnpdevice.h.

Referenced by BackendSelection::AddItem().

◆ toString()

QString DeviceLocation::toString ( ) const
inline

Definition at line 325 of file upnpdevice.h.

Member Data Documentation

◆ g_nAllocated

int DeviceLocation::g_nAllocated = 0
static

Definition at line 214 of file upnpdevice.h.

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

◆ m_pDeviceDesc

UPnpDeviceDesc* DeviceLocation::m_pDeviceDesc { nullptr }
protected

Definition at line 230 of file upnpdevice.h.

◆ m_sURI

QString DeviceLocation::m_sURI

Definition at line 234 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 237 of file upnpdevice.h.

Referenced by SSDPCache::Add().

◆ m_sSecurityPin

QString DeviceLocation::m_sSecurityPin

Definition at line 238 of file upnpdevice.h.


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