#include <nodemanagerns1.h>
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) |
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.
NodeManagerNS1::NodeManagerNS1 | ( | const UaString & | sNamespaceUri ) |
Constructs a NodeManager for namespace 1.
NodeManagerNS1::~NodeManagerNS1 | ( | ) | [virtual] |
Destroys the NodeManager for namespace 1.
UaStatus NodeManagerNS1::afterStartUp | ( | ) | [virtual] |
Implements NodeManagerUaNode::afterStartUp which can be used to initialize the address space or other content of the NodeManager.
Implements NodeManagerUaNode.
UaStatus NodeManagerNS1::beforeShutDown | ( | ) | [virtual] |
Implements NodeManagerUaNode::beforeShutDown which can be used to clean up resources of the NodeManager.
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.
arrUaVariables | An 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. |
arrDataValues | An array of UaDataValue classes used to return the read values. |
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.
pServerManager | Interface 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 |
Reimplemented from NodeManagerBase.