MythTV  master
Public Member Functions | Protected Member Functions | List of all members
UPnpServiceImpl Class Referenceabstract

Base class for services we offer to other UPnP devices. More...

#include <upnpserviceimpl.h>

Inheritance diagram for UPnpServiceImpl:
Inheritance graph
[legend]

Public Member Functions

 UPnpServiceImpl ()=default
 
virtual ~UPnpServiceImpl ()=default
 
void RegisterService (UPnpDevice *device)
 Creates a UPnpService and adds it to the UPnpDevice's list of services. More...
 

Protected Member Functions

virtual QString GetServiceType (void)=0
 Provices the schema urn. More...
 
virtual QString GetServiceId (void)=0
 Provides the device specific urn. More...
 
virtual QString GetServiceControlURL (void)=0
 Provices the base URL for control commands. More...
 
virtual QString GetServiceDescURL (void)=0
 Provices the URL of the service description XML. More...
 
virtual QString GetServiceEventURL (void)
 Provides the URL of the event portion of the service. More...
 

Detailed Description

Base class for services we offer to other UPnP devices.

Definition at line 29 of file upnpserviceimpl.h.

Constructor & Destructor Documentation

◆ UPnpServiceImpl()

UPnpServiceImpl::UPnpServiceImpl ( )
default

◆ ~UPnpServiceImpl()

virtual UPnpServiceImpl::~UPnpServiceImpl ( )
virtualdefault

Member Function Documentation

◆ RegisterService()

void UPnpServiceImpl::RegisterService ( UPnpDevice device)

Creates a UPnpService and adds it to the UPnpDevice's list of services.

Definition at line 5 of file upnpserviceimpl.cpp.

Referenced by MythFEXML::MythFEXML(), UPnpCDS::UPnpCDS(), UPnpCMGR::UPnpCMGR(), and UPnpMSRR::UPnpMSRR().

◆ GetServiceType()

virtual QString UPnpServiceImpl::GetServiceType ( void  )
protectedpure virtual

Provices the schema urn.

Implemented in MythFEXML, UPnpMSRR, UPnpCMGR, and UPnpCDS.

Referenced by RegisterService().

◆ GetServiceId()

virtual QString UPnpServiceImpl::GetServiceId ( void  )
protectedpure virtual

Provides the device specific urn.

Implemented in MythFEXML, UPnpMSRR, UPnpCMGR, and UPnpCDS.

Referenced by RegisterService().

◆ GetServiceControlURL()

virtual QString UPnpServiceImpl::GetServiceControlURL ( void  )
protectedpure virtual

Provices the base URL for control commands.

Implemented in MythFEXML, UPnpMSRR, UPnpCMGR, and UPnpCDS.

Referenced by RegisterService().

◆ GetServiceDescURL()

virtual QString UPnpServiceImpl::GetServiceDescURL ( void  )
protectedpure virtual

Provices the URL of the service description XML.

Implemented in MythFEXML, UPnpMSRR, UPnpCMGR, and UPnpCDS.

Referenced by RegisterService().

◆ GetServiceEventURL()

virtual QString UPnpServiceImpl::GetServiceEventURL ( void  )
inlineprotectedvirtual

Provides the URL of the event portion of the service.

Reimplemented in Eventing.

Definition at line 47 of file upnpserviceimpl.h.

Referenced by RegisterService().


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