Scalar Variant to be used in QML applications which is aware of the process to detect connections/or reconnect.
More...
#include <ScalarVariant.h>
|
QString | path |
|
QVariant | connection |
| if one want's to update the variable connection values in one call supply a map with {"path":path(string), "period":sampleTime(double), "offset":offset(double), "scale":scale(double), "tau":tau(double) PT1-Filter 0: if no filter .... More...
|
|
bool | connected |
|
QVariant | value |
|
double | mtime |
|
Scalar Variant to be used in QML applications which is aware of the process to detect connections/or reconnect.
◆ ScalarVariant()
PdQmlWidgets::ScalarVariant::ScalarVariant |
( |
QObject * |
parent = nullptr | ) |
|
◆ ~ScalarVariant()
virtual PdQmlWidgets::ScalarVariant::~ScalarVariant |
( |
| ) |
|
|
virtual |
◆ clearData()
void PdQmlWidgets::ScalarVariant::clearData |
( |
| ) |
|
◆ connectionUpdated
void PdQmlWidgets::ScalarVariant::connectionUpdated |
( |
| ) |
|
|
signal |
◆ dataPresentChanged
void PdQmlWidgets::ScalarVariant::dataPresentChanged |
( |
bool |
| ) |
|
|
signal |
◆ getConnection()
QVariant PdQmlWidgets::ScalarVariant::getConnection |
( |
| ) |
const |
◆ getDataPresent()
Q_INVOKABLE bool PdQmlWidgets::ScalarVariant::getDataPresent |
( |
| ) |
const |
◆ getMTime()
std::chrono::nanoseconds PdQmlWidgets::ScalarVariant::getMTime |
( |
| ) |
const |
◆ getMTimeToDouble()
double PdQmlWidgets::ScalarVariant::getMTimeToDouble |
( |
| ) |
const |
◆ getPath()
QString PdQmlWidgets::ScalarVariant::getPath |
( |
| ) |
const |
◆ getProcess()
QtPdCom::Process* PdQmlWidgets::ScalarVariant::getProcess |
( |
| ) |
const |
◆ getValue()
QVariant PdQmlWidgets::ScalarVariant::getValue |
( |
| ) |
const |
◆ hasData()
Q_INVOKABLE bool PdQmlWidgets::ScalarVariant::hasData |
( |
| ) |
const |
◆ inc()
Q_INVOKABLE void PdQmlWidgets::ScalarVariant::inc |
( |
| ) |
|
◆ pathChanged
void PdQmlWidgets::ScalarVariant::pathChanged |
( |
QString & |
| ) |
|
|
signal |
◆ setConnection()
void PdQmlWidgets::ScalarVariant::setConnection |
( |
QVariant |
| ) |
|
◆ setPath()
void PdQmlWidgets::ScalarVariant::setPath |
( |
QString |
| ) |
|
◆ setProcess()
void PdQmlWidgets::ScalarVariant::setProcess |
( |
QtPdCom::Process * |
| ) |
|
◆ setValue()
Q_INVOKABLE void PdQmlWidgets::ScalarVariant::setValue |
( |
QVariant |
| ) |
|
◆ valueChanged
void PdQmlWidgets::ScalarVariant::valueChanged |
( |
QVariant |
| ) |
|
|
signal |
Emitted, when the value changes, or the variable is disconnected.
◆ valueUpdated
void PdQmlWidgets::ScalarVariant::valueUpdated |
( |
double |
| ) |
|
|
signal |
Emitted also when value does not change but got an update from the msr process.
◆ connected
bool PdQmlWidgets::ScalarVariant::connected |
|
read |
◆ connection
QVariant PdQmlWidgets::ScalarVariant::connection |
|
readwrite |
if one want's to update the variable connection values in one call supply a map with {"path":path(string), "period":sampleTime(double), "offset":offset(double), "scale":scale(double), "tau":tau(double) PT1-Filter 0: if no filter ....
}
◆ mtime
double PdQmlWidgets::ScalarVariant::mtime |
|
read |
◆ path
QString PdQmlWidgets::ScalarVariant::path |
|
readwrite |
◆ value
QVariant PdQmlWidgets::ScalarVariant::value |
|
readwrite |
The documentation for this class was generated from the following file: