C++ UA Server SDK
1.5.1.326
|
Class definition of the UaMethod. More...
#include <uabasenodes.h>
Inherits UaNode.
Inherited by OpcUa::BaseMethod, UaGenericMethod, and UaMethodGeneric.
Public Member Functions | |
UaMethod () | |
construction | |
virtual OpcUa_Boolean | executable () const =0 |
Indicates if Method is executable. More... | |
virtual OpcUa_Boolean | userExecutable (Session *pSession) const =0 |
Indicates if method is executable by the user. More... | |
OpcUa_NodeClass | nodeClass () const |
Get the NodeClass of the current Node. More... | |
virtual void | getAttributeValue (Session *pSession, OpcUa_Int32 attributeId, UaDataValue &uaDataValue) |
Gets the value of an attribute of the Node. More... | |
Public Member Functions inherited from UaNode | |
UaNode () | |
Construction of the UaNode. More... | |
virtual UaNodeId | getKey () const |
Get the key of the node used for the hash table. More... | |
virtual UaReferenceLists * | getUaReferenceLists () const |
Get the UaReferenceLists interface for the node. More... | |
virtual UaStatus | browse (const ServiceContext &serviceContext, BrowseContext &browseContext, UaReferenceDescriptions &References)=0 |
Discover the references of a specified node of a view. More... | |
virtual UaNodeId | typeDefinitionId () const |
Get NodeId of the type definition node for this node. More... | |
virtual UaNodeId | nodeId () const =0 |
Get value of the NodeId attribute of this Node. More... | |
virtual UaQualifiedName | browseName () const =0 |
Get value of the BrowseName attribute of this Node. More... | |
virtual UaLocalizedText | displayName (Session *pSession) const =0 |
Get value of the DisplayName attribute of this Node. More... | |
virtual OpcUa_Boolean | isDescriptionSupported () const =0 |
Flag indicating if the optional attribute Description is supported. More... | |
virtual UaLocalizedText | description (Session *pSession) const =0 |
Get value of the Description attribute of this Node. More... | |
virtual OpcUa_Boolean | isWriteMaskSupported () const =0 |
Flag indicating if the optional attribute WriteMask is supported. More... | |
virtual OpcUa_UInt32 | writeMask () const =0 |
Get value of the WriteMask attribute of this Node. More... | |
virtual OpcUa_Boolean | isUserWriteMaskSupported () const =0 |
Flag indicating if the optional attribute UserWriteMask is supported. More... | |
virtual OpcUa_UInt32 | userWriteMask (Session *pSession) const =0 |
Get value of the UserWriteMask attribute of this Node. More... | |
virtual UaNodeId | modellingRuleId () const |
Get NodeId of the modeling rule for this node. More... | |
virtual UaStatus | setAttributeValue (Session *pSession, OpcUa_Int32 attributeId, const UaDataValue &dataValue, OpcUa_Boolean checkWriteMask) |
Sets the value of an attribute of the Node. More... | |
virtual void | setUserData (UserDataBase *pUserData) |
Defines the method to set user data handled by a derived class. More... | |
virtual UserDataBase * | getUserData () const |
Returns user data provided by a derived class. More... | |
const NodeAccessInfo * | getAccessInfo () const |
Returns the access info for this node. More... | |
void | useAccessInfoFrom (const UaNode *pOther) |
Set the NodeAccessInfo from another node to this node. More... | |
void | setAccessInfo (NodeAccessInfo *pAccessInfo) |
Set the NodeAccessInfo for this node. More... | |
void | attachAccessInfo (NodeAccessInfo *pAccessInfo) |
Set the NodeAccessInfo for this node. More... | |
Public Member Functions inherited from ChainEntry | |
ChainEntry () | |
construction | |
ChainEntry * | find (const UaNodeId &key, ChainEntry **ppPrevious) |
finds the right entry in the chain. More... | |
void | add (ChainEntry *pNewEntry) |
adds a new entry to the list. More... | |
void | prepend (ChainEntry *pNewEntry) |
prepends a new entry to the list. More... | |
ChainEntry * | remove (const UaNodeId &key, ChainEntry **ppNext) |
removes an entry from the list. More... | |
ChainEntry * | getNext () const |
Check if there is a chain. More... | |
virtual void | setInvalid () |
Set the entry to invalid. More... | |
Public Member Functions inherited from ReferenceCounter | |
ReferenceCounter () | |
construction | |
virtual | ~ReferenceCounter () |
destruction | |
Protected Member Functions | |
virtual | ~UaMethod () |
destruction | |
Protected Member Functions inherited from UaNode | |
virtual | ~UaNode () |
Destruction of the UaNode. More... | |
Protected Member Functions inherited from ChainEntry | |
virtual | ~ChainEntry () |
destruction | |
|
pure virtual |
Indicates if Method is executable.
Implemented in UaGenericMethod, UaMethodGeneric, and OpcUa::BaseMethod.
|
virtual |
|
inlinevirtual |
Get the NodeClass of the current Node.
Implements UaNode.
Reimplemented in UaGenericMethod.
|
pure virtual |
Indicates if method is executable by the user.
pSession | Interface to the Session context for the method call |
Implemented in UaGenericMethod, UaMethodGeneric, and OpcUa::BaseMethod.