|
| TorcCameraStillsOutput (const QString &ModelId, const QVariantMap &Details) |
|
virtual | ~TorcCameraStillsOutput () |
|
TorcOutput::Type | GetType (void) override |
|
void | Start (void) override |
|
void | Stop (void) override |
| Stop the device. More...
|
|
| TorcCameraOutput (TorcOutput::Type Type, double Value, const QString &ModelId, const QVariantMap &Details, QObject *Output, const QMetaObject &MetaObject, const QString &Blacklist=QStringLiteral("")) |
|
virtual | ~TorcCameraOutput ()=default |
|
| TorcOutput (TorcOutput::Type Type, double Value, const QString &ModelId, const QVariantMap &Details) |
|
| TorcOutput (TorcOutput::Type Type, double Value, const QString &ModelId, const QVariantMap &Details, QObject *Output, const QMetaObject &MetaObject, const QString &Blacklist=QStringLiteral("")) |
|
virtual | ~TorcOutput ()=default |
|
bool | HasOwner (void) |
|
bool | SetOwner (QObject *Owner) |
|
QString | GetUIName (void) override |
|
| TorcReferenceCounter (void) |
|
virtual | ~TorcReferenceCounter (void)=default |
|
void | UpRef (void) |
|
virtual bool | DownRef (void) |
|
bool | IsShared (void) |
|
| 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 |
|
|
enum | Type {
Unknown = 0,
Temperature,
pH,
Switch,
PWM,
Button,
Camera,
Integer,
MaxType
} |
|
static void | EventLoopEnding (bool Ending) |
|
TorcCameraThread * | m_thread |
|
QReadWriteLock | m_threadLock |
|
TorcCameraParams | m_params |
|
QReadWriteLock | m_paramsLock |
|
QString | m_cameraName |
|
TorcCameraParams & | GetParams (void) |
|
void | SetParams (TorcCameraParams &Params) |
|
void | Graph (QByteArray *Data) override |
|
void | SetCameraName (const QString &Name) |
|
virtual | ~TorcDevice () |
|
void | HandleSubscriberDeleted (QObject *Subscriber) |
|
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) |
|
double | value |
|
double | defaultValue |
|
QString | modelId |
|
QString | uniqueId |
|
QString | userName |
|
QString | userDescription |
|
QMutex | lock |
|
bool | wasInvalid |
|
QAtomicInt | m_refCount |
|
QReadWriteLock | m_httpServiceLock |
|
Protected Attributes inherited from TorcHTTPHandler |
QString | m_signature |
|
bool | m_recursive |
|
QString | m_name |
|
static QHash< QString, TorcDevice * > * | gDeviceList = new QHash<QString,TorcDevice*>() |
|
static QMutex * | gDeviceListLock = new QMutex(QMutex::Recursive) |
|
static bool | m_eventLoopEnding = false |
|
Definition at line 50 of file torccameraoutput.h.