C++ Based OPC UA Client/Server/PubSub SDK  1.7.6.537
UaBase::AbstractNodesetServices Class Referenceabstract

Abstract base class defining an Interface for OPC UA Service Calls. More...

#include <abstractnodesetservices.h>

Inherited by UaBase::Nodeset.

Public Member Functions

virtual UaStatus browse (const UaNodeId &nodeToBrowse, const OpcUa_BrowseDirection browseDirection, const UaNodeId &referenceTypeId, const OpcUa_Boolean includeSubtypes, const OpcUa_UInt32 nodeClassMask, const OpcUa_UInt32 resultMask, const OpcUa_UInt32 maxReferencesToReturn, UaByteString &continuationPoint, UaReferenceDescriptions &referenceDescriptions) const =0
 Browse OPC UA server Address Space with a single starting Node. More...
 
virtual UaStatus browseNext (OpcUa_Boolean releaseContinuationPoint, UaByteString &continuationPoint, UaReferenceDescriptions &referenceDescriptions) const =0
 Continue a previous Browse request. More...
 
virtual UaStatus read (OpcUa_Double maxAge, OpcUa_TimestampsToReturn timeStamps, const UaReadValueIds &nodesToRead, UaDataValues &values, UaDiagnosticInfos &diagnosticInfos) const =0
 Reads Attribute values synchronously from an OPC UA server. More...
 
virtual UaStatus write (const UaWriteValues &nodesToWrite, UaStatusCodeArray &results, UaDiagnosticInfos &diagnosticInfos)
 Writes variable values synchronously to an OPC UA server. More...
 

Detailed Description

Abstract base class defining an Interface for OPC UA Service Calls.

This Interface is implemented by Nodeset to provide basic service capabilities on a Nodeset.

Member Function Documentation

virtual UaStatus UaBase::AbstractNodesetServices::browse ( const UaNodeId nodeToBrowse,
const OpcUa_BrowseDirection  browseDirection,
const UaNodeId referenceTypeId,
const OpcUa_Boolean  includeSubtypes,
const OpcUa_UInt32  nodeClassMask,
const OpcUa_UInt32  resultMask,
const OpcUa_UInt32  maxReferencesToReturn,
UaByteString continuationPoint,
UaReferenceDescriptions referenceDescriptions 
) const
pure virtual

Browse OPC UA server Address Space with a single starting Node.

The Browse Service is used by a client to navigate through the address space by passing a starting Node and browse filters. The server returns the list of referenced nodes matching the filter criteria.

Implemented in UaBase::Nodeset.

virtual UaStatus UaBase::AbstractNodesetServices::browseNext ( OpcUa_Boolean  releaseContinuationPoint,
UaByteString continuationPoint,
UaReferenceDescriptions referenceDescriptions 
) const
pure virtual

Continue a previous Browse request.

This method is only used to continue a Browse started with the browse method if not all results could be returned by the browse or a following browseNext call. The number of Nodes to return can be limited by the client in the Browse request or by the Server during processing the Browse Service call.

Implemented in UaBase::Nodeset.

virtual UaStatus UaBase::AbstractNodesetServices::read ( OpcUa_Double  maxAge,
OpcUa_TimestampsToReturn  timeStamps,
const UaReadValueIds nodesToRead,
UaDataValues values,
UaDiagnosticInfos diagnosticInfos 
) const
pure virtual

Reads Attribute values synchronously from an OPC UA server.

The Read Service is used to read one or more Attributes of one or more Nodes. It also allows reading subsets or single elements of array values and to define a valid age of values to be returned to reduce the need for device reads. Like most other Services, the Read is optimized for bulk read operations and not for reading single Attribute values. Typically all Node Attributes are readable. For the Value Attribute, the Read rights are indicated by the AccessLevel and UserAccessLevel Attribute of the Variable.

Implemented in UaBase::Nodeset.

UaStatus UaBase::AbstractNodesetServices::write ( const UaWriteValues nodesToWrite,
UaStatusCodeArray results,
UaDiagnosticInfos diagnosticInfos 
)
virtual

Writes variable values synchronously to an OPC UA server.

TODO: remove, make pure virtual.

Not implemented yet!


The documentation for this class was generated from the following files: