QAxisInformation Class


The OPC UA AxisInformation type More...

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

Public Functions

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

The OPC UA AxisInformation type

This is the Qt OPC UA 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


Default constructs an instance of QAxisInformation.

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

Constructs a QAxisInformation with engineering units p_engineeringUnits, range p_eURange, title p_title, scaling p_axisScaleType and axis steps p_axisSteps.

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

Returns true if this QAxisInformation has the same value as 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.