|
| UaAxisInformation () |
| Constructs an instance of the class UaAxisInformation with empty default values.
|
|
| UaAxisInformation (const UaAxisInformation &other) |
| Constructs an instance of the class UaAxisInformation with values from another UaAxisInformation object. More...
|
|
| UaAxisInformation (const OpcUa_AxisInformation &other) |
| Constructs an instance of the class UaAxisInformation with values from another OpcUa_AxisInformation structure. More...
|
|
| UaAxisInformation (const UaEUInformation &engineeringUnits, const UaRange &eURange, const UaLocalizedText &title, OpcUa_AxisScaleEnumeration axisScaleType, const UaDoubleArray &axisSteps) |
| Constructs an instance of the class UaAxisInformation with values provided in the constructor.
|
|
| UaAxisInformation (const UaExtensionObject &extensionObject) |
| Constructs an instance of the class UaAxisInformation initialized with value from a UaExtensionObject. More...
|
|
| UaAxisInformation (const OpcUa_ExtensionObject &extensionObject) |
| Constructs an instance of the class UaAxisInformation initialized with value from an OpcUa_ExtensionObject structure. More...
|
|
| ~UaAxisInformation () |
| Destroys the UaAxisInformation object.
|
|
void | clear () |
| Clear the data of the UaAxisInformation. More...
|
|
bool | operator== (const UaAxisInformation &other) const |
| Compare two UaAxisInformation for equality. More...
|
|
bool | operator!= (const UaAxisInformation &other) const |
| Compare two UaAxisInformation for inequality. More...
|
|
UaAxisInformation & | operator= (const UaAxisInformation &other) |
| Assignment operator. More...
|
|
OpcUa_AxisInformation * | copy () const |
| Copy UaAxisInformation data to a newly allocated OpcUa_AxisInformation. More...
|
|
void | copyTo (OpcUa_AxisInformation *pDst) const |
| Copy UaAxisInformation data to an existing OpcUa_AxisInformation structure. More...
|
|
void | attach (OpcUa_AxisInformation *pValue) |
| Attaches to an existing OpcUa_AxisInformation structure. More...
|
|
OpcUa_AxisInformation * | detach (OpcUa_AxisInformation *pDst) |
| Detaches the internal AxisInformation structure from this class. More...
|
|
UaEUInformation | getEngineeringUnits () const |
| Holds the information about the engineering units for a given axis.
|
|
UaRange | getEURange () const |
| Limits of the range of the axis.
|
|
UaLocalizedText | getTitle () const |
| User readable axis title. More...
|
|
OpcUa_AxisScaleEnumeration | getAxisScaleType () const |
| LINEAR, LOG, LN, defined by AxisSteps (see OpcUa_AxisScaleEnumeration).
|
|
void | getAxisSteps (UaDoubleArray &axisSteps) const |
| Specific value of each axis step. More...
|
|
void | setEngineeringUnits (const UaEUInformation &engineeringUnits) |
| Holds the information about the engineering units for a given axis.
|
|
void | setEURange (const UaRange &eURange) |
| Limits of the range of the axis.
|
|
void | setTitle (const UaLocalizedText &title) |
| User readable axis title. More...
|
|
void | setAxisScaleType (OpcUa_AxisScaleEnumeration axisScaleType) |
| LINEAR, LOG, LN, defined by AxisSteps (see OpcUa_AxisScaleEnumeration).
|
|
void | setAxisSteps (const UaDoubleArray &axisSteps) |
| Specific value of each axis step. More...
|
|
Wrapper class for the UA stack structure OpcUa_AxisInformation.
This class encapsulates the native OpcUa_AxisInformation structure and handles memory allocation and cleanup for you. UaAxisInformation uses implicit sharing to avoid needless copying and to boost the performance. Only if you modify a shared AxisInformation it creates a copy for that (copy-on-write). So assigning another UaAxisInformation or passing it as parameter needs constant time and is nearly as fast as assigning a pointer.
Defines the information for auxiliary axis for ArrayItemType Variables.
There are three typical uses of this structure:
- The step between points is constant and can be predicted using the range information and the number of points. In this case, axisSteps can be set to NULL.
- The step between points is not constant, but remains the same for a long period of time (from acquisition to acquisition for example). In this case, axisSteps contains the value of each step on the axis.
- The step between points is not constant and changes at every update. In this case, a type like XYArrayType shall be used and axisSteps is set to NULL.
When the steps in the axis are constant, axisSteps may be set to “Null” and in this case, the Range limits are used to compute the steps. The number of steps in the axis comes from the parent ArrayItem.ArrayDimensions.