|
| UaServiceCounterDataType () |
| Constructs an instance of the class UaServiceCounterDataType with empty default values.
|
|
| UaServiceCounterDataType (const UaServiceCounterDataType &other) |
| Constructs an instance of the class UaServiceCounterDataType with values from another UaServiceCounterDataType object. More...
|
|
| UaServiceCounterDataType (const OpcUa_ServiceCounterDataType &other) |
| Constructs an instance of the class UaServiceCounterDataType with values from another OpcUa_ServiceCounterDataType structure. More...
|
|
| UaServiceCounterDataType (OpcUa_UInt32 totalCount, OpcUa_UInt32 errorCount) |
| Constructs an instance of the class UaServiceCounterDataType with values provided in the constructor.
|
|
| UaServiceCounterDataType (const UaExtensionObject &extensionObject) |
| Constructs an instance of the class UaServiceCounterDataType initialized with value from a UaExtensionObject. More...
|
|
| UaServiceCounterDataType (const OpcUa_ExtensionObject &extensionObject) |
| Constructs an instance of the class UaServiceCounterDataType initialized with value from an OpcUa_ExtensionObject structure. More...
|
|
| UaServiceCounterDataType (UaExtensionObject &extensionObject, OpcUa_Boolean bDetach) |
|
| UaServiceCounterDataType (OpcUa_ExtensionObject &extensionObject, OpcUa_Boolean bDetach) |
|
| ~UaServiceCounterDataType () |
| Destroys the UaServiceCounterDataType object.
|
|
void | clear () |
| Clear the data of the UaServiceCounterDataType. More...
|
|
bool | operator== (const UaServiceCounterDataType &other) const |
| Compare two UaServiceCounterDataType if they are similar. More...
|
|
bool | operator!= (const UaServiceCounterDataType &other) const |
| Returns true if the other UaServiceCounterDataType is not equal to this. More...
|
|
UaServiceCounterDataType & | operator= (const UaServiceCounterDataType &other) |
| Assignment operator. More...
|
|
OpcUa_ServiceCounterDataType * | copy () const |
| Copy UaServiceCounterDataType data to a newly allocated OpcUa_ServiceCounterDataType. More...
|
|
void | copyTo (OpcUa_ServiceCounterDataType *pDst) const |
| Copy UaServiceCounterDataType data to an existing OpcUa_ServiceCounterDataType structure. More...
|
|
void | attach (const OpcUa_ServiceCounterDataType *pValue) |
| Attaches the data of the parameter pValue. More...
|
|
OpcUa_ServiceCounterDataType * | detach (OpcUa_ServiceCounterDataType *pDst) |
| Detaches the internal ServiceCounterDataType 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 | setServiceCounterDataType (const UaExtensionObject &extensionObject) |
|
OpcUa_StatusCode | setServiceCounterDataType (const OpcUa_ExtensionObject &extensionObject) |
|
OpcUa_StatusCode | setServiceCounterDataType (UaExtensionObject &extensionObject, OpcUa_Boolean bDetach) |
|
OpcUa_StatusCode | setServiceCounterDataType (OpcUa_ExtensionObject &extensionObject, OpcUa_Boolean bDetach) |
|
void | setServiceCounterDataType (OpcUa_UInt32 totalCount, OpcUa_UInt32 errorCount) |
|
OpcUa_UInt32 | getTotalCount () const |
|
OpcUa_UInt32 | getErrorCount () const |
|
void | setTotalCount (OpcUa_UInt32 totalCount) |
|
void | setErrorCount (OpcUa_UInt32 errorCount) |
|
Wrapper class for the UA stack structure OpcUa_ServiceCounterDataType.
This class encapsulates the native OpcUa_ServiceCounterDataType structure and handles memory allocation and cleanup for you. UaServiceCounterDataType uses implicit sharing to avoid needless copying and to boost the performance. Only if you modify a shared ServiceCounterDataType it creates a copy for that (copy-on-write). So assigning another UaServiceCounterDataType or passing it as parameter needs constant time and is nearly as fast as assigning a pointer.