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

#include <libmythbase/http/mythhttpmetaservice.h>

Collaboration diagram for MythHTTPMetaService:
[legend]

Public Member Functions

 MythHTTPMetaService (const QString &Name, const QMetaObject &Meta, const HTTPRegisterTypes &RegisterCallback=nullptr, const QString &MethodsToHide={})
 

Static Public Member Functions

static int ParseRequestTypes (const QMetaObject &Meta, const QString &Method, QString &ReturnName)
 
static bool isProtected (const QMetaObject &Meta, const QString &Method)
 

Public Attributes

const QMetaObject & m_meta
 
QString m_name
 
QString m_version
 
HTTPMethods m_signals
 
HTTPMethods m_slots
 
HTTPProperties m_properties
 

Detailed Description

Note
Instances of this class SHOULD be initialised statically to improve performance but MUST NOT be initialised globally. This is because a number of Qt types (e.g. enums) and our own custom types will not have been initialised at that point (i.e. qRegisterMetatype<>() has not been called).

Definition at line 10 of file mythhttpmetaservice.h.

Constructor & Destructor Documentation

◆ MythHTTPMetaService()

MythHTTPMetaService::MythHTTPMetaService ( const QString &  Name,
const QMetaObject &  Meta,
const HTTPRegisterTypes RegisterCallback = nullptr,
const QString &  MethodsToHide = {} 
)

Definition at line 16 of file mythhttpmetaservice.cpp.

Member Function Documentation

◆ ParseRequestTypes()

int MythHTTPMetaService::ParseRequestTypes ( const QMetaObject &  Meta,
const QString &  Method,
QString &  ReturnName 
)
static

Definition at line 129 of file mythhttpmetaservice.cpp.

Referenced by MythHTTPMetaService().

◆ isProtected()

bool MythHTTPMetaService::isProtected ( const QMetaObject &  Meta,
const QString &  Method 
)
static

Definition at line 168 of file mythhttpmetaservice.cpp.

Referenced by MythHTTPMetaService().

Member Data Documentation

◆ m_meta

const QMetaObject& MythHTTPMetaService::m_meta

Definition at line 20 of file mythhttpmetaservice.h.

Referenced by MythWSDL::GetWSDL(), and MythHTTPService::HTTPRequest().

◆ m_name

QString MythHTTPMetaService::m_name

Definition at line 21 of file mythhttpmetaservice.h.

Referenced by MythWSDL::GetWSDL().

◆ m_version

QString MythHTTPMetaService::m_version

Definition at line 22 of file mythhttpmetaservice.h.

Referenced by MythHTTPMetaService().

◆ m_signals

HTTPMethods MythHTTPMetaService::m_signals

Definition at line 23 of file mythhttpmetaservice.h.

Referenced by MythHTTPMetaService().

◆ m_slots

HTTPMethods MythHTTPMetaService::m_slots

◆ m_properties

HTTPProperties MythHTTPMetaService::m_properties

Definition at line 25 of file mythhttpmetaservice.h.

Referenced by MythHTTPMetaService().


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