UA Server SDK C++ Bundle
1.4.1.271
|
NodeManager for Tag File. More...
#include <nodemanagertagfile.h>
Inherits NodeManager, IOManager, and TagFileCallback.
Public Member Functions | |
UaStatus | clearNodes () |
Remove all nodes from the tag file The configured attributes are kept for each namespace. | |
virtual UaStatus | startUp (ServerManager *pServerManager) |
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 VariableHandle * | getVariableHandle (Session *, VariableHandle::ServiceType, OpcUa_NodeId *, OpcUa_Int32) const |
Get the variable handle for the passed node Id. More... | |
virtual HistoryVariableHandle * | getHistoryVariableHandle (Session *, HistoryVariableHandle::ServiceType, OpcUa_NodeId *, UaStatus &) const |
Get the history variable handle for the passed node Id if a history manager is assigned. | |
virtual MethodHandle * | getMethodHandle (Session *, OpcUa_NodeId *, OpcUa_NodeId *, UaStatus &) const |
Get the method handle for the passed node Id. | |
virtual UaStatus | sessionClosed (Session *pSession) |
Notifies the node manager that a session was closed. More... | |
UaStatus | beginTransaction (IOManagerCallback *, const ServiceContext &, OpcUa_UInt32, OpcUa_UInt32, OpcUa_Double, OpcUa_TimestampsToReturn, TransactionType, OpcUa_Handle &) |
Start a transaction. More... | |
UaStatus | beginStartMonitoring (OpcUa_Handle, OpcUa_UInt32, IOVariableCallback *, VariableHandle *, MonitoringContext &) |
Start monitoring of an item. More... | |
UaStatus | beginModifyMonitoring (OpcUa_Handle, OpcUa_UInt32, OpcUa_UInt32, MonitoringContext &) |
Notify IOManager after modifying monitoring parameters of an item. More... | |
UaStatus | beginStopMonitoring (OpcUa_Handle, OpcUa_UInt32, OpcUa_UInt32) |
Notify IOManager after stopping monitoring of an item. More... | |
UaStatus | beginRead (OpcUa_Handle, OpcUa_UInt32, VariableHandle *, OpcUa_ReadValueId *) |
Read attribute value of a node. More... | |
UaStatus | beginWrite (OpcUa_Handle, OpcUa_UInt32, VariableHandle *, OpcUa_WriteValue *) |
Write attribute value of a node. More... | |
UaStatus | finishTransaction (OpcUa_Handle) |
Finish a transaction. More... | |
void | rootCreated (RootNode *pNode) |
Callback method from TagFile to inform the registered module about the creation of a root node in the tag file. | |
void | rootAboutToBeDeleted (RootNode *pNode) |
Callback method from TagFile to inform the registered module that a root node is about to be deleted. | |
void | nodeCreated (BaseNode *pNode) |
Callback method from TagFile to inform the registered module about the creation of a node in the tag file. | |
void | nodeModified (BaseNode *pNode, TagFileCallback::ChangeMask change) |
Callback method from NodeManagerTagFile to inform the registered module about the modification of a node in the tag file. | |
void | nodeAboutToBeDeleted (BaseNode *pNode) |
Callback method from NodeManagerTagFile to inform the registered module about the deletion of a node in the tag file. | |
void | setFallbackMethodManager (MethodManager *pMethodManager) |
Set a fallback MethodManager used if Object and Method are not available as UaNode. 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 | 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... | |
virtual NodeManagerCrossReferences * | getNodeManagerCrossReferences () |
Get the interface NodeManagerCrossReferences if available. More... | |
virtual NodeManagerConfig * | getNodeManagerConfig () |
Get the interface NodeManagerConfig if available. More... | |
virtual NodeManagerUaNode * | getNodeManagerUaNode () |
Get the interface NodeManagerUaNode if available. More... | |
Public Member Functions inherited from IOManager | |
IOManager () | |
Construction. | |
virtual | ~IOManager () |
Destruction. | |
Additional Inherited Members | |
Public Types inherited from IOManager | |
enum | TransactionType { TransactionRead, TransactionWrite, TransactionMonitorBegin, TransactionMonitorModify, TransactionMonitorStop, TransactionInvalid } |
TransactionType enumeration. More... | |
NodeManager for Tag File.
|
virtual |
|
virtual |
Read attribute value of a node.
Implements IOManager.
|
virtual |
Start monitoring of an item.
Implements IOManager.
|
virtual |
|
virtual |
Start a transaction.
Implements IOManager.
|
virtual |
Write attribute value of a node.
Implements IOManager.
|
virtual |
Discover the references of a specified node of a view.
Implements NodeManager.
|
virtual |
Finish a transaction.
Implements IOManager.
|
virtual |
Get the variable handle for the passed node Id.
Implements NodeManager.
Notifies the node manager that a session was closed.
The method can be overwritten in a derived class if the implementation needs to know which sessions are active
Reimplemented from NodeManager.
void NodeManagerTagFile::setFallbackMethodManager | ( | MethodManager * | pMethodManager | ) |
Set a fallback MethodManager used if Object and Method are not available as UaNode.
This MethodManager is used if object and method were not found as UaNode like for conditions without nodes in address space. This MethodManager is called with MethodHandleNodeId containing the NodeIds for object and method.
|
virtual |
Shut down NodeManager.
Implements NodeManager.
|
virtual |
Start up NodeManager.
Implements NodeManager.
|
virtual |
Translates a relative browse path to a node id.
Implements NodeManager.