MythTV  master
Classes | Typedefs | Functions
upnputil.h File Reference
#include <utility>
#include <QMap>
#include <QStringList>
#include "upnpexp.h"
#include "mythchrono.h"
Include dependency graph for upnputil.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  NameValue
 
class  NameValues
 

Typedefs

using TaskTime = std::chrono::microseconds
 
using QStringMap = QMap< QString, QString >
 
using QStringMultiMap = QMultiMap< QString, QString >
 

Functions

template<class T >
const T & Min (const T &x, const T &y)
 
template<class T >
const T & Max (const T &x, const T &y)
 
QString LookupUDN (const QString &sDeviceType)
 
UPNP_PUBLIC QStringList GetSourceProtocolInfos ()
 Return a QStringList containing the supported Source Protocols. More...
 
UPNP_PUBLIC QStringList GetSinkProtocolInfos ()
 Return a QStringList containing the supported Sink Protocols. More...
 

Typedef Documentation

◆ TaskTime

using TaskTime = std::chrono::microseconds

Definition at line 43 of file upnputil.h.

◆ QStringMap

using QStringMap = QMap< QString, QString >

Definition at line 44 of file upnputil.h.

◆ QStringMultiMap

using QStringMultiMap = QMultiMap< QString, QString >

Definition at line 45 of file upnputil.h.

Function Documentation

◆ Min()

template<class T >
const T& Min ( const T &  x,
const T &  y 
)
inline

Definition at line 30 of file upnputil.h.

Referenced by MythRenderVulkan::CreateSampler(), and UPnpCDS::HandleBrowse().

◆ Max()

template<class T >
const T& Max ( const T &  x,
const T &  y 
)
inline

◆ LookupUDN()

QString LookupUDN ( const QString &  sDeviceType)

Definition at line 45 of file upnputil.cpp.

Referenced by UPnpDevice::GetUDN().

◆ GetSourceProtocolInfos()

UPNP_PUBLIC QStringList GetSourceProtocolInfos ( )

Return a QStringList containing the supported Source Protocols.

TODO Extend this to dynamically list all supported protocols (e.g. RTSP) and any DLNA profile stuff that we can figure out

Definition at line 90 of file upnputil.cpp.

Referenced by MediaServer::Init().

◆ GetSinkProtocolInfos()

UPNP_PUBLIC QStringList GetSinkProtocolInfos ( )

Return a QStringList containing the supported Sink Protocols.

TODO Extend this to dynamically list all supported protocols (e.g. RTSP) and any DLNA profile stuff that we can figure out

Definition at line 142 of file upnputil.cpp.

Referenced by MediaRenderer::MediaRenderer().