C++ Based OPC UA Client/Server/PubSub SDK  1.7.6.537
RoleTypeUaNode Class Reference

Role interface RoleTypeOperations implementation for a role object implemented with UaObject. More...

#include <roletypeuanode.h>

Inherits RoleTypeOperations.

Public Member Functions

virtual UaNodeId getNodeId () const
 Return the NodeId for this Role Instance. More...
 
virtual OpcUa_UInt32 getRoleId () const
 Return the RoleId for this Role Instance. More...
 
virtual void setRoleId (OpcUa_UInt32 roleId)
 Set the RoleId for this Role Instance. More...
 
virtual UaQualifiedName getBrowseName ()
 Return the BrowseName for this Role Instance. More...
 
virtual bool grantAccess (const Session *pSession, const UaIdentityMappingRuleType &identity) const
 Check if any rule grants access and check that no rule excludes the context (Endpoint, Application, User)
 
virtual UaStatus addIdentity (const UaIdentityMappingRuleType &rule)
 Adds an identity to the list of identity mappings for the role.
 
virtual UaStatus removeIdentity (const UaIdentityMappingRuleType &rule)
 Remove an identity from the list of identity mappings for the role.
 
virtual UaStatus addApplication (const UaString &applicationUri)
 Adds an application to the list of applications known for the role.
 
virtual UaStatus setApplicationsExclude (OpcUa_Boolean applicationsExclude)
 Sets the applications exclude flag for the list of applications known for the role.
 
virtual UaStatus removeApplication (const UaString &applicationUri)
 Removes an application from the list of applications known for the role.
 
virtual UaStatus addEndpoint (const UaEndpointType &endpoint)
 Adds an enpoint to the list of enpoints known for the role.
 
virtual UaStatus removeEndpoint (const UaEndpointType &endpoint)
 Removes an enpoint from the list of enpoints known for the role.
 
virtual UaStatus setEndpointsExclude (OpcUa_Boolean endpointsExclude)
 Sets the enpoints exclude flag for the list of enpoints known for the role.
 
- Public Member Functions inherited from RoleTypeOperations
 RoleTypeOperations ()
 construction
 
- Public Member Functions inherited from ReferenceCounter
 ReferenceCounter ()
 construction
 
virtual ~ReferenceCounter ()
 destruction
 

Additional Inherited Members

- Protected Member Functions inherited from RoleTypeOperations
virtual ~RoleTypeOperations ()
 destruction
 

Detailed Description

Role interface RoleTypeOperations implementation for a role object implemented with UaObject.

Toolkit implementation for the role management interface RoleTypeOperations for role objects implemented with toolkit classes based on UaObject, UaVariable and NodeManagerUaNode.

Member Function Documentation

UaQualifiedName RoleTypeUaNode::getBrowseName ( )
virtual

Return the BrowseName for this Role Instance.

Returns
The RoleId

Implements RoleTypeOperations.

UaNodeId RoleTypeUaNode::getNodeId ( ) const
virtual

Return the NodeId for this Role Instance.

Returns
The NodeId

Implements RoleTypeOperations.

OpcUa_UInt32 RoleTypeUaNode::getRoleId ( ) const
virtual

Return the RoleId for this Role Instance.

Returns
The RoleId

Implements RoleTypeOperations.

void RoleTypeUaNode::setRoleId ( OpcUa_UInt32  roleId)
virtual

Set the RoleId for this Role Instance.

Parameters
roleIdthe new roleId

Implements RoleTypeOperations.


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