|
| TorcTimerControl (const QString &Type, const QVariantMap &Details) |
|
| ~TorcTimerControl () |
|
TorcControl::Type | GetType (void) const override |
|
QStringList | GetDescription (void) override |
|
bool | Validate (void) override |
|
void | Start (void) override |
| Initialise the timer. More...
|
|
bool | AllowInputs (void) const override |
| Timers cannot have inputs. More...
|
|
quint64 | TimeSinceLastTransition (void) |
|
TorcTimerControl::TimerType | GetTimerType (void) const |
|
virtual bool | IsPassthrough (void) |
| Only certain logic controls can be passthrough. More...
|
|
bool | IsKnownInput (const QString &Input) const |
|
bool | IsKnownOutput (const QString &Output) const |
|
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 |
|
|
void | ValidChanged (bool Valid) |
|
void | ValueChanged (double Value) |
|
| TorcControl (TorcControl::Type Type, const QVariantMap &Details) |
|
virtual | ~TorcControl ()=default |
|
void | Graph (QByteArray *Data) |
| Add this control to the state graph. More...
|
|
bool | Finish (void) |
| Finish setup of the control. More...
|
|
void | InputValidChangedPriv (QObject *Input, bool Valid) |
|
void | CheckInputValues (void) |
|
void | SetValue (double Value) override |
|
void | SetValid (bool Valid) override |
|
bool | CheckForCircularReferences (const QString &UniqueId, const QString &Path) const |
|
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) |
|
bool | m_parsed |
|
bool | m_validated |
|
QStringList | m_inputList |
|
QStringList | m_outputList |
|
QMap< QObject *, QString > | m_inputs |
|
QMap< QObject *, QString > | m_outputs |
|
QMap< QObject *, double > | m_inputValues |
|
QMap< QObject *, double > | m_lastInputValues |
|
QMap< QObject *, bool > | m_inputValids |
|
bool | m_allInputsValid |
|
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 |
|
bool | valid |
|
Definition at line 11 of file torctimercontrol.h.