High Performance OPC UA Server SDK  1.2.0.193
versioned_handle Struct Reference

Provides the data structure for versioned handles. More...

#include <vhandle.h>

Detailed Description

Provides the data structure for versioned handles.

This is a structure which can be used to provide handles which can be used for index based access of data (e.g. array) to a caller. This handles are opaque for the caller as an int value. Internally you can use this struct to access the offset and id part of the handle. The id can be used as a version number. If e.g. the caller uses a handle with a id part different from the version stored in the data container this handle is outdated. The offset can be used to apply common range checks and to acces the correct data in an array.


The documentation for this struct was generated from the following file: