20#ifndef SOPC_ADDRESS_SPACE_ACCESS_H_
21#define SOPC_ADDRESS_SPACE_ACCESS_H_
135 const uint16_t* optSourcePicoSeconds);
358 const bool includeSubtypes,
362 int32_t* noOfReferences);
struct _SOPC_AddressSpaceAccess SOPC_AddressSpaceAccess
AddressSpace Access module provides controlled access to address space. This might be used to access ...
Definition sopc_address_space_access.h:40
SOPC_StatusCode SOPC_AddressSpaceAccess_AddMethodNode(SOPC_AddressSpaceAccess *addSpaceAccess, const SOPC_ExpandedNodeId *parentNodeId, const SOPC_NodeId *refToParentTypeId, const SOPC_NodeId *newNodeId, const SOPC_QualifiedName *browseName, const OpcUa_MethodAttributes *metAttributes)
Add an Method node into the AddressSpace with given attributes and reference to its parent.
SOPC_StatusCode SOPC_AddressSpaceAccess_ReadAttribute(const SOPC_AddressSpaceAccess *addSpaceAccess, const SOPC_NodeId *nodeId, SOPC_AttributeId attribId, SOPC_Variant **outValue)
Read an attribute and retrieve its value as a Variant.
SOPC_StatusCode SOPC_AddressSpaceAccess_BrowseNode(const SOPC_AddressSpaceAccess *addSpaceAccess, const SOPC_NodeId *nodeId, const OpcUa_BrowseDirection browseDirection, const SOPC_NodeId *referenceTypeId, const bool includeSubtypes, const OpcUa_NodeClass nodeClassMask, const OpcUa_BrowseResultMask resultMask, OpcUa_ReferenceDescription **references, int32_t *noOfReferences)
Browse a node and retrieve an array of reference descriptions.
SOPC_StatusCode SOPC_AddressSpaceAccess_TranslateBrowsePath(const SOPC_AddressSpaceAccess *addSpaceAccess, const SOPC_NodeId *startingNode, const OpcUa_RelativePath *relativePath, const SOPC_NodeId **targetId)
Translate one browse path to a NodeId.
SOPC_StatusCode SOPC_AddressSpaceAccess_AddVariableNode(SOPC_AddressSpaceAccess *addSpaceAccess, const SOPC_ExpandedNodeId *parentNodeId, const SOPC_NodeId *refToParentTypeId, const SOPC_NodeId *newNodeId, const SOPC_QualifiedName *browseName, const OpcUa_VariableAttributes *varAttributes, const SOPC_ExpandedNodeId *typeDefId)
Add a Variable node into the AddressSpace with given attributes and references to its parent and type...
SOPC_StatusCode SOPC_AddressSpaceAccess_WriteValue(SOPC_AddressSpaceAccess *addSpaceAccess, const SOPC_NodeId *nodeId, const SOPC_NumericRange *optNumRange, const SOPC_Variant *value, const SOPC_StatusCode *optStatus, const SOPC_DateTime *optSourceTimestamp, const uint16_t *optSourcePicoSeconds)
Write Value attribute content with Status and Source Timestamp metadata.
SOPC_StatusCode SOPC_AddressSpaceAccess_ReadValue(const SOPC_AddressSpaceAccess *addSpaceAccess, const SOPC_NodeId *nodeId, const SOPC_NumericRange *optNumRange, SOPC_DataValue **outDataValue)
Read Value attribute content with Status and Source Timestamp metadata.
SOPC_StatusCode SOPC_AddressSpaceAccess_AddObjectNode(SOPC_AddressSpaceAccess *addSpaceAccess, const SOPC_ExpandedNodeId *parentNodeId, const SOPC_NodeId *refToParentTypeId, const SOPC_NodeId *newNodeId, const SOPC_QualifiedName *browseName, const OpcUa_ObjectAttributes *objAttributes, const SOPC_ExpandedNodeId *typeDefId)
Add an Object node into the AddressSpace with given attributes and references to its parent and type.
int64_t SOPC_DateTime
OPC UA timestamp format which is 100 nanoseconds from 1601/01/01 00:00:00 UTC.
Definition sopc_builtintypes.h:197
uint32_t SOPC_StatusCode
Definition sopc_builtintypes.h:36
enum _SOPC_AttributeId SOPC_AttributeId
Enumerated for all possible OPC UA attribute ids.
enum _OpcUa_BrowseResultMask OpcUa_BrowseResultMask
enum _OpcUa_BrowseDirection OpcUa_BrowseDirection
enum _OpcUa_NodeClass OpcUa_NodeClass
Each attribute in OPC UA has a DataValue caracterized by the following structure.
Definition sopc_builtintypes.h:545
ExpandedNodeId allows the namespace to be specified explicitly as a string or with an index in the Se...
Definition sopc_builtintypes.h:244
This structure describes a basic NodeID in OPC UA.
Definition sopc_builtintypes.h:226
Definition sopc_builtintypes.h:265
This structure provides variant encapsulation.
Definition sopc_builtintypes.h:411
Definition sopc_types.h:3171
Definition sopc_types.h:3111
Definition sopc_types.h:3752
Definition sopc_types.h:3928
Definition sopc_types.h:3137
Definition sopc_numeric_range.h:35