The OPC UA ComplexNumber type. More...
| Header: | #include <QOpcUaComplexNumber> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS OpcUa)target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
| qmake: | QT += opcua |
| QOpcUaComplexNumber() | |
| QOpcUaComplexNumber(float real, float imaginary) | |
| float | imaginary() const |
| float | real() const |
| void | setImaginary(float imaginary) |
| void | setReal(float real) |
| QVariant | operator QVariant() const |
| QOpcUaComplexNumber & | operator=(const QOpcUaComplexNumber &rhs) |
| bool | operator==(const QOpcUaComplexNumber &rhs) const |
The ComplexNumberType defined in OPC UA 1.05 part 8, 5.6.4. It stores a complex number with float precision.
Default constructs a complex number with no parameters set.
Constructs a complex number with real part real and imaginary part imaginary.
Returns the imaginary part of the complex number.
See also setImaginary().
Returns the real part of the complex number.
See also setReal().
Sets the imaginary part of the complex number to imaginary.
See also imaginary().
Sets the real part of the complex number to real.
See also real().
Converts this complex number to QVariant.
Sets the values from rhs in this complex number.
Returns true if this complex number has the same value as rhs.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: