MythXML Class Reference

#include <mythxml.h>

Inheritance diagram for MythXML:

Eventing HttpServerExtension StateVariables IPostProcess UPnpServiceImpl

List of all members.


Detailed Description

Definition at line 67 of file mythxml.h.


Public Member Functions

 MythXML (UPnpDevice *pDevice)
virtual ~MythXML ()
bool ProcessRequest (HttpWorkerThread *pThread, HTTPRequest *pRequest)

Static Public Member Functions

static void FillProgramInfo (QDomDocument *pDoc, QDomNode &node, ProgramInfo *pInfo, bool bIncChannel=true, bool bDetails=true)
static void FillChannelInfo (QDomElement &channel, ProgramInfo *pInfo, bool bDetails=true)

Protected Member Functions

virtual QString GetServiceType ()
virtual QString GetServiceId ()
virtual QString GetServiceControlURL ()
virtual QString GetServiceDescURL ()

Private Member Functions

MythXMLMethod GetMethod (const QString &sURI)
void GetProgramGuide (HTTPRequest *pRequest)
void GetProgramDetails (HTTPRequest *pRequest)
void GetHosts (HTTPRequest *pRequest)
void GetKeys (HTTPRequest *pRequest)
void GetSetting (HTTPRequest *pRequest)
void PutSetting (HTTPRequest *pRequest)
void GetChannelIcon (HTTPRequest *pRequest)
void GetRecorded (HTTPRequest *pRequest)
void GetPreviewImage (HTTPRequest *pRequest)
void GetConnectionInfo (HTTPRequest *pRequest)
void GetAlbumArt (HTTPRequest *pRequest)
void GetVideoArt (HTTPRequest *pRequest)
void GetExpiring (HTTPRequest *pRequest)
void GetRecording (HttpWorkerThread *pThread, HTTPRequest *pRequest)
void GetMusic (HttpWorkerThread *pThread, HTTPRequest *pRequest)
void GetVideo (HttpWorkerThread *pThread, HTTPRequest *pRequest)
void GetDeviceDesc (HTTPRequest *pRequest)
void GetFile (HTTPRequest *pRequest, QString sFileName)

Private Attributes

QString m_sControlUrl
QString m_sServiceDescFileName
Schedulerm_pSched
QMap< int, EncoderLink * > * m_pEncoders
AutoExpirem_pExpirer
bool m_bIsMaster
int m_nPreRollSeconds

Constructor & Destructor Documentation

MythXML::MythXML ( UPnpDevice pDevice  ) 

Definition at line 34 of file mythxml.cpp.

MythXML::~MythXML (  )  [virtual]

Definition at line 61 of file mythxml.cpp.


Member Function Documentation

virtual QString MythXML::GetServiceType (  )  [inline, protected, virtual]

Implements UPnpServiceImpl.

Definition at line 84 of file mythxml.h.

virtual QString MythXML::GetServiceId (  )  [inline, protected, virtual]

Implements UPnpServiceImpl.

Definition at line 85 of file mythxml.h.

virtual QString MythXML::GetServiceControlURL (  )  [inline, protected, virtual]

Implements UPnpServiceImpl.

Definition at line 86 of file mythxml.h.

virtual QString MythXML::GetServiceDescURL (  )  [inline, protected, virtual]

Implements UPnpServiceImpl.

Definition at line 87 of file mythxml.h.

MythXMLMethod MythXML::GetMethod ( const QString &  sURI  )  [private]

Definition at line 69 of file mythxml.cpp.

Referenced by ProcessRequest().

void MythXML::GetProgramGuide ( HTTPRequest pRequest  )  [private]

Definition at line 459 of file mythxml.cpp.

Referenced by ProcessRequest().

void MythXML::GetProgramDetails ( HTTPRequest pRequest  )  [private]

Definition at line 619 of file mythxml.cpp.

Referenced by ProcessRequest().

void MythXML::GetHosts ( HTTPRequest pRequest  )  [private]

Definition at line 209 of file mythxml.cpp.

Referenced by ProcessRequest().

void MythXML::GetKeys ( HTTPRequest pRequest  )  [private]

Definition at line 254 of file mythxml.cpp.

Referenced by ProcessRequest().

void MythXML::GetSetting ( HTTPRequest pRequest  )  [private]

Definition at line 300 of file mythxml.cpp.

Referenced by ProcessRequest().

void MythXML::PutSetting ( HTTPRequest pRequest  )  [private]

Definition at line 430 of file mythxml.cpp.

Referenced by ProcessRequest().

void MythXML::GetChannelIcon ( HTTPRequest pRequest  )  [private]

Definition at line 714 of file mythxml.cpp.

Referenced by ProcessRequest().

void MythXML::GetRecorded ( HTTPRequest pRequest  )  [private]

Definition at line 993 of file mythxml.cpp.

Referenced by ProcessRequest().

void MythXML::GetPreviewImage ( HTTPRequest pRequest  )  [private]

Definition at line 1103 of file mythxml.cpp.

Referenced by ProcessRequest().

void MythXML::GetConnectionInfo ( HTTPRequest pRequest  )  [private]

Definition at line 1579 of file mythxml.cpp.

Referenced by ProcessRequest().

void MythXML::GetAlbumArt ( HTTPRequest pRequest  )  [private]

Definition at line 876 of file mythxml.cpp.

Referenced by ProcessRequest().

void MythXML::GetVideoArt ( HTTPRequest pRequest  )  [private]

Definition at line 808 of file mythxml.cpp.

Referenced by GetVideo(), and ProcessRequest().

void MythXML::GetExpiring ( HTTPRequest pRequest  )  [private]

Definition at line 1058 of file mythxml.cpp.

Referenced by ProcessRequest().

void MythXML::GetRecording ( HttpWorkerThread pThread,
HTTPRequest pRequest 
) [private]

Definition at line 1247 of file mythxml.cpp.

Referenced by ProcessRequest().

void MythXML::GetMusic ( HttpWorkerThread pThread,
HTTPRequest pRequest 
) [private]

Definition at line 1381 of file mythxml.cpp.

Referenced by ProcessRequest().

void MythXML::GetVideo ( HttpWorkerThread pThread,
HTTPRequest pRequest 
) [private]

Definition at line 1472 of file mythxml.cpp.

Referenced by ProcessRequest().

void MythXML::GetDeviceDesc ( HTTPRequest pRequest  )  [private]

void MythXML::GetFile ( HTTPRequest pRequest,
QString  sFileName 
) [private]

bool MythXML::ProcessRequest ( HttpWorkerThread pThread,
HTTPRequest pRequest 
) [virtual]

Reimplemented from Eventing.

Definition at line 99 of file mythxml.cpp.

void MythXML::FillProgramInfo ( QDomDocument *  pDoc,
QDomNode &  node,
ProgramInfo pInfo,
bool  bIncChannel = true,
bool  bDetails = true 
) [static]

void MythXML::FillChannelInfo ( QDomElement &  channel,
ProgramInfo pInfo,
bool  bDetails = true 
) [static]

Definition at line 1736 of file mythxml.cpp.

Referenced by FillProgramInfo(), and GetProgramGuide().


Member Data Documentation

QString MythXML::m_sControlUrl [private]

Definition at line 71 of file mythxml.h.

Referenced by GetServiceControlURL(), GetServiceDescURL(), MythXML(), and ProcessRequest().

Definition at line 72 of file mythxml.h.

Referenced by MythXML(), and ProcessRequest().

Definition at line 74 of file mythxml.h.

Referenced by GetProgramDetails(), GetProgramGuide(), GetRecorded(), and MythXML().

QMap<int, EncoderLink *>* MythXML::m_pEncoders [private]

Definition at line 75 of file mythxml.h.

Referenced by MythXML().

Definition at line 76 of file mythxml.h.

Referenced by GetExpiring(), and MythXML().

Definition at line 77 of file mythxml.h.

Definition at line 78 of file mythxml.h.

Referenced by MythXML().


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

Generated on Sat Dec 18 05:16:08 2010 for MythTV by  doxygen 1.5.5