C++ Based OPC UA Client/Server/PubSub SDK
1.7.9.586
|
Wrapper class for the UA stack structure OpcUa_SemanticChangeStructureDataType. More...
#include <uasemanticchangestructuredatatype.h>
Public Member Functions | |
UaSemanticChangeStructureDataType () | |
Constructs an instance of the class UaSemanticChangeStructureDataType with empty default values. | |
UaSemanticChangeStructureDataType (const UaSemanticChangeStructureDataType &other) | |
Constructs an instance of the class UaSemanticChangeStructureDataType with values from another UaSemanticChangeStructureDataType object. More... | |
UaSemanticChangeStructureDataType (const OpcUa_SemanticChangeStructureDataType &other) | |
Constructs an instance of the class UaSemanticChangeStructureDataType with values from another OpcUa_SemanticChangeStructureDataType structure. More... | |
UaSemanticChangeStructureDataType (const UaNodeId &affected, const UaNodeId &affectedType) | |
Constructs an instance of the class UaSemanticChangeStructureDataType with values provided in the constructor. | |
UaSemanticChangeStructureDataType (const UaExtensionObject &extensionObject) | |
Constructs an instance of the class UaSemanticChangeStructureDataType initialized with value from a UaExtensionObject. More... | |
UaSemanticChangeStructureDataType (const OpcUa_ExtensionObject &extensionObject) | |
Constructs an instance of the class UaSemanticChangeStructureDataType initialized with value from an OpcUa_ExtensionObject structure. More... | |
~UaSemanticChangeStructureDataType () | |
Destroys the UaSemanticChangeStructureDataType object. | |
void | clear () |
Clear the data of the UaSemanticChangeStructureDataType. More... | |
bool | operator== (const UaSemanticChangeStructureDataType &other) const |
Compare two UaSemanticChangeStructureDataType for equality. More... | |
bool | operator!= (const UaSemanticChangeStructureDataType &other) const |
Compare two UaSemanticChangeStructureDataType for inequality. More... | |
UaSemanticChangeStructureDataType & | operator= (const UaSemanticChangeStructureDataType &other) |
Assignment operator. More... | |
OpcUa_SemanticChangeStructureDataType * | copy () const |
Copy UaSemanticChangeStructureDataType data to a newly allocated OpcUa_SemanticChangeStructureDataType. More... | |
void | copyTo (OpcUa_SemanticChangeStructureDataType *pDst) const |
Copy UaSemanticChangeStructureDataType data to an existing OpcUa_SemanticChangeStructureDataType structure. More... | |
void | attach (OpcUa_SemanticChangeStructureDataType *pValue) |
Attaches to an existing OpcUa_SemanticChangeStructureDataType structure. More... | |
OpcUa_SemanticChangeStructureDataType * | detach (OpcUa_SemanticChangeStructureDataType *pDst) |
Detaches the internal SemanticChangeStructureDataType structure from this class. More... | |
UaNodeId | getAffected () const |
NodeId of the Node that owns the Property that has changed. | |
UaNodeId | getAffectedType () const |
If the affected Node was an object or Variable, affectedType contains the NodeId of the TypeDefinitionNode of the affected Node. More... | |
void | setAffected (const UaNodeId &affected) |
NodeId of the Node that owns the Property that has changed. | |
void | setAffectedType (const UaNodeId &affectedType) |
If the affected Node was an object or Variable, affectedType contains the NodeId of the TypeDefinitionNode of the affected Node. More... | |
Static Public Member Functions | |
static OpcUa_SemanticChangeStructureDataType * | clone (const OpcUa_SemanticChangeStructureDataType &source) |
Copy OpcUa_SemanticChangeStructureDataType data to a newly allocated OpcUa_SemanticChangeStructureDataType. More... | |
static void | cloneTo (const OpcUa_SemanticChangeStructureDataType &source, OpcUa_SemanticChangeStructureDataType ©) |
Copy OpcUa_SemanticChangeStructureDataType data to an existing OpcUa_SemanticChangeStructureDataType structure. More... | |
Wrapper class for the UA stack structure OpcUa_SemanticChangeStructureDataType.
This class encapsulates the native OpcUa_SemanticChangeStructureDataType structure and handles memory allocation and cleanup for you. UaSemanticChangeStructureDataType uses implicit sharing to avoid needless copying and to boost the performance. Only if you modify a shared SemanticChangeStructureDataType it creates a copy for that (copy-on-write). So assigning another UaSemanticChangeStructureDataType or passing it as parameter needs constant time and is nearly as fast as assigning a pointer.
Contains elements that describe a change of the model.
UaSemanticChangeStructureDataType::UaSemanticChangeStructureDataType | ( | const UaSemanticChangeStructureDataType & | other | ) |
Constructs an instance of the class UaSemanticChangeStructureDataType with values from another UaSemanticChangeStructureDataType object.
other | the other UaSemanticChangeStructureDataType used to initialize the object |
UaSemanticChangeStructureDataType::UaSemanticChangeStructureDataType | ( | const OpcUa_SemanticChangeStructureDataType & | other | ) |
Constructs an instance of the class UaSemanticChangeStructureDataType with values from another OpcUa_SemanticChangeStructureDataType structure.
other | the other OpcUa_SemanticChangeStructureDataType used to initialize the object |
UaSemanticChangeStructureDataType::UaSemanticChangeStructureDataType | ( | const UaExtensionObject & | extensionObject | ) |
Constructs an instance of the class UaSemanticChangeStructureDataType initialized with value from a UaExtensionObject.
extensionObject | the extension object containing the SemanticChangeStructureDataType |
UaSemanticChangeStructureDataType::UaSemanticChangeStructureDataType | ( | const OpcUa_ExtensionObject & | extensionObject | ) |
Constructs an instance of the class UaSemanticChangeStructureDataType initialized with value from an OpcUa_ExtensionObject structure.
extensionObject | the extension object containing the SemanticChangeStructureDataType |
void UaSemanticChangeStructureDataType::attach | ( | OpcUa_SemanticChangeStructureDataType * | pValue | ) |
Attaches to an existing OpcUa_SemanticChangeStructureDataType structure.
Don't manually free the attached structure afterwards, because UaSemanticChangeStructureDataType is responsible for it now.
pValue | [in] Parameter to attach to. |
void UaSemanticChangeStructureDataType::clear | ( | ) |
Clear the data of the UaSemanticChangeStructureDataType.
|
static |
Copy OpcUa_SemanticChangeStructureDataType data to a newly allocated OpcUa_SemanticChangeStructureDataType.
source | Source to clone. |
|
static |
Copy OpcUa_SemanticChangeStructureDataType data to an existing OpcUa_SemanticChangeStructureDataType structure.
source | the source of the clone operation. |
copy | the destination of the clone operation. |
OpcUa_SemanticChangeStructureDataType * UaSemanticChangeStructureDataType::copy | ( | ) | const |
Copy UaSemanticChangeStructureDataType data to a newly allocated OpcUa_SemanticChangeStructureDataType.
void UaSemanticChangeStructureDataType::copyTo | ( | OpcUa_SemanticChangeStructureDataType * | pDst | ) | const |
Copy UaSemanticChangeStructureDataType data to an existing OpcUa_SemanticChangeStructureDataType structure.
pDst | the destination of this copy operation. |
OpcUa_SemanticChangeStructureDataType * UaSemanticChangeStructureDataType::detach | ( | OpcUa_SemanticChangeStructureDataType * | pDst | ) |
Detaches the internal SemanticChangeStructureDataType structure from this class.
This way you take over the control of freeing the SemanticChangeStructureDataType data. If more than one reference exists, the data is copied to pDst instead of being detached.
pDst | [out] Pointer to an OpcUa_SemanticChangeStructureDataType structure that receives the SemanticChangeStructureDataType data. |
UaNodeId UaSemanticChangeStructureDataType::getAffectedType | ( | ) | const |
If the affected Node was an object or Variable, affectedType contains the NodeId of the TypeDefinitionNode of the affected Node.
Otherwise it is set to null.
bool UaSemanticChangeStructureDataType::operator!= | ( | const UaSemanticChangeStructureDataType & | other | ) | const |
Compare two UaSemanticChangeStructureDataType for inequality.
other | the UaSemanticChangeStructureDataType to compare with. |
UaSemanticChangeStructureDataType & UaSemanticChangeStructureDataType::operator= | ( | const UaSemanticChangeStructureDataType & | other | ) |
Assignment operator.
other | the UaSemanticChangeStructureDataType to assign. |
bool UaSemanticChangeStructureDataType::operator== | ( | const UaSemanticChangeStructureDataType & | other | ) | const |
Compare two UaSemanticChangeStructureDataType for equality.
other | the UaSemanticChangeStructureDataType to compare with. |
void UaSemanticChangeStructureDataType::setAffectedType | ( | const UaNodeId & | affectedType | ) |
If the affected Node was an object or Variable, affectedType contains the NodeId of the TypeDefinitionNode of the affected Node.
Otherwise it is set to null.