QAxisInformation Class

(QOpcUa::QAxisInformation)
Header: #include <QAxisInformation>
qmake: QT += opcua

Public Functions

QAxisInformation()
QAxisInformation(QEUInformation p_engineeringUnits, QRange p_eURange, QLocalizedText p_title, AxisScale p_axisScaleType, QVector<double> p_axisSteps)
bool operator==(const QAxisInformation &other) const

Public Variables

AxisScale axisScaleType
QVector<double> axisSteps
QRange eURange
QEUInformation engineeringUnits
QLocalizedText title

Detailed Description

This is the QtOpcUa representation for the OPC UA AxisInformation type defined in OPC-UA part 8, 5.6.6. It contains information about an axis which can be used for multiple purposes. A common use case could involve the plotting of display data. The engineering units and the title are used for the text on the plot, range, axisScaleType and axisSteps provide the scaling and the axis ranges of the plot.

Member Function Documentation

QAxisInformation::QAxisInformation()

Default constructs an instance of QAxisInformation.

QAxisInformation::QAxisInformation(QEUInformation p_engineeringUnits, QRange p_eURange, QLocalizedText p_title, AxisScale p_axisScaleType, QVector<double> p_axisSteps)

Default constructs an instance of QAxisInformation.

bool QAxisInformation::operator==(const QAxisInformation &other) const

Compares this QAxisInformation to other.

Member Variable Documentation

AxisScale QAxisInformation::axisScaleType

The scaling of this axis, defined by QOpcUa::AxisScale.

QVector<double> QAxisInformation::axisSteps

Specific values for each axis step.

This value is empty if the points are equally distributed and the step size can be calculated from the number of steps and the range. If the steps are different for each point but constant over a longer time, there is an entry for each data point.

QRange QAxisInformation::eURange

The lower and upper values of this axis.

QEUInformation QAxisInformation::engineeringUnits

The engineering units of this axis.

QLocalizedText QAxisInformation::title

The title of this axis.

© 2017 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.