Torc  0.1
Public Slots | Signals | Properties | List of all members
TorcControls Class Referencefinal

#include <torccontrols.h>

Inheritance diagram for TorcControls:
[legend]

Public Slots

void SubscriberDeleted (QObject *Subscriber)
 
QVariantMap GetControlList (void)
 
QStringList GetControlTypes (void)
 

Signals

void ControlsChanged (void)
 

Properties

QVariantMap controlList
 

Additional Inherited Members

- Public Member Functions inherited from TorcHTTPService
 TorcHTTPService (QObject *Parent, const QString &Signature, const QString &Name, const QMetaObject &MetaObject, const QString &Blacklist=QStringLiteral(""))
 
virtual ~TorcHTTPService ()
 
void ProcessHTTPRequest (const QString &PeerAddress, int PeerPort, const QString &LocalAddress, int LocalPort, TorcHTTPRequest &Request) override
 
QVariantMap ProcessRequest (const QString &Method, const QVariant &Parameters, QObject *Connection, bool Authenticated) override
 
QString GetMethod (int Index)
 
QVariant GetProperty (int Index)
 Get the value of a given property. More...
 
QVariantMap GetServiceDetails (void)
 Return a QVariantMap describing the services methods and properties. More...
 
virtual QString GetPresentationURL (void)
 
- Public Member Functions inherited from TorcHTTPHandler
 TorcHTTPHandler (const QString &Signature, const QString &Name)
 
virtual ~TorcHTTPHandler ()
 
QString Signature (void) const
 
bool GetRecursive (void) const
 
QString Name (void) const
 
- Public Member Functions inherited from TorcDeviceHandler
 TorcDeviceHandler ()
 
virtual ~TorcDeviceHandler ()=default
 
- Static Public Member Functions inherited from TorcDeviceHandler
static void Start (const QVariantMap &Details)
 
static void Stop (void)
 
- Protected Member Functions inherited from TorcHTTPService
void HandleSubscriberDeleted (QObject *Subscriber)
 
- Protected Member Functions inherited from TorcDeviceHandler
TorcDeviceHandlerGetNextHandler (void)
 
- Static Protected Member Functions inherited from TorcHTTPHandler
static bool MethodIsAuthorised (TorcHTTPRequest &Request, int Allowed)
 Check the current request is authorised and set the authentication header if not. More...
 
static void HandleOptions (TorcHTTPRequest &Request, int Allowed)
 
static void HandleFile (TorcHTTPRequest &Request, const QString &Filename, int Cache)
 
- Static Protected Member Functions inherited from TorcDeviceHandler
static TorcDeviceHandlerGetDeviceHandler (void)
 
- Protected Attributes inherited from TorcHTTPService
QReadWriteLock m_httpServiceLock
 
- Protected Attributes inherited from TorcHTTPHandler
QString m_signature
 
bool m_recursive
 
QString m_name
 
- Protected Attributes inherited from TorcDeviceHandler
QReadWriteLock m_handlerLock
 

Detailed Description

Definition at line 10 of file torccontrols.h.

Member Function Documentation

NOTIFY TorcControls::ControlsChanged ( void  )
signaldefault
QVariantMap TorcControls::GetControlList ( void  )
slot

Definition at line 153 of file torccontrols.cpp.

QStringList TorcControls::GetControlTypes ( void  )
slot

Definition at line 173 of file torccontrols.cpp.

void TorcControls::SubscriberDeleted ( QObject *  Subscriber)
slot

Definition at line 148 of file torccontrols.cpp.

Property Documentation

QVariantMap TorcControls::controlList
read

Definition at line 15 of file torccontrols.h.


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