This section provides the following parts:
TemplateSet Cpp 1.3.1
With the TemplateSet for the C++ SDK, a whole NodeManager is created. See the Unified Automation C++ Server SDK tutorial for detailed information. The resulting code is compatible with the Unified Automation C++ Server SDK 1.3.1 and SDK 1.3.2.
The NodeManager includes
-
a NodeManager class derived from NodeManagerBase, that creates the type nodes in the address space as well as the instances;
-
a header file with definitions for the type nodes ([NamespacePrefix]_identifiers.h);
-
a header file with definitions for the enumerations ([NamespacePrefix]_datatypes.h);
-
a base class for each ObjectType containing
-
static methods for creating the type nodes,
-
a beginnCall Method, which selects the method for method call,
-
getters and setters for variables,
-
getters for Objects,
-
and member variables;
(If the ObjectType is a subtype of BaseEventType, an event data class is created. See Lesson 5: Adding support for Events for a detailed description. If the ObjectType is a subtype of ConditionType, an event data class is created and the base class additionally contains methods for handling the event. See Lesson 6: Adding support for Alarms & Conditions for a detailed description.)
-
an Implemenation class derived from its base class for each ObjectType containing the method bodies for implementing the UaMethods;
-
a base class for each VariableType containing
-
static methods for creating the type nodes,
-
getters and setters for variables,
-
and member variables;
-
an Implemenation class derived from its base class for each VariableType.
TemplateSet Ansi C 1.3
With the TemplateSet for the Ansi C SDK a whole data provider is created. See the Unified Automation ANSI C Server SDK tutorial for detailed information. The resulting code is compatible with the Unified Automation ANSI C based OPC UA Server SDK 1.3.0.
The provider contains files for
-
initializing and cleaning the provider,
-
creating the adressspace,
-
the browse service,
-
the read service,
-
the write service,
-
the subscribe service,
-
method handling functions,
-
defining the type identifiers,
-
helper functions,
-
registering the event types and access to event fields,
-
type tables to register structures to the stack,
-
and for string tables.
TemplateSet .NET
With the TemplateSet for the .NET Client SDK some information is generated that a client may need to know:
-
Identifiers and BrowseNames of the Types and InstanceDeclarations;
-
Classes for the DataTypes including methods for encoding and decoding.