NodeManagerNS1 Class Reference

Interface definition of the NodeManagerNS1. Derived from NodeManagerUaNode and IOManagerUaNode It is not possible to create plane copies of this Interface. More...

#include <nodemanagerns1.h>

Inheritance diagram for NodeManagerNS1:
Collaboration diagram for NodeManagerNS1:

List of all members.


Public Member Functions

 NodeManagerNS1 (const UaString &sNamespaceUri)
virtual ~NodeManagerNS1 ()
IOManagergetIOManager (UaNode *pUaNode, OpcUa_Int32 attributeId) const
UaStatus afterStartUp ()
UaStatus beforeShutDown ()
UaStatus startUp (ServerManager *pServerManager)
HistoryVariableHandlegetHistoryVariableHandle (Session *pSession, HistoryVariableHandle::ServiceType serviceType, OpcUa_NodeId *pNodeId, UaStatus &result) const
UaStatus getEventManagers (Session *pSession, OpcUa_NodeId *pNodeId, OpcUa_EventFilter *eventFilter, EventManagerArray &eventManagers) const

Detailed Description

Interface definition of the NodeManagerNS1. Derived from NodeManagerUaNode and IOManagerUaNode It is not possible to create plane copies of this Interface.

NodeManagerNS1


Constructor & Destructor Documentation

NodeManagerNS1::NodeManagerNS1 ( const UaString sNamespaceUri  ) 

construction

NodeManagerNS1::~NodeManagerNS1 (  )  [virtual]

destruction


Member Function Documentation

IOManager * NodeManagerNS1::getIOManager ( UaNode pUaNode,
OpcUa_Int32  attributeId 
) const [virtual]

Get the responsible IOManager for the node and attribute combination.

Parameters:
pUaNode the actual Node where to get all information from.
attributeId AttributeId of the requested node
Returns:
a Variable to the IOManager.

Implements NodeManagerUaNode.

UaStatus NodeManagerNS1::afterStartUp (  )  [virtual]

Finish start up in derived class after starting up base class.

Returns:
Error code.

Implements NodeManagerUaNode.

UaStatus NodeManagerNS1::beforeShutDown (  )  [virtual]

Start shut down in derived class before shutting down base class.

Returns:
Error code.

Implements NodeManagerUaNode.

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

Start up NodeManager.

Parameters:
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
Returns:
Error code.

Reimplemented from NodeManagerUaNode.

HistoryVariableHandle * NodeManagerNS1::getHistoryVariableHandle ( Session pSession,
HistoryVariableHandle::ServiceType  serviceType,
OpcUa_NodeId *  pNodeId,
UaStatus result 
) const [virtual]

Get the history variable handle for the passed node Id.

Parameters:
pSession Interface pointer of the new Session. The session was created by the ServerConfig object in the Method createSession. This vendor specific implementation can create a derived Session class with vendor specific information.
serviceType Service type enumerator with the following possible settings READ_EVENTS, READ_RAW, READ_MODIFIED, READ_PROCESSED, READ_ATTIME, UPDATE_DATA, UPDATE_EVENT, DELETE_DATA, DELETE_EVENT
pNodeId NodeId of the requested Node.
result the result of the current Operation.
Returns:
the history variable handle for the passed node Id.

Reimplemented from NodeManager.

UaStatus NodeManagerNS1::getEventManagers ( Session pSession,
OpcUa_NodeId *  pNodeId,
OpcUa_EventFilter *  eventFilter,
EventManagerArray eventManagers 
) const [virtual]

Get a list of EventManager interfaces for an event notifier.

Parameters:
pSession Interface pointer of the new Session. The session was created by the ServerConfig object in the Method createSession. This vendor specific implementation can create a derived Session class with vendor specific information.
pNodeId NodeId of the requested node
eventFilter Event filter defined by the client
eventManagers a list of EventManager interfaces for an event notifier.
Returns:
Error code

Reimplemented from NodeManager.


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