UA Server SDK C++ Bundle  1.3.3.206
 All Data Structures Namespaces Functions Variables Typedefs Enumerations Enumerator Groups Pages
OpcUaPlc::NodeManagerPLCopen Class Reference

NodeManager for PLCopen information model. More...

#include <opcuaplc_nodemanagerplcopen.h>

Inherits NodeManagerUaNode, and IOManagerUaNode.

Public Member Functions

IOManagergetIOManager (UaNode *pUaNode, OpcUa_Int32 attributeId) const
 Get the responsible IOManager for the node and attribute combination. More...
 
UaStatus afterStartUp ()
 Finish start up in derived class after starting up base class. More...
 
UaStatus beforeShutDown ()
 Start shut down in derived class before shutting down base class. More...
 
- Public Member Functions inherited from NodeManagerUaNode
 NodeManagerUaNode (const UaString &sNamespaceUri, OpcUa_Int32 nHashTableSize)
 Constructs a NodeManagerUaNode object. More...
 
virtual ~NodeManagerUaNode ()
 Destroys the NodeManagerUaNode object and all nodes managed by the node manager.
 
virtual UaNodegetNode (const UaNodeId &nodeId)
 Get a UaNode pointer for a requested nodeId. More...
 
void registerBrowseUaNodeCallback (BrowseUaNodeCallback *pBrowseUaNodeCallback)
 Registers a callback interface used to influence browse results. More...
 
UaStatus addUaNode (UaNode *pNewNode)
 Add a new UaNode to the node management. More...
 
UaStatus deleteUaNode (UaNode *pNode, OpcUa_Boolean deleteTargetReferences, OpcUa_Boolean deleteSourceReferences=OpcUa_False, OpcUa_Boolean deleteAllChildren=OpcUa_False)
 Remove a UaNode from the node management. More...
 
UaStatus addNodeAndReference (UaReferenceLists *pSourceNode, UaReferenceLists *pNewNode, const UaNodeId &referenceTypeId)
 Adds the new node to the node management and creates reference. More...
 
UaStatus addNodeAndReference (const UaNodeId &sourceNode, UaReferenceLists *pNewNode, const UaNodeId &referenceTypeId)
 Adds the new node to the node management and creates reference. More...
 
UaStatus addUaReference (UaReferenceLists *pSourceNode, UaReferenceLists *pTargetNode, const UaNodeId &referenceTypeId)
 Adds a reference from source node to target node. More...
 
UaStatus addUaReference (const UaNodeId &sourceId, const UaNodeId &targetId, const UaNodeId &referenceTypeId)
 Adds a reference from source node to target node. More...
 
UaStatus deleteUaReference (UaReferenceLists *pSourceNode, UaReferenceLists *pTargetNode, const UaNodeId &referenceTypeId)
 Delete the reference from source node to target node. More...
 
UaStatus deleteUaReference (const UaNodeId &sourceId, const UaNodeId &targetId, const UaNodeId &referenceTypeId)
 Delete the reference from source node to target node. More...
 
OpcUa_UInt16 getNameSpaceIndex () const
 Get the namespace index of the node manager. More...
 
virtual UaStatus startUp (ServerManager *)
 Start up NodeManager. More...
 
virtual UaStatus shutDown ()
 Shut down NodeManager. More...
 
virtual UaStatus browse (const ServiceContext &, BrowseContext &, UaReferenceDescriptions &)
 Discover the references of a specified node of a view. More...
 
virtual UaStatus translateBrowsePathToNodeId (const ServiceContext &, const UaNodeId &, UaRelativePath &, UaBrowsePathTargets &)
 Translates a relative browse path to a node id. More...
 
virtual VariableHandlegetVariableHandle (Session *, VariableHandle::ServiceType, OpcUa_NodeId *, OpcUa_Int32) const
 Get the variable handle for the passed node Id. More...
 
virtual MethodHandlegetMethodHandle (Session *, OpcUa_NodeId *, OpcUa_NodeId *, UaStatus &) const
 Get the method handle for the passed node Id. More...
 
virtual
NodeManagerCrossReferences
getNodeManagerCrossReferences ()
 Get the interface NodeManagerCrossReferences if available. More...
 
virtual NodeManagerConfiggetNodeManagerConfig ()
 Get the interface NodeManagerConfig if available. More...
 
virtual NodeManagerUaNodegetNodeManagerUaNode ()
 Get the interface NodeManagerUaNode if available. More...
 
virtual UaStatus connectStartingNode (const UaNodeId &, NodeManager *, OpcUa_Boolean, OpcUa_Boolean)
 Connect a starting node to the passed NodeManager This method is used to tell the NodeManager A (implements this method) that another NodeManager B has a Nodes with references to a Node in A but is not able to specify the list. More...
 
virtual UaStatus disconnectStartingNode (const UaNodeId &, NodeManager *)
 Disconnect a starting node from the passed NodeManager. More...
 
- Public Member Functions inherited from NodeManager
 NodeManager ()
 construction
 
virtual ~NodeManager ()
 destruction
 
virtual UaStatus sessionOpened (Session *)
 Notifies the node manager that a new session was opened. More...
 
virtual UaStatus sessionActivated (Session *)
 Notifies the node manager that a session was activated. More...
 
virtual UaStatus sessionClosed (Session *)
 Notifies the node manager that a session was closed. More...
 
virtual HistoryVariableHandlegetHistoryVariableHandle (Session *pSession, HistoryVariableHandle::ServiceType serviceType, OpcUa_NodeId *pNodeId, UaStatus &result) const
 Get the history variable handle for the passed node Id. More...
 
virtual UaStatus getEventManagers (Session *pSession, OpcUa_NodeId *pNodeId, OpcUa_EventFilter *eventFilter, EventManagerArray &eventManagers) const
 Get a list of EventManager interfaces for an event notifier. More...
 
virtual UaStatus addNode (const ServiceContext &serviceContext, const UaNodeId &parentNodeId, const UaNodeId &referenceTypeId, const UaNodeId &requestedNewNodeId, const UaQualifiedName &browseName, OpcUa_NodeClass nodeClass, const UaExtensionObject &nodeAttributes, const UaNodeId &typeDefinition, UaNodeId &addedNodeId)
 Add node to the NodeManager. More...
 
virtual UaStatus addReference (const ServiceContext &serviceContext, const UaNodeId &sourceNodeId, const UaNodeId &referenceTypeId, OpcUa_Boolean isForward, const UaNodeId &targetNodeId, OpcUa_NodeClass targetNodeClass)
 Add reference to the NodeManager. More...
 
virtual UaStatus deleteNode (const ServiceContext &serviceContext, const UaNodeId &nodeId, OpcUa_Boolean deleteTargetReference)
 Delete node from the NodeManager. More...
 
virtual UaStatus deleteReference (const ServiceContext &serviceContext, const UaNodeId &sourceNodeId, const UaNodeId &referenceTypeId, OpcUa_Boolean isForward, const UaNodeId &targetNodeId, OpcUa_Boolean deleteBidirectional)
 Delete reference from the NodeManager. More...
 
- Public Member Functions inherited from NodeManagerConfig
 NodeManagerConfig ()
 construction
 
virtual ~NodeManagerConfig ()
 destruction
 
virtual EventManagerUaNodegetEventManagerUaNode ()
 Get the EventManagerUaNode interface if implemented by the class implementing the NodeManagerConfig interface. More...
 
- Public Member Functions inherited from NodeManagerCrossReferences
 NodeManagerCrossReferences ()
 construction
 
virtual ~NodeManagerCrossReferences ()
 destruction
 
virtual UaStatus addCrossReference (const UaNodeId &, const UaNodeId &, OpcUa_Boolean, const UaNodeId &, NodeManager *)
 Create a reference between nodes managed by different node managers. More...
 
virtual UaStatus deleteCrossReference (const UaNodeId &, const UaNodeId &, OpcUa_Boolean, const UaNodeId &, NodeManager *)
 Delete a reference between nodes managed by different node managers. More...
 
- Public Member Functions inherited from IOManagerUaNode
 IOManagerUaNode ()
 construction
 
virtual ~IOManagerUaNode ()
 destruction
 
virtual UaStatus startUpIO (ServerManager *pServerManager)
 Start up IOManager. More...
 
virtual UaStatus shutDownIO ()
 Shut down IOManager. More...
 
virtual UaStatus readValues (const UaVariableArray &arrUaVariables, UaDataValueArray &arrDataValues)
 Reads the value attributes for a list of UaVariables. More...
 
virtual UaStatus writeValues (const UaVariableArray &arrUaVariables, const PDataValueArray &arrpDataValues, UaStatusCodeArray &arrStatusCodes)
 Writes the value attributes for a list of UaVariables. More...
 
virtual OpcUa_Boolean beforeSetAttributeValue (Session *pSession, UaNode *pNode, OpcUa_Int32 attributeId, const UaDataValue &dataValue, OpcUa_Boolean &checkWriteMask)
 Event that is called before the value of an attribute of a Node is set. More...
 
virtual void afterSetAttributeValue (Session *pSession, UaNode *pNode, OpcUa_Int32 attributeId, const UaDataValue &dataValue)
 Event that is called after the value of an attribute of a Node was updated. More...
 
virtual void afterGetAttributeValue (Session *pSession, UaNode *pNode, OpcUa_Int32 attributeId, UaDataValue &dataValue)
 Event that is called after the value of an attribute of a Node was read from the node. More...
 
virtual UaStatus beforeMonitorAttributeValue (Session *pSession, UaNode *pNode, OpcUa_Int32 attributeId, OpcUa_Boolean &returnErrorInCreate)
 Event that is called before a data monitored item is created. More...
 
virtual void variableCacheMonitoringChanged (UaVariableCache *pVariable, TransactionType transactionType)
 Event that is called after the monitoring of a cache variable was changed. More...
 
void setTimestampWriteSupport (OpcUa_Boolean isSupported)
 Method used to enable or disable support for writing timestamp. More...
 
void setStatusWriteSupport (OpcUa_Boolean isSupported)
 Method used to enable or disable support for writing status. More...
 
UaStatus beginTransaction (IOManagerCallback *, const ServiceContext &, OpcUa_UInt32, OpcUa_UInt32, OpcUa_Double, OpcUa_TimestampsToReturn, TransactionType, OpcUa_Handle &)
 Begin a IOManager transaction. More...
 
UaStatus beginStartMonitoring (OpcUa_Handle, OpcUa_UInt32, IOVariableCallback *, VariableHandle *, MonitoringContext &)
 Begin start monitoring of an item. More...
 
UaStatus beginModifyMonitoring (OpcUa_Handle, OpcUa_UInt32, OpcUa_UInt32, MonitoringContext &)
 Begin modify monitoring of an item. More...
 
UaStatus beginStopMonitoring (OpcUa_Handle, OpcUa_UInt32, OpcUa_UInt32)
 Begin stop monitoring of an item. More...
 
UaStatus beginRead (OpcUa_Handle, OpcUa_UInt32, VariableHandle *, OpcUa_ReadValueId *)
 Begin reading an attribute value of a node. More...
 
UaStatus beginWrite (OpcUa_Handle, OpcUa_UInt32, VariableHandle *, OpcUa_WriteValue *)
 Begin writing an attribute value for a node. More...
 
UaStatus finishTransaction (OpcUa_Handle)
 Finish a transaction. More...
 
- Public Member Functions inherited from IOManager
 IOManager ()
 Construction.
 
virtual ~IOManager ()
 Destruction.
 

Additional Inherited Members

- Public Types inherited from IOManager
enum  TransactionType {
  READ, WRITE, MONITOR_BEGIN, MONITOR_MODIFY,
  MONITOR_STOP, INVALID
}
 TransactionType enumeration. More...
 
- Protected Member Functions inherited from NodeManagerUaNode
UaStatusCode clearAllNodes ()
 Clear all nodes in the node manager and all references to other node managers. More...
 
UaNodefindNode (const UaNodeId &id) const
 Find a UaNode by UaNodeId. More...
 
UaNodefindNode (const OpcUa_NodeId *pId) const
 Find a UaNode by OpcUa_NodeId. More...
 
UaString getNameSpaceUri ()
 Get the name space URI of this node manager. More...
 
OpcUa_Boolean isStarted ()
 Check if the NodeManager is started or not. More...
 
- Protected Attributes inherited from NodeManagerUaNode
ServerManagerm_pServerManager
 Central server manager object.
 
NodeManagerCrossReferencesm_pNodeManagerCrossReferences0
 NodeManagerCrossReferences interface of node manager root (name space 0).
 
NodeManagerListm_pNodeManagerList
 NodeManagerList interface of node manager root (name space 0).
 
UaString m_defaultLocaleId
 Default LocaleId for the node manager.
 
OpcUa_Boolean m_isStarted
 Flag indicating if the node manager was started.
 
UaMutex m_mutexNodes
 This mutex is used to synconize access to the nodes and references in this node manager.
 
OpcUa_UInt16 m_nNamespaceIndex
 Name space index of this node manager.
 
UaString m_sNamespaceUri
 Name space URI of this node manager.
 
HashTablem_pTable
 Hash table for the nodes managed by this node manager.
 
UaMutex m_mutexAliasTable
 Mutex used to protect access to the hash table.
 
UaObjectPointerArray< UaNodeIdm_crossNodeManagerAliasNodes
 List of cross node manager alias nodes.
 
BrowseUaNodeCallbackm_pBrowseUaNodeCallback
 Callback interface to influence browse results.
 

Detailed Description

NodeManager for PLCopen information model.

Member Function Documentation

UaStatus OpcUaPlc::NodeManagerPLCopen::afterStartUp ( )
virtual

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

Implements NodeManagerUaNode.

UaStatus OpcUaPlc::NodeManagerPLCopen::beforeShutDown ( )
virtual

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

Implements NodeManagerUaNode.

IOManager * OpcUaPlc::NodeManagerPLCopen::getIOManager ( UaNode pUaNode,
OpcUa_Int32  attributeId 
) const
virtual

Get the responsible IOManager for the node and attribute combination.

Implements NodeManagerUaNode.


The documentation for this class was generated from the following files: