open62541 1.3.14
Open source implementation of OPC UA
Loading...
Searching...
No Matches
common.h File Reference
#include <open62541/config.h>

Go to the source code of this file.

Data Structures

struct  UA_NetworkStatistics
 
struct  UA_SecureChannelStatistics
 
struct  UA_SessionStatistics
 

Macros

#define UA_ACCESSLEVELMASK_READ   (0x01u << 0u)
 
#define UA_ACCESSLEVELMASK_WRITE   (0x01u << 1u)
 
#define UA_ACCESSLEVELMASK_HISTORYREAD   (0x01u << 2u)
 
#define UA_ACCESSLEVELMASK_HISTORYWRITE   (0x01u << 3u)
 
#define UA_ACCESSLEVELMASK_SEMANTICCHANGE   (0x01u << 4u)
 
#define UA_ACCESSLEVELMASK_STATUSWRITE   (0x01u << 5u)
 
#define UA_ACCESSLEVELMASK_TIMESTAMPWRITE   (0x01u << 6u)
 
#define UA_WRITEMASK_ACCESSLEVEL   (0x01u << 0u)
 
#define UA_WRITEMASK_ARRRAYDIMENSIONS   (0x01u << 1u)
 
#define UA_WRITEMASK_BROWSENAME   (0x01u << 2u)
 
#define UA_WRITEMASK_CONTAINSNOLOOPS   (0x01u << 3u)
 
#define UA_WRITEMASK_DATATYPE   (0x01u << 4u)
 
#define UA_WRITEMASK_DESCRIPTION   (0x01u << 5u)
 
#define UA_WRITEMASK_DISPLAYNAME   (0x01u << 6u)
 
#define UA_WRITEMASK_EVENTNOTIFIER   (0x01u << 7u)
 
#define UA_WRITEMASK_EXECUTABLE   (0x01u << 8u)
 
#define UA_WRITEMASK_HISTORIZING   (0x01u << 9u)
 
#define UA_WRITEMASK_INVERSENAME   (0x01u << 10u)
 
#define UA_WRITEMASK_ISABSTRACT   (0x01u << 11u)
 
#define UA_WRITEMASK_MINIMUMSAMPLINGINTERVAL   (0x01u << 12u)
 
#define UA_WRITEMASK_NODECLASS   (0x01u << 13u)
 
#define UA_WRITEMASK_NODEID   (0x01u << 14u)
 
#define UA_WRITEMASK_SYMMETRIC   (0x01u << 15u)
 
#define UA_WRITEMASK_USERACCESSLEVEL   (0x01u << 16u)
 
#define UA_WRITEMASK_USEREXECUTABLE   (0x01u << 17u)
 
#define UA_WRITEMASK_USERWRITEMASK   (0x01u << 18u)
 
#define UA_WRITEMASK_VALUERANK   (0x01u << 19u)
 
#define UA_WRITEMASK_WRITEMASK   (0x01u << 20u)
 
#define UA_WRITEMASK_VALUEFORVARIABLETYPE   (0x01u << 21u)
 
#define UA_VALUERANK_SCALAR_OR_ONE_DIMENSION   -3
 
#define UA_VALUERANK_ANY   -2
 
#define UA_VALUERANK_SCALAR   -1
 
#define UA_VALUERANK_ONE_OR_MORE_DIMENSIONS   0
 
#define UA_VALUERANK_ONE_DIMENSION   1
 
#define UA_VALUERANK_TWO_DIMENSIONS   2
 
#define UA_VALUERANK_THREE_DIMENSIONS   3
 
#define UA_EVENTNOTIFIER_SUBSCRIBE_TO_EVENT   (0x01u << 0u)
 
#define UA_EVENTNOTIFIER_HISTORY_READ   (0x01u << 2u)
 
#define UA_EVENTNOTIFIER_HISTORY_WRITE   (0x01u << 3u)
 

Enumerations

enum  UA_AttributeId
 
enum  UA_RuleHandling
 
enum  UA_Order
 
enum  UA_SecureChannelState
 
enum  UA_SessionState
 

Macro Definition Documentation

◆ UA_ACCESSLEVELMASK_READ

#define UA_ACCESSLEVELMASK_READ   (0x01u << 0u)

Definition at line 53 of file common.h.

◆ UA_ACCESSLEVELMASK_WRITE

#define UA_ACCESSLEVELMASK_WRITE   (0x01u << 1u)

Definition at line 54 of file common.h.

◆ UA_ACCESSLEVELMASK_HISTORYREAD

#define UA_ACCESSLEVELMASK_HISTORYREAD   (0x01u << 2u)

Definition at line 55 of file common.h.

◆ UA_ACCESSLEVELMASK_HISTORYWRITE

#define UA_ACCESSLEVELMASK_HISTORYWRITE   (0x01u << 3u)

Definition at line 56 of file common.h.

◆ UA_ACCESSLEVELMASK_SEMANTICCHANGE

#define UA_ACCESSLEVELMASK_SEMANTICCHANGE   (0x01u << 4u)

Definition at line 57 of file common.h.

◆ UA_ACCESSLEVELMASK_STATUSWRITE

#define UA_ACCESSLEVELMASK_STATUSWRITE   (0x01u << 5u)

Definition at line 58 of file common.h.

◆ UA_ACCESSLEVELMASK_TIMESTAMPWRITE

#define UA_ACCESSLEVELMASK_TIMESTAMPWRITE   (0x01u << 6u)

Definition at line 59 of file common.h.

◆ UA_WRITEMASK_ACCESSLEVEL

#define UA_WRITEMASK_ACCESSLEVEL   (0x01u << 0u)

Definition at line 63 of file common.h.

◆ UA_WRITEMASK_ARRRAYDIMENSIONS

#define UA_WRITEMASK_ARRRAYDIMENSIONS   (0x01u << 1u)

Definition at line 64 of file common.h.

◆ UA_WRITEMASK_BROWSENAME

#define UA_WRITEMASK_BROWSENAME   (0x01u << 2u)

Definition at line 65 of file common.h.

◆ UA_WRITEMASK_CONTAINSNOLOOPS

#define UA_WRITEMASK_CONTAINSNOLOOPS   (0x01u << 3u)

Definition at line 66 of file common.h.

◆ UA_WRITEMASK_DATATYPE

#define UA_WRITEMASK_DATATYPE   (0x01u << 4u)

Definition at line 67 of file common.h.

◆ UA_WRITEMASK_DESCRIPTION

#define UA_WRITEMASK_DESCRIPTION   (0x01u << 5u)

Definition at line 68 of file common.h.

◆ UA_WRITEMASK_DISPLAYNAME

#define UA_WRITEMASK_DISPLAYNAME   (0x01u << 6u)

Definition at line 69 of file common.h.

◆ UA_WRITEMASK_EVENTNOTIFIER

#define UA_WRITEMASK_EVENTNOTIFIER   (0x01u << 7u)

Definition at line 70 of file common.h.

◆ UA_WRITEMASK_EXECUTABLE

#define UA_WRITEMASK_EXECUTABLE   (0x01u << 8u)

Definition at line 71 of file common.h.

◆ UA_WRITEMASK_HISTORIZING

#define UA_WRITEMASK_HISTORIZING   (0x01u << 9u)

Definition at line 72 of file common.h.

◆ UA_WRITEMASK_INVERSENAME

#define UA_WRITEMASK_INVERSENAME   (0x01u << 10u)

Definition at line 73 of file common.h.

◆ UA_WRITEMASK_ISABSTRACT

#define UA_WRITEMASK_ISABSTRACT   (0x01u << 11u)

Definition at line 74 of file common.h.

◆ UA_WRITEMASK_MINIMUMSAMPLINGINTERVAL

#define UA_WRITEMASK_MINIMUMSAMPLINGINTERVAL   (0x01u << 12u)

Definition at line 75 of file common.h.

◆ UA_WRITEMASK_NODECLASS

#define UA_WRITEMASK_NODECLASS   (0x01u << 13u)

Definition at line 76 of file common.h.

◆ UA_WRITEMASK_NODEID

#define UA_WRITEMASK_NODEID   (0x01u << 14u)

Definition at line 77 of file common.h.

◆ UA_WRITEMASK_SYMMETRIC

#define UA_WRITEMASK_SYMMETRIC   (0x01u << 15u)

Definition at line 78 of file common.h.

◆ UA_WRITEMASK_USERACCESSLEVEL

#define UA_WRITEMASK_USERACCESSLEVEL   (0x01u << 16u)

Definition at line 79 of file common.h.

◆ UA_WRITEMASK_USEREXECUTABLE

#define UA_WRITEMASK_USEREXECUTABLE   (0x01u << 17u)

Definition at line 80 of file common.h.

◆ UA_WRITEMASK_USERWRITEMASK

#define UA_WRITEMASK_USERWRITEMASK   (0x01u << 18u)

Definition at line 81 of file common.h.

◆ UA_WRITEMASK_VALUERANK

#define UA_WRITEMASK_VALUERANK   (0x01u << 19u)

Definition at line 82 of file common.h.

◆ UA_WRITEMASK_WRITEMASK

#define UA_WRITEMASK_WRITEMASK   (0x01u << 20u)

Definition at line 83 of file common.h.

◆ UA_WRITEMASK_VALUEFORVARIABLETYPE

#define UA_WRITEMASK_VALUEFORVARIABLETYPE   (0x01u << 21u)

Definition at line 84 of file common.h.

◆ UA_VALUERANK_SCALAR_OR_ONE_DIMENSION

#define UA_VALUERANK_SCALAR_OR_ONE_DIMENSION   -3

Definition at line 88 of file common.h.

◆ UA_VALUERANK_ANY

#define UA_VALUERANK_ANY   -2

Definition at line 89 of file common.h.

◆ UA_VALUERANK_SCALAR

#define UA_VALUERANK_SCALAR   -1

Definition at line 90 of file common.h.

◆ UA_VALUERANK_ONE_OR_MORE_DIMENSIONS

#define UA_VALUERANK_ONE_OR_MORE_DIMENSIONS   0

Definition at line 91 of file common.h.

◆ UA_VALUERANK_ONE_DIMENSION

#define UA_VALUERANK_ONE_DIMENSION   1

Definition at line 92 of file common.h.

◆ UA_VALUERANK_TWO_DIMENSIONS

#define UA_VALUERANK_TWO_DIMENSIONS   2

Definition at line 93 of file common.h.

◆ UA_VALUERANK_THREE_DIMENSIONS

#define UA_VALUERANK_THREE_DIMENSIONS   3

Definition at line 94 of file common.h.

◆ UA_EVENTNOTIFIER_SUBSCRIBE_TO_EVENT

#define UA_EVENTNOTIFIER_SUBSCRIBE_TO_EVENT   (0x01u << 0u)

Definition at line 98 of file common.h.

◆ UA_EVENTNOTIFIER_HISTORY_READ

#define UA_EVENTNOTIFIER_HISTORY_READ   (0x01u << 2u)

Definition at line 99 of file common.h.

◆ UA_EVENTNOTIFIER_HISTORY_WRITE

#define UA_EVENTNOTIFIER_HISTORY_WRITE   (0x01u << 3u)

Definition at line 100 of file common.h.

Enumeration Type Documentation

◆ UA_AttributeId

This Source Code Form is subject to the terms of the Mozilla Public License, v.

2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Copyright 2016-2020 (c) Fraunhofer IOSB (Author: Julius Pfrommer) Copyright 2016 (c) Sten GrĂ¼ner Copyright 2016-2017 (c) Stefan Profanter, fortiss GmbH Copyright 2017 (c) Florian Palm Copyright 2020 (c) HMS Industrial Networks AB (Author: Jonas Green)

Enumerator
UA_ATTRIBUTEID_NODEID 
UA_ATTRIBUTEID_NODECLASS 
UA_ATTRIBUTEID_BROWSENAME 
UA_ATTRIBUTEID_DISPLAYNAME 
UA_ATTRIBUTEID_DESCRIPTION 
UA_ATTRIBUTEID_WRITEMASK 
UA_ATTRIBUTEID_USERWRITEMASK 
UA_ATTRIBUTEID_ISABSTRACT 
UA_ATTRIBUTEID_SYMMETRIC 
UA_ATTRIBUTEID_INVERSENAME 
UA_ATTRIBUTEID_CONTAINSNOLOOPS 
UA_ATTRIBUTEID_EVENTNOTIFIER 
UA_ATTRIBUTEID_VALUE 
UA_ATTRIBUTEID_DATATYPE 
UA_ATTRIBUTEID_VALUERANK 
UA_ATTRIBUTEID_ARRAYDIMENSIONS 
UA_ATTRIBUTEID_ACCESSLEVEL 
UA_ATTRIBUTEID_USERACCESSLEVEL 
UA_ATTRIBUTEID_MINIMUMSAMPLINGINTERVAL 
UA_ATTRIBUTEID_HISTORIZING 
UA_ATTRIBUTEID_EXECUTABLE 
UA_ATTRIBUTEID_USEREXECUTABLE 
UA_ATTRIBUTEID_DATATYPEDEFINITION 
UA_ATTRIBUTEID_ROLEPERMISSIONS 
UA_ATTRIBUTEID_USERROLEPERMISSIONS 
UA_ATTRIBUTEID_ACCESSRESTRICTIONS 
UA_ATTRIBUTEID_ACCESSLEVELEX 

Definition at line 21 of file common.h.

◆ UA_RuleHandling

Enumerator
UA_RULEHANDLING_DEFAULT 
UA_RULEHANDLING_ABORT 
UA_RULEHANDLING_WARN 
UA_RULEHANDLING_ACCEPT 

Definition at line 103 of file common.h.

◆ UA_Order

enum UA_Order
Enumerator
UA_ORDER_LESS 
UA_ORDER_EQ 
UA_ORDER_MORE 

Definition at line 112 of file common.h.

◆ UA_SecureChannelState

Enumerator
UA_SECURECHANNELSTATE_FRESH 
UA_SECURECHANNELSTATE_HEL_SENT 
UA_SECURECHANNELSTATE_HEL_RECEIVED 
UA_SECURECHANNELSTATE_ACK_SENT 
UA_SECURECHANNELSTATE_ACK_RECEIVED 
UA_SECURECHANNELSTATE_OPN_SENT 
UA_SECURECHANNELSTATE_OPEN 
UA_SECURECHANNELSTATE_CLOSING 
UA_SECURECHANNELSTATE_CLOSED 

Definition at line 120 of file common.h.

◆ UA_SessionState

Enumerator
UA_SESSIONSTATE_CLOSED 
UA_SESSIONSTATE_CREATE_REQUESTED 
UA_SESSIONSTATE_CREATED 
UA_SESSIONSTATE_ACTIVATE_REQUESTED 
UA_SESSIONSTATE_ACTIVATED 
UA_SESSIONSTATE_CLOSING 

Definition at line 132 of file common.h.