![]() |
C++ Based OPC UA Client/Server/PubSub SDK
1.7.6.537
|
Wrapper class for the UA stack structure OpcUa_UadpDataSetWriterMessageDataType. More...
#include <uauadpdatasetwritermessagedatatype.h>
Public Member Functions | |
UaUadpDataSetWriterMessageDataType () | |
Constructs an instance of the class UaUadpDataSetWriterMessageDataType with empty default values. | |
UaUadpDataSetWriterMessageDataType (const UaUadpDataSetWriterMessageDataType &other) | |
Constructs an instance of the class UaUadpDataSetWriterMessageDataType with values from another UaUadpDataSetWriterMessageDataType object. More... | |
UaUadpDataSetWriterMessageDataType (const OpcUa_UadpDataSetWriterMessageDataType &other) | |
Constructs an instance of the class UaUadpDataSetWriterMessageDataType with values from another OpcUa_UadpDataSetWriterMessageDataType structure. More... | |
UaUadpDataSetWriterMessageDataType (OpcUa_UadpDataSetMessageContentMask dataSetMessageContentMask, OpcUa_UInt16 configuredSize, OpcUa_UInt16 networkMessageNumber, OpcUa_UInt16 dataSetOffset) | |
Constructs an instance of the class UaUadpDataSetWriterMessageDataType with values provided in the constructor. | |
UaUadpDataSetWriterMessageDataType (const UaExtensionObject &extensionObject) | |
Constructs an instance of the class UaUadpDataSetWriterMessageDataType initialized with value from a UaExtensionObject. More... | |
UaUadpDataSetWriterMessageDataType (const OpcUa_ExtensionObject &extensionObject) | |
Constructs an instance of the class UaUadpDataSetWriterMessageDataType initialized with value from an OpcUa_ExtensionObject structure. More... | |
~UaUadpDataSetWriterMessageDataType () | |
Destroys the UaUadpDataSetWriterMessageDataType object. | |
void | clear () |
Clear the data of the UaUadpDataSetWriterMessageDataType. More... | |
bool | operator== (const UaUadpDataSetWriterMessageDataType &other) const |
Compare two UaUadpDataSetWriterMessageDataType for equality. More... | |
bool | operator!= (const UaUadpDataSetWriterMessageDataType &other) const |
Compare two UaUadpDataSetWriterMessageDataType for inequality. More... | |
UaUadpDataSetWriterMessageDataType & | operator= (const UaUadpDataSetWriterMessageDataType &other) |
Assignment operator. More... | |
OpcUa_UadpDataSetWriterMessageDataType * | copy () const |
Copy UaUadpDataSetWriterMessageDataType data to a newly allocated OpcUa_UadpDataSetWriterMessageDataType. More... | |
void | copyTo (OpcUa_UadpDataSetWriterMessageDataType *pDst) const |
Copy UaUadpDataSetWriterMessageDataType data to an existing OpcUa_UadpDataSetWriterMessageDataType structure. More... | |
void | attach (OpcUa_UadpDataSetWriterMessageDataType *pValue) |
Attaches to an existing OpcUa_UadpDataSetWriterMessageDataType structure. More... | |
OpcUa_UadpDataSetWriterMessageDataType * | detach (OpcUa_UadpDataSetWriterMessageDataType *pDst) |
Detaches the internal UadpDataSetWriterMessageDataType structure from this class. More... | |
OpcUa_UadpDataSetMessageContentMask | getDataSetMessageContentMask () const |
Returns the DataSetMessageContentMask. | |
OpcUa_UInt16 | getConfiguredSize () const |
Returns the ConfiguredSize. | |
OpcUa_UInt16 | getNetworkMessageNumber () const |
Returns the NetworkMessageNumber. | |
OpcUa_UInt16 | getDataSetOffset () const |
Returns the DataSetOffset. | |
void | setDataSetMessageContentMask (OpcUa_UadpDataSetMessageContentMask dataSetMessageContentMask) |
Sets the DataSetMessageContentMask. | |
void | setConfiguredSize (OpcUa_UInt16 configuredSize) |
Sets the ConfiguredSize. | |
void | setNetworkMessageNumber (OpcUa_UInt16 networkMessageNumber) |
Sets the NetworkMessageNumber. | |
void | setDataSetOffset (OpcUa_UInt16 dataSetOffset) |
Sets the DataSetOffset. | |
Static Public Member Functions | |
static OpcUa_UadpDataSetWriterMessageDataType * | clone (const OpcUa_UadpDataSetWriterMessageDataType &source) |
Copy OpcUa_UadpDataSetWriterMessageDataType data to a newly allocated OpcUa_UadpDataSetWriterMessageDataType. More... | |
static void | cloneTo (const OpcUa_UadpDataSetWriterMessageDataType &source, OpcUa_UadpDataSetWriterMessageDataType ©) |
Copy OpcUa_UadpDataSetWriterMessageDataType data to an existing OpcUa_UadpDataSetWriterMessageDataType structure. More... | |
Wrapper class for the UA stack structure OpcUa_UadpDataSetWriterMessageDataType.
This class encapsulates the native OpcUa_UadpDataSetWriterMessageDataType structure and handles memory allocation and cleanup for you. UaUadpDataSetWriterMessageDataType uses implicit sharing to avoid needless copying and to boost the performance. Only if you modify a shared UadpDataSetWriterMessageDataType it creates a copy for that (copy-on-write). So assigning another UaUadpDataSetWriterMessageDataType or passing it as parameter needs constant time and is nearly as fast as assigning a pointer.
UaUadpDataSetWriterMessageDataType::UaUadpDataSetWriterMessageDataType | ( | const UaUadpDataSetWriterMessageDataType & | other | ) |
Constructs an instance of the class UaUadpDataSetWriterMessageDataType with values from another UaUadpDataSetWriterMessageDataType object.
other | the other UaUadpDataSetWriterMessageDataType used to initialize the object |
UaUadpDataSetWriterMessageDataType::UaUadpDataSetWriterMessageDataType | ( | const OpcUa_UadpDataSetWriterMessageDataType & | other | ) |
Constructs an instance of the class UaUadpDataSetWriterMessageDataType with values from another OpcUa_UadpDataSetWriterMessageDataType structure.
other | the other OpcUa_UadpDataSetWriterMessageDataType used to initialize the object |
UaUadpDataSetWriterMessageDataType::UaUadpDataSetWriterMessageDataType | ( | const UaExtensionObject & | extensionObject | ) |
Constructs an instance of the class UaUadpDataSetWriterMessageDataType initialized with value from a UaExtensionObject.
extensionObject | the extension object containing the UadpDataSetWriterMessageDataType |
UaUadpDataSetWriterMessageDataType::UaUadpDataSetWriterMessageDataType | ( | const OpcUa_ExtensionObject & | extensionObject | ) |
Constructs an instance of the class UaUadpDataSetWriterMessageDataType initialized with value from an OpcUa_ExtensionObject structure.
extensionObject | the extension object containing the UadpDataSetWriterMessageDataType |
void UaUadpDataSetWriterMessageDataType::attach | ( | OpcUa_UadpDataSetWriterMessageDataType * | pValue | ) |
Attaches to an existing OpcUa_UadpDataSetWriterMessageDataType structure.
Don't manually free the attached structure afterwards, because UaUadpDataSetWriterMessageDataType is responsible for it now.
pValue | [in] Parameter to attach to. |
void UaUadpDataSetWriterMessageDataType::clear | ( | ) |
Clear the data of the UaUadpDataSetWriterMessageDataType.
|
static |
Copy OpcUa_UadpDataSetWriterMessageDataType data to a newly allocated OpcUa_UadpDataSetWriterMessageDataType.
source | Source to clone. |
|
static |
Copy OpcUa_UadpDataSetWriterMessageDataType data to an existing OpcUa_UadpDataSetWriterMessageDataType structure.
source | the source of the clone operation. |
copy | the destination of the clone operation. |
OpcUa_UadpDataSetWriterMessageDataType * UaUadpDataSetWriterMessageDataType::copy | ( | ) | const |
Copy UaUadpDataSetWriterMessageDataType data to a newly allocated OpcUa_UadpDataSetWriterMessageDataType.
void UaUadpDataSetWriterMessageDataType::copyTo | ( | OpcUa_UadpDataSetWriterMessageDataType * | pDst | ) | const |
Copy UaUadpDataSetWriterMessageDataType data to an existing OpcUa_UadpDataSetWriterMessageDataType structure.
pDst | the destination of this copy operation. |
OpcUa_UadpDataSetWriterMessageDataType * UaUadpDataSetWriterMessageDataType::detach | ( | OpcUa_UadpDataSetWriterMessageDataType * | pDst | ) |
Detaches the internal UadpDataSetWriterMessageDataType structure from this class.
This way you take over the control of freeing the UadpDataSetWriterMessageDataType data. If more than one reference exists, the data is copied to pDst instead of being detached.
pDst | [out] Pointer to an OpcUa_UadpDataSetWriterMessageDataType structure that receives the UadpDataSetWriterMessageDataType data. |
bool UaUadpDataSetWriterMessageDataType::operator!= | ( | const UaUadpDataSetWriterMessageDataType & | other | ) | const |
Compare two UaUadpDataSetWriterMessageDataType for inequality.
other | the UaUadpDataSetWriterMessageDataType to compare with. |
UaUadpDataSetWriterMessageDataType & UaUadpDataSetWriterMessageDataType::operator= | ( | const UaUadpDataSetWriterMessageDataType & | other | ) |
Assignment operator.
other | the UaUadpDataSetWriterMessageDataType to assign. |
bool UaUadpDataSetWriterMessageDataType::operator== | ( | const UaUadpDataSetWriterMessageDataType & | other | ) | const |
Compare two UaUadpDataSetWriterMessageDataType for equality.
other | the UaUadpDataSetWriterMessageDataType to compare with. |