UA Base Library Classes
[UA Base Library]

Collaboration diagram for UA Base Library Classes:

Classes

class  UaStatusCode
 The class encapsulated OPC UA status codes and conversions from ant to Classic OPC codes. More...
class  UaStatus
 The class UaStatus handles status codes, conversions of the status code and diagnostic information. Der ived from UaStatusCode. More...
class  UaDiagnosticInfo
 The class UaDiagnosticInfo contains the diagnostic information in full format. It is not possible to create plane copies of this Class. More...
class  UaAnnotation
 Wrapper classs for the ua stack structure OpcUa_Annotation. More...
class  UaArgument
 Wrapper classs for the ua stack structure OpcUa_Argument. Derived from OpcUa_Argument. More...
class  UaByteArray
 The UaByteArray handles the access to an array of bytes. UaByteArray can be used to store both raw bytes (including \0s) and traditional 8-bit \0-terminated strings. Using UaByteArray is much more convenient than using const char *. Behind the scenes, it always ensures that the data is followed by a \0 terminator, and uses implicit sharing (copy-on-write) to reduce memory usage and avoid needless copying of data. You don't need to care about resizing or cleaning up the memory. More...
class  UaByteString
 Wrapper classs for the ua stack structure OpcUa_ByteString. Derived from OpcUa_ByteString. More...
class  UaChar
 Helper class for modifying UaChar elements. The UaChar class provides a 16-bit Unicode character. It is lightweight, so it can be used everywhere. More...
class  UaDataValue
class  UaDateTime
 Wrapper classs for the ua stack structure OpcUa_DateTime. Helper class for modifying UaDateTime elements. The UaDateTime class provides date and time functions. More...
class  UaBuildInfo
 Wrapper classs for the ua stack structure OpcUa_BuildInfo. More...
class  UaServerStatusDataType
 Wrapper classs for the ua stack structure OpcUa_ServerStatusDataType. More...
class  UaRedundantServerDataType
 Wrapper classs for the ua stack structure OpcUa_RedundantServerDataType. More...
class  UaEUInformation
 Wrapper classs for the ua stack structure OpcUa_EUInformation. More...
class  UaEventFilter
class  UaEventFilterResult
class  UaExpandedNodeId
 Wrapper classs for the ua stack structure OpcUa_ExpandedNodeId. More...
class  UaGuid
 Wrapper classs for the ua stack structure OpcUa_Guid. Helper class for modifying UaGuid elements. The UaGuid class stores a Global Unique Identifier (GUID). Using Globally Unique IDentifiers is a standard way to globally identify entities in a distributed computing environment. Derived from OpcUa_Guid. More...
class  UaLocalizedText
 Wrapper classs for the ua stack structure OpcUa_LocalizedText. More...
class  UaMutex
 The UaMutex class provides access serialization between threads. The purpose of a UaMutex is to protect an object, data structure or section of code so that only one thread can access it at a time (this is similar to the Java synchronized keyword). It is usually best to use a mutex with a UaMutexLocker since this makes it easy to ensure that locking and unlocking are performed consistently. It is not possible to create plane copies of this Class. More...
class  UaNetworkBrowseResult
class  UaNetworkBrowser
class  UaObjectAttributes
 Wrapper classs for the ua stack structure OpcUa_ObjectAttributes. More...
class  UaVariableAttributes
 Wrapper classs for the ua stack structure OpcUa_VariableAttributes. More...
class  UaMethodAttributes
 Wrapper classs for the ua stack structure OpcUa_MethodAttributes. More...
class  UaObjectTypeAttributes
 Wrapper classs for the ua stack structure OpcUa_ObjectTypeAttributes. More...
class  UaVariableTypeAttributes
 Wrapper classs for the ua stack structure OpcUa_VariableTypeAttributes. More...
class  UaReferenceTypeAttributes
 Wrapper classs for the ua stack structure OpcUa_ReferenceTypeAttributes. More...
class  UaDataTypeAttributes
 Wrapper classs for the ua stack structure OpcUa_DataTypeAttributes. More...
class  UaViewAttributes
 Wrapper classs for the ua stack structure OpcUa_ViewAttributes. More...
class  UaNodeId
 This class encapsulates the native OpcUa_NodeId structure and handles memory allocation and cleanup for you. UaNodeId uses implicit sharing to avoid needless copying and to boost the performance. Only if you modify a shared NodeId it creates a copy for that (copy-on-write). So assigning another UaNodeId or passing it as parameter is as fast as assigning a pointer. More...
class  UaNumericRange
class  UaPkiProvider
 Wrapper classs for a PKI provider. The core library implements the basic cryptographic functions and provides various utility functions. It is not possible to create plane copies of this Class. It is not possible to use the default constructor. More...
class  UaPkiProviderNoSecurity
 Wrapper classs for no security PKI provider. More...
class  UaPlatformLayer
 Platform layer handling class. More...
class  UaQualifiedName
 Wrapper classs for the ua stack structure OpcUa_QualifiedName. Qualified names are two-part names: namespaceindex (UInt16) and name (String). The name part of QualifiedNames is restricted to 512 characters. Derived from OpcUa_QualifiedName. More...
class  UaRange
 Wrapper classs for the ua stack structure OpcUa_Range. More...
class  UaSemaphore
 Semaphore class is used to allow threads to synchronize access to a resource. The UaSemaphore class provides a general counting semaphore. A semaphore is a generalization of a mutex. While a mutex can only be locked once, it's possible to acquire a semaphore multiple times. Semaphores are typically used to protect a certain number of identical resources. A typical application of semaphores is for controlling access to a circular buffer shared by a producer thread and a consumer thread. It is not possible to create plane copies of this Class. It is not possible to use the default constructor. More...
class  UaSettings
class  UaSettingsSection
class  UaString
 This class encapsulates the native OpcUa_String structure and handles memory allocation and cleanup for you. Additionally you can extract native UTF-8 (char*) strings or UTF-16 (ushort*) strings for further processing in other applications. UaString uses implicit sharing to avoid needless copying and to boost the performance. Only if you modify a shared string it creates a copy for that (copy-on-write). So assigning another UaString or passing it as parameter needs constant time is nearly as fast as assigning a pointer. More...
class  UaThread
 Platfrom independent classs for thread creation. A UaThreads represents a separate thread of control within the program; it shares data with all the other threads within the process but executes independently in the way that a separate program does on a multitasking operating system. Instead of starting in main(), UaThreads begin executing in run(). It is not possible to create plane copies of this Class. More...
class  UaThreadPoolJob
class  UaThreadPool
class  UaTrace
class  UaVariant
 Portable Ua Variant class. Converts Variant into all datatypes. The UaVariant class acts like a union for the most common Ua data types. More...
class  UaVariantException
 UaVariantException Class. More...

Typedefs

typedef UaPointerArray
< UaDiagnosticInfo
UaDiagnosticInfoRawArray
typedef UaObjectArray< UaVariantUaVariantObjects

Functions

void UABASE_EXPORT createDiagnosticInfoArray (OpcUa_UInt32 returnDiagnostics, const UaDiagnosticInfoRawArray &pDiagnosticInfoArray, UaDiagnosticInfos &diagnosticInfos, OpcUa_Boolean &isDiagAvailable, OpcUa_ResponseHeader *responseHeader)

Detailed Description

This module contains all C++ classes for the OPC UA Base Library


Typedef Documentation

A template definition for arrays of UaVariantObjects


Function Documentation

void UABASE_EXPORT createDiagnosticInfoArray ( OpcUa_UInt32  returnDiagnostics,
const UaDiagnosticInfoRawArray pDiagnosticInfoArray,
UaDiagnosticInfos &  diagnosticInfos,
OpcUa_Boolean &  isDiagAvailable,
OpcUa_ResponseHeader *  responseHeader 
)

Create a diagnostic info array.

Parameters:
returnDiagnosticsthe diagnostic data to return.
pDiagnosticInfoArrayan info array filled with diagnostic information.
diagnosticInfosOptional diagnostig information requested by the client.
isDiagAvailabletrue if available false if not.
responseHeaderthe response header for the responses.