NodeManagerNS1 Class Reference

#include <nodemanagerns1.h>

Inheritance diagram for NodeManagerNS1:
Collaboration diagram for NodeManagerNS1:

List of all members.

Public Member Functions

 NodeManagerNS1 (const UaString &sNamespaceUri)
virtual ~NodeManagerNS1 ()
virtual UaStatus afterStartUp ()
virtual UaStatus beforeShutDown ()
UaStatus startUp (ServerManager *pServerManager)
UaStatus readValues (const UaVariableArray &arrUaVariables, UaDataValueArray &arrDataValues)

Detailed Description

NodeManager implementation for namespace 1.

This NodeManager implements the local server namespace using the ServerUri as namespace URI. This NodeManager contains all status, diagnostic and configuraiton nodes specific for this OPC UA server instance.


Constructor & Destructor Documentation

NodeManagerNS1::NodeManagerNS1 ( const UaString sNamespaceUri )

Constructs a NodeManager for namespace 1.

NodeManagerNS1::~NodeManagerNS1 (  ) [virtual]

Destroys the NodeManager for namespace 1.


Member Function Documentation

UaStatus NodeManagerNS1::afterStartUp (  ) [virtual]

Implements NodeManagerUaNode::afterStartUp which can be used to initialize the address space or other content of the NodeManager.

Returns:
Error code.

Implements NodeManagerUaNode.

UaStatus NodeManagerNS1::beforeShutDown (  ) [virtual]

Implements NodeManagerUaNode::beforeShutDown which can be used to clean up resources of the NodeManager.

Returns:
Error code.

Implements NodeManagerUaNode.

UaStatus NodeManagerNS1::readValues ( const UaVariableArray arrUaVariables,
UaDataValueArray arrDataValues 
) [virtual]

Reads the value attributes for a list of UaVariables. This method needs to be overwritten by a derived class if the value attribute should be read not from cache but from an external data source.

Parameters:
arrUaVariablesAn array of UaVariable interface pointers used to indicate which variables should be read. The implementation of the interface needs to have the necessary information to access the data from the external source.
arrDataValuesAn array of UaDataValue classes used to return the read values.
Returns:
Error code

Reimplemented from IOManagerUaNode.

UaStatus NodeManagerNS1::startUp ( ServerManager pServerManager ) [virtual]

Overwrites the NodeManagerUaNode implementation of this NodeManager method.

The only difference between this implementation and the NodeManagerUaNode implementation is that the namespace is not registered in the namespace table since it is already done.

Parameters:
pServerManagerInterface to the central ServerManager object. This interface pointer should be stored in the NodeManager instance to have access to core module objects like the root NodeManager or the ServerConfig
Returns:
Error code.

Reimplemented from NodeManagerBase.


The documentation for this class was generated from the following files:
  • /home/buildbot/work/uasdkcpp/src/uaserver/uaservercpp/coremodule/nodemanagerns1.h
  • /home/buildbot/work/uasdkcpp/src/uaserver/uaservercpp/coremodule/nodemanagerns1.cpp