C++ Based OPC UA Client/Server/PubSub SDK
1.7.8.584
|
Wrapper class for the UA stack structure OpcUa_SamplingIntervalDiagnosticsDataType. More...
#include <uasamplingintervaldiagnosticsdatatype.h>
Static Public Member Functions | |
static OpcUa_SamplingIntervalDiagnosticsDataType * | clone (const OpcUa_SamplingIntervalDiagnosticsDataType &source) |
Copy OpcUa_SamplingIntervalDiagnosticsDataType data to a newly allocated OpcUa_SamplingIntervalDiagnosticsDataType. More... | |
static void | cloneTo (const OpcUa_SamplingIntervalDiagnosticsDataType &source, OpcUa_SamplingIntervalDiagnosticsDataType ©) |
Copy OpcUa_SamplingIntervalDiagnosticsDataType data to an existing OpcUa_SamplingIntervalDiagnosticsDataType structure. More... | |
Wrapper class for the UA stack structure OpcUa_SamplingIntervalDiagnosticsDataType.
This class encapsulates the native OpcUa_SamplingIntervalDiagnosticsDataType structure and handles memory allocation and cleanup for you. UaSamplingIntervalDiagnosticsDataType uses implicit sharing to avoid needless copying and to boost the performance. Only if you modify a shared SamplingIntervalDiagnosticsDataType it creates a copy for that (copy-on-write). So assigning another UaSamplingIntervalDiagnosticsDataType or passing it as parameter needs constant time and is nearly as fast as assigning a pointer.
Contains diagnostic information about the sampling rates currently used by the Server.
UaSamplingIntervalDiagnosticsDataType::UaSamplingIntervalDiagnosticsDataType | ( | const UaSamplingIntervalDiagnosticsDataType & | other | ) |
Constructs an instance of the class UaSamplingIntervalDiagnosticsDataType with values from another UaSamplingIntervalDiagnosticsDataType object.
other | the other UaSamplingIntervalDiagnosticsDataType used to initialize the object |
UaSamplingIntervalDiagnosticsDataType::UaSamplingIntervalDiagnosticsDataType | ( | const OpcUa_SamplingIntervalDiagnosticsDataType & | other | ) |
Constructs an instance of the class UaSamplingIntervalDiagnosticsDataType with values from another OpcUa_SamplingIntervalDiagnosticsDataType structure.
other | the other OpcUa_SamplingIntervalDiagnosticsDataType used to initialize the object |
UaSamplingIntervalDiagnosticsDataType::UaSamplingIntervalDiagnosticsDataType | ( | const UaExtensionObject & | extensionObject | ) |
Constructs an instance of the class UaSamplingIntervalDiagnosticsDataType initialized with value from a UaExtensionObject.
extensionObject | the extension object containing the SamplingIntervalDiagnosticsDataType |
UaSamplingIntervalDiagnosticsDataType::UaSamplingIntervalDiagnosticsDataType | ( | const OpcUa_ExtensionObject & | extensionObject | ) |
Constructs an instance of the class UaSamplingIntervalDiagnosticsDataType initialized with value from an OpcUa_ExtensionObject structure.
extensionObject | the extension object containing the SamplingIntervalDiagnosticsDataType |
void UaSamplingIntervalDiagnosticsDataType::attach | ( | OpcUa_SamplingIntervalDiagnosticsDataType * | pValue | ) |
Attaches to an existing OpcUa_SamplingIntervalDiagnosticsDataType structure.
Don't manually free the attached structure afterwards, because UaSamplingIntervalDiagnosticsDataType is responsible for it now.
pValue | [in] Parameter to attach to. |
void UaSamplingIntervalDiagnosticsDataType::clear | ( | ) |
Clear the data of the UaSamplingIntervalDiagnosticsDataType.
|
static |
Copy OpcUa_SamplingIntervalDiagnosticsDataType data to a newly allocated OpcUa_SamplingIntervalDiagnosticsDataType.
source | Source to clone. |
|
static |
Copy OpcUa_SamplingIntervalDiagnosticsDataType data to an existing OpcUa_SamplingIntervalDiagnosticsDataType structure.
source | the source of the clone operation. |
copy | the destination of the clone operation. |
OpcUa_SamplingIntervalDiagnosticsDataType * UaSamplingIntervalDiagnosticsDataType::copy | ( | ) | const |
Copy UaSamplingIntervalDiagnosticsDataType data to a newly allocated OpcUa_SamplingIntervalDiagnosticsDataType.
void UaSamplingIntervalDiagnosticsDataType::copyTo | ( | OpcUa_SamplingIntervalDiagnosticsDataType * | pDst | ) | const |
Copy UaSamplingIntervalDiagnosticsDataType data to an existing OpcUa_SamplingIntervalDiagnosticsDataType structure.
pDst | the destination of this copy operation. |
OpcUa_SamplingIntervalDiagnosticsDataType * UaSamplingIntervalDiagnosticsDataType::detach | ( | OpcUa_SamplingIntervalDiagnosticsDataType * | pDst | ) |
Detaches the internal SamplingIntervalDiagnosticsDataType structure from this class.
This way you take over the control of freeing the SamplingIntervalDiagnosticsDataType data. If more than one reference exists, the data is copied to pDst instead of being detached.
pDst | [out] Pointer to an OpcUa_SamplingIntervalDiagnosticsDataType structure that receives the SamplingIntervalDiagnosticsDataType data. |
bool UaSamplingIntervalDiagnosticsDataType::operator!= | ( | const UaSamplingIntervalDiagnosticsDataType & | other | ) | const |
Compare two UaSamplingIntervalDiagnosticsDataType for inequality.
other | the UaSamplingIntervalDiagnosticsDataType to compare with. |
UaSamplingIntervalDiagnosticsDataType & UaSamplingIntervalDiagnosticsDataType::operator= | ( | const UaSamplingIntervalDiagnosticsDataType & | other | ) |
Assignment operator.
other | the UaSamplingIntervalDiagnosticsDataType to assign. |
bool UaSamplingIntervalDiagnosticsDataType::operator== | ( | const UaSamplingIntervalDiagnosticsDataType & | other | ) | const |
Compare two UaSamplingIntervalDiagnosticsDataType for equality.
other | the UaSamplingIntervalDiagnosticsDataType to compare with. |