Overview
Classes: BasicClient, BasicScalarType, IOPCClient, LocalizedText, NoValueException, NodeId, NodeInfo, OPCClient, OPCClientRemoteObject, OPCClientServerHelper, OPCClientSkeleton, OPCException, PathNotFoundException, QualifiedName, ScalarType, SecurityException, TypeMismatchException, UnknownNamespaceException, Utility, Variant
Types: NodeIdString
Classes
class BasicClient
This class provides a basic OPC client implementation.
class BasicScalarType
class IOPCClient
The interface for OPC clients.
class LocalizedText
A LocalizedText combines a locale identifier with a string.
class NoValueException
class NodeId
This class represents an OPC-UA Node Identifier.
struct NodeInfo
class OPCClient
The interface for OPC clients.
class OPCClientRemoteObject
The interface for OPC clients.
class OPCClientServerHelper
The interface for OPC clients.
class OPCClientSkeleton
The interface for OPC clients.
class OPCException
class PathNotFoundException
class QualifiedName
A QualifiedName combines a namespace index with a name.
class ScalarType
class SecurityException
class TypeMismatchException
class UnknownNamespaceException
class Utility
class Variant
Types
NodeIdString
typedef std::string NodeIdString;
OPC-UA Node IDs are represented as a string. A node ID consists of a namespace index and an identifier, which may be numeric, a string, a UUID/GUID or an opaque byte string.
The string consists of an optional namespace part (if omitted, corresponds to namespace index 0) and an identifier part. The namespace part can be specified as namespace index (e.g., "ns=0") or as namespace URI (e.g., "nsu=http://opcfoundation.org/UA/").
Namespace part and identifier are delimited with a semicolon.
The identifier can be specified as numeric ID (e.g., "i=2253"), string (e.g., "s=Server"), UUID/GUID in common 8-4-4-4-12 grouped hexadecimal representation (e.g., "g=BB2EC8A2-6B02-44A3-927E-A54182F84B58") or opaque byte string, Base64-encoded (e.g., "b=U2VydmVy").
Valid examples for NodeID strings are:
- "ns=0;i=2253"
- "i=2253" (implies namespace ID 0)
- "nsu=http://opcfoundation.org/UA/;i=2253"
- "ns=0;s=Server"
Enumerations
ClientState
The state of the client.
The client is disconnected.
The Client has sent HEL and is waiting for server acknowledgement.
A TCP connection to the server is open.
A secure channel to the server is open.
A session with the server is open.
The session with the server was disconnected.
The session with the server has been renewed.
NodeClass
OPC-UA node classes.
NODECLASS_OBJECT = 1
NODECLASS_METHOD = 4
NODECLASS_DATA_TYPE = 64
NODECLASS_VIEW = 128