#include <uadatavariablecache.h>
Public Types | |
enum | ArgumentType { INARGUMENTS, OUTARGUMENTS } |
Public Member Functions | |
UaPropertyMethodArgument (const UaNodeId &nodeId, OpcUa_Byte accessLevel, OpcUa_UInt32 numberOfArguments, ArgumentType argumentType) | |
virtual | ~UaPropertyMethodArgument () |
UaReferenceLists * | getUaReferenceLists () const |
UaStatus | browse (const ServiceContext &serviceContext, BrowseContext &browseContext, UaReferenceDescriptions &References) |
virtual UaNodeId | typeDefinitionId () const |
UaNodeId | nodeId () const |
virtual UaQualifiedName | browseName () const |
virtual UaLocalizedText | displayName (const UaString &localId) const |
virtual OpcUa_Boolean | isDescriptionSupported () const |
virtual UaLocalizedText | description (const UaString &localId) const |
virtual OpcUa_Boolean | isWriteMaskSupported () const |
virtual OpcUa_UInt32 | writeMask () const |
virtual OpcUa_Boolean | isUserWriteMaskSupported () const |
virtual OpcUa_UInt32 | userWriteMask (Session *pSession) const |
virtual UaDataValue | value (Session *pSession) |
virtual UaStatus | setValue (Session *pSession, UaDataValue &dataValue, OpcUa_Boolean checkAccessLevel) |
virtual UaNodeId | dataType () const |
virtual OpcUa_Int32 | valueRank () const |
virtual OpcUa_Boolean | isArrayDimensionsSupported () const |
virtual void | arrayDimensions (UaUInt32Array &arrayDimensions) const |
virtual OpcUa_Byte | accessLevel () const |
virtual OpcUa_Byte | userAccessLevel (Session *pSession) const |
virtual OpcUa_Boolean | isMinimumSamplingIntervalSupported () const |
virtual OpcUa_Double | minimumSamplingInterval () const |
virtual OpcUa_Boolean | historizing () const |
UaNode * | getUaNode () const |
OpcUa_StatusCode | setArgument (OpcUa_UInt32 index, const UaString &name, const UaNodeId &dataType, OpcUa_Int32 valueRank, const UaUInt32Array &arrayDimensions, const UaLocalizedText &description) |
UaPropertyMethodArgument::UaPropertyMethodArgument | ( | const UaNodeId & | nodeId, | |
OpcUa_Byte | accessLevel, | |||
OpcUa_UInt32 | numberOfArguments, | |||
ArgumentType | argumentType | |||
) |
construction
UaPropertyMethodArgument::~UaPropertyMethodArgument | ( | ) | [virtual] |
destruction
UaReferenceLists* UaPropertyMethodArgument::getUaReferenceLists | ( | ) | const [inline, virtual] |
Get a ReferenceList where all the Nodes are in.
Reimplemented from UaNode.
UaStatus UaPropertyMethodArgument::browse | ( | const ServiceContext & | serviceContext, | |
BrowseContext & | browseContext, | |||
UaReferenceDescriptions & | References | |||
) | [virtual] |
Discover the references of a specified node of a view. This method is used to return a list of references and target nodes for the passed node to browse for the services Browse and BrowseNext.
serviceContext | General context for the service calls containing information like the session object, return diagnostic mask and timeout hint. | |
browseContext | Browse context for the first browse or the following browse with continuation point. | |
References | Array of ReferenceDescription results for the browsed node. |
Implements UaNode.
UaNodeId UaPropertyMethodArgument::typeDefinitionId | ( | ) | const [virtual] |
Get the object type NodeId for the server object.
Implements UaNode.
UaNodeId UaPropertyMethodArgument::nodeId | ( | ) | const [virtual] |
UaQualifiedName UaPropertyMethodArgument::browseName | ( | ) | const [virtual] |
Get the browseName as QualifiedName of the current Node.
Implements UaNode.
UaLocalizedText UaPropertyMethodArgument::displayName | ( | const UaString & | localId | ) | const [virtual] |
Get the displayName as LocalizedText of the current Node.
localId | the local Id as Variable used for the session. |
Implements UaNode.
OpcUa_Boolean UaPropertyMethodArgument::isDescriptionSupported | ( | ) | const [virtual] |
UaLocalizedText UaPropertyMethodArgument::description | ( | const UaString & | localId | ) | const [virtual] |
Get the description as LocalizedText of the current Node.
localId | the local Id as Variable used for the session. |
Implements UaNode.
OpcUa_Boolean UaPropertyMethodArgument::isWriteMaskSupported | ( | ) | const [virtual] |
OpcUa_UInt32 UaPropertyMethodArgument::writeMask | ( | ) | const [virtual] |
OpcUa_Boolean UaPropertyMethodArgument::isUserWriteMaskSupported | ( | ) | const [virtual] |
Check if Node is UserWriteMaskSupported.
Implements UaNode.
OpcUa_UInt32 UaPropertyMethodArgument::userWriteMask | ( | Session * | pSession | ) | const [virtual] |
UaDataValue UaPropertyMethodArgument::value | ( | Session * | pSession | ) | [virtual] |
Sets the current value for the DataVariable.
pSession | Interface to the Session context for the method call |
Implements UaVariable.
UaStatus UaPropertyMethodArgument::setValue | ( | Session * | pSession, | |
UaDataValue & | dataValue, | |||
OpcUa_Boolean | checkAccessLevel | |||
) | [virtual] |
Sets the current value for the DataVariable.
pSession | Interface to the Session context for the method call | |
dataValue | Cached value of the DataVariable. | |
checkAccessLevel | checks the Access Level of the current Session. |
Implements UaVariable.
UaNodeId UaPropertyMethodArgument::dataType | ( | ) | const [virtual] |
Get the DataType for the DataVariable.
Implements UaVariable.
OpcUa_Int32 UaPropertyMethodArgument::valueRank | ( | ) | const [virtual] |
Get the ValueRank for the DataVariable.
Implements UaVariable.
OpcUa_Boolean UaPropertyMethodArgument::isArrayDimensionsSupported | ( | ) | const [virtual] |
Check if the Node is ArrayDimensionsSupported.
Implements UaVariable.
void UaPropertyMethodArgument::arrayDimensions | ( | UaUInt32Array & | arrayDimensions | ) | const [virtual] |
Get the arrayDimensions value for the passed UaNode.
arrayDimensions | the arrayDimensions value for the passed UaNode. |
Implements UaVariable.
OpcUa_Byte UaPropertyMethodArgument::accessLevel | ( | ) | const [virtual] |
Get the AccessLevel for the DataVariable.
Implements UaVariable.
OpcUa_Byte UaPropertyMethodArgument::userAccessLevel | ( | Session * | pSession | ) | const [virtual] |
Get the UserAccessLevel for the DataVariable.
pSession | Interface to the Session context for the method call |
Implements UaVariable.
OpcUa_Boolean UaPropertyMethodArgument::isMinimumSamplingIntervalSupported | ( | ) | const [virtual] |
Check wether a minimum sampling interval is supported.
Implements UaVariable.
OpcUa_Double UaPropertyMethodArgument::minimumSamplingInterval | ( | ) | const [virtual] |
Get the minimum sampling interval of the Node.
Implements UaVariable.
OpcUa_Boolean UaPropertyMethodArgument::historizing | ( | ) | const [virtual] |
Indicates if historizing is available or not.
Implements UaVariable.
UaNode* UaPropertyMethodArgument::getUaNode | ( | ) | const [inline, virtual] |
OpcUa_StatusCode UaPropertyMethodArgument::setArgument | ( | OpcUa_UInt32 | index, | |
const UaString & | name, | |||
const UaNodeId & | dataType, | |||
OpcUa_Int32 | valueRank, | |||
const UaUInt32Array & | arrayDimensions, | |||
const UaLocalizedText & | description | |||
) |
Set one of the arguments in the argument list.
index | the index where the new item is stored. | |
name | the name of the new item. | |
dataType | the DataType of the DataVariable. | |
valueRank | the ValueRank of the DataVariable. | |
arrayDimensions | the arrayDimensions value for the passed UaNode. | |
description | the description as LocalizedText of the current Node. |