|
| UaXVType () |
| Constructs an instance of the class UaXVType with empty default values.
|
|
| UaXVType (const UaXVType &other) |
| Constructs an instance of the class UaXVType with values from another UaXVType object. More...
|
|
| UaXVType (const OpcUa_XVType &other) |
| Constructs an instance of the class UaXVType with values from another OpcUa_XVType structure. More...
|
|
| UaXVType (OpcUa_Double x, OpcUa_Float value) |
| Constructs an instance of the class UaXVType with values provided in the constructor.
|
|
| UaXVType (const UaExtensionObject &extensionObject) |
| Constructs an instance of the class UaXVType initialized with value from a UaExtensionObject. More...
|
|
| UaXVType (const OpcUa_ExtensionObject &extensionObject) |
| Constructs an instance of the class UaXVType initialized with value from an OpcUa_ExtensionObject structure. More...
|
|
| UaXVType (UaExtensionObject &extensionObject, OpcUa_Boolean bDetach) |
|
| UaXVType (OpcUa_ExtensionObject &extensionObject, OpcUa_Boolean bDetach) |
|
| ~UaXVType () |
| Destroys the UaXVType object.
|
|
void | clear () |
| Clear the data of the UaXVType. More...
|
|
bool | operator== (const UaXVType &other) const |
| Compare two UaXVType if they are similar. More...
|
|
bool | operator!= (const UaXVType &other) const |
| Returns true if the other UaXVType is not equal to this. More...
|
|
UaXVType & | operator= (const UaXVType &other) |
| Assignment operator. More...
|
|
OpcUa_XVType * | copy () const |
| Copy UaXVType data to a newly allocated OpcUa_XVType. More...
|
|
void | copyTo (OpcUa_XVType *pDst) const |
| Copy UaXVType data to an existing OpcUa_XVType structure. More...
|
|
void | attach (const OpcUa_XVType *pValue) |
| Attaches the data of the parameter pValue. More...
|
|
OpcUa_XVType * | detach (OpcUa_XVType *pDst) |
| Detaches the internal XVType structure from this class. More...
|
|
void | toVariant (UaVariant &variant) const |
|
void | toVariant (OpcUa_Variant &variant) const |
|
void | toVariant (UaVariant &variant, OpcUa_Boolean bDetach) |
|
void | toVariant (OpcUa_Variant &variant, OpcUa_Boolean bDetach) |
|
void | toDataValue (UaDataValue &dataValue, OpcUa_Boolean updateTimeStamps) const |
|
void | toDataValue (OpcUa_DataValue &dataValue, OpcUa_Boolean updateTimeStamps) const |
|
void | toDataValue (UaDataValue &dataValue, OpcUa_Boolean bDetach, OpcUa_Boolean updateTimeStamps) |
|
void | toDataValue (OpcUa_DataValue &dataValue, OpcUa_Boolean bDetach, OpcUa_Boolean updateTimeStamps) |
|
void | toExtensionObject (UaExtensionObject &extensionObject) const |
|
void | toExtensionObject (OpcUa_ExtensionObject &extensionObject) const |
|
void | toExtensionObject (UaExtensionObject &extensionObject, OpcUa_Boolean bDetach) |
|
void | toExtensionObject (OpcUa_ExtensionObject &extensionObject, OpcUa_Boolean bDetach) |
|
OpcUa_StatusCode | setXVType (const UaExtensionObject &extensionObject) |
|
OpcUa_StatusCode | setXVType (const OpcUa_ExtensionObject &extensionObject) |
|
OpcUa_StatusCode | setXVType (UaExtensionObject &extensionObject, OpcUa_Boolean bDetach) |
|
OpcUa_StatusCode | setXVType (OpcUa_ExtensionObject &extensionObject, OpcUa_Boolean bDetach) |
|
void | setXVType (OpcUa_Double x, OpcUa_Float value) |
|
OpcUa_Double | getX () const |
|
OpcUa_Float | getValue () const |
|
void | setX (OpcUa_Double x) |
|
void | setValue (OpcUa_Float value) |
|
Wrapper class for the UA stack structure OpcUa_XVType.
This class encapsulates the native OpcUa_XVType structure and handles memory allocation and cleanup for you. UaXVType uses implicit sharing to avoid needless copying and to boost the performance. Only if you modify a shared XVType it creates a copy for that (copy-on-write). So assigning another UaXVType or passing it as parameter needs constant time and is nearly as fast as assigning a pointer.