open62541pp 0.16.0
C++ wrapper of open62541
|
#include <node.hpp>
High-level node class to access node attribute, browse and populate address space.
The Node API is just a more convenient way of using the free functions in the opcua::services namespace.
Node objects are useful as-is but they do not expose the entire OPC UA protocol. You can get access to the associated NodeId instance with the Node::id() method and apply the native open62541 functions or the free functions in the opcua::services namespace.
Definition at line 30 of file server.hpp.
Public Member Functions | |
Node (Connection &connection, const NodeId &id) | |
Node (Connection &connection, NodeId &&id) | |
Connection & | connection () noexcept |
const Connection & | connection () const noexcept |
const NodeId & | id () const noexcept |
bool | exists () noexcept |
NodeManagement | |
Node | addFolder (const NodeId &id, std::string_view browseName, const ObjectAttributes &attributes={}, const NodeId &referenceType=ReferenceTypeId::HasComponent) |
template<typename CompletionToken = DefaultCompletionToken> | |
auto | addFolderAsync (const NodeId &id, std::string_view browseName, const ObjectAttributes &attributes={}, const NodeId &referenceType=ReferenceTypeId::HasComponent, CompletionToken &&token=DefaultCompletionToken()) |
Node | addObject (const NodeId &id, std::string_view browseName, const ObjectAttributes &attributes={}, const NodeId &objectType=ObjectTypeId::BaseObjectType, const NodeId &referenceType=ReferenceTypeId::HasComponent) |
template<typename CompletionToken = DefaultCompletionToken> | |
auto | addObjectAsync (const NodeId &id, std::string_view browseName, const ObjectAttributes &attributes={}, const NodeId &objectType=ObjectTypeId::BaseObjectType, const NodeId &referenceType=ReferenceTypeId::HasComponent, CompletionToken &&token=DefaultCompletionToken()) |
Node | addVariable (const NodeId &id, std::string_view browseName, const VariableAttributes &attributes={}, const NodeId &variableType=VariableTypeId::BaseDataVariableType, const NodeId &referenceType=ReferenceTypeId::HasComponent) |
template<typename CompletionToken = DefaultCompletionToken> | |
auto | addVariableAsync (const NodeId &id, std::string_view browseName, const VariableAttributes &attributes={}, const NodeId &variableType=VariableTypeId::BaseDataVariableType, const NodeId &referenceType=ReferenceTypeId::HasComponent, CompletionToken &&token=DefaultCompletionToken()) |
Node | addProperty (const NodeId &id, std::string_view browseName, const VariableAttributes &attributes={}) |
template<typename CompletionToken = DefaultCompletionToken> | |
auto | addPropertyAsync (const NodeId &id, std::string_view browseName, const VariableAttributes &attributes={}, CompletionToken &&token=DefaultCompletionToken()) |
Node | addMethod (const NodeId &id, std::string_view browseName, services::MethodCallback callback, Span< const Argument > inputArguments, Span< const Argument > outputArguments, const MethodAttributes &attributes={}, const NodeId &referenceType=ReferenceTypeId::HasComponent) |
template<typename CompletionToken = DefaultCompletionToken> | |
auto | addMethodAsync (const NodeId &id, std::string_view browseName, services::MethodCallback callback, Span< const Argument > inputArguments, Span< const Argument > outputArguments, const MethodAttributes &attributes={}, const NodeId &referenceType=ReferenceTypeId::HasComponent, CompletionToken &&token=DefaultCompletionToken()) |
Node | addObjectType (const NodeId &id, std::string_view browseName, const ObjectTypeAttributes &attributes={}, const NodeId &referenceType=ReferenceTypeId::HasSubtype) |
template<typename CompletionToken = DefaultCompletionToken> | |
auto | addObjectTypeAsync (const NodeId &id, std::string_view browseName, const ObjectTypeAttributes &attributes={}, const NodeId &referenceType=ReferenceTypeId::HasSubtype, CompletionToken &&token=DefaultCompletionToken()) |
Node | addVariableType (const NodeId &id, std::string_view browseName, const VariableTypeAttributes &attributes={}, const NodeId &variableType=VariableTypeId::BaseDataVariableType, const NodeId &referenceType=ReferenceTypeId::HasSubtype) |
template<typename CompletionToken = DefaultCompletionToken> | |
auto | addVariableTypeAsync (const NodeId &id, std::string_view browseName, const VariableTypeAttributes &attributes={}, const NodeId &variableType=VariableTypeId::BaseDataVariableType, const NodeId &referenceType=ReferenceTypeId::HasSubtype, CompletionToken &&token=DefaultCompletionToken()) |
Node | addReferenceType (const NodeId &id, std::string_view browseName, const ReferenceTypeAttributes &attributes={}, const NodeId &referenceType=ReferenceTypeId::HasSubtype) |
template<typename CompletionToken = DefaultCompletionToken> | |
auto | addReferenceTypeAsync (const NodeId &id, std::string_view browseName, const ReferenceTypeAttributes &attributes={}, const NodeId &referenceType=ReferenceTypeId::HasSubtype, CompletionToken &&token=DefaultCompletionToken()) |
Node | addDataType (const NodeId &id, std::string_view browseName, const DataTypeAttributes &attributes={}, const NodeId &referenceType=ReferenceTypeId::HasSubtype) |
template<typename CompletionToken = DefaultCompletionToken> | |
auto | addDataTypeAsync (const NodeId &id, std::string_view browseName, const DataTypeAttributes &attributes={}, const NodeId &referenceType=ReferenceTypeId::HasSubtype, CompletionToken &&token=DefaultCompletionToken()) |
Node | addView (const NodeId &id, std::string_view browseName, const ViewAttributes &attributes={}, const NodeId &referenceType=ReferenceTypeId::Organizes) |
template<typename CompletionToken = DefaultCompletionToken> | |
auto | addViewAsync (const NodeId &id, std::string_view browseName, const ViewAttributes &attributes={}, const NodeId &referenceType=ReferenceTypeId::Organizes, CompletionToken &&token=DefaultCompletionToken()) |
Node & | addReference (const NodeId &targetId, const NodeId &referenceType, bool forward=true) |
template<typename CompletionToken = DefaultCompletionToken> | |
auto | addReferenceAsync (const NodeId &targetId, const NodeId &referenceType, bool forward=true, CompletionToken &&token=DefaultCompletionToken()) |
Node & | addModellingRule (ModellingRule rule) |
template<typename CompletionToken = DefaultCompletionToken> | |
auto | addModellingRuleAsync (ModellingRule rule, CompletionToken &&token=DefaultCompletionToken()) |
void | deleteNode (bool deleteReferences=true) |
template<typename CompletionToken = DefaultCompletionToken> | |
auto | deleteNodeAsync (bool deleteReferences=true, CompletionToken &&token=DefaultCompletionToken()) |
Node & | deleteReference (const NodeId &targetId, const NodeId &referenceType, bool isForward=true, bool deleteBidirectional=true) |
template<typename CompletionToken = DefaultCompletionToken> | |
auto | deleteReferenceAsync (const NodeId &targetId, const NodeId &referenceType, bool isForward=true, bool deleteBidirectional=true, CompletionToken &&token=DefaultCompletionToken()) |
View | |
std::vector< ReferenceDescription > | browseReferences (BrowseDirection browseDirection=BrowseDirection::Both, const NodeId &referenceType=ReferenceTypeId::References, bool includeSubtypes=true, Bitmask< NodeClass > nodeClassMask=NodeClass::Unspecified) |
std::vector< Node > | browseReferencedNodes (BrowseDirection browseDirection=BrowseDirection::Both, const NodeId &referenceType=ReferenceTypeId::References, bool includeSubtypes=true, Bitmask< NodeClass > nodeClassMask=NodeClass::Unspecified) |
std::vector< Node > | browseChildren (const NodeId &referenceType=ReferenceTypeId::HierarchicalReferences, Bitmask< NodeClass > nodeClassMask=NodeClass::Unspecified) |
Node | browseChild (Span< const QualifiedName > path) |
Node | browseParent () |
Method | |
CallMethodResult | callMethod (const NodeId &methodId, Span< const Variant > inputArguments) |
template<typename CompletionToken = DefaultCompletionToken> | |
auto | callMethodAsync (const NodeId &methodId, Span< const Variant > inputArguments, CompletionToken &&token=DefaultCompletionToken()) |
Attribute | |
NodeClass | readNodeClass () |
template<typename CompletionToken = DefaultCompletionToken> | |
auto | readNodeClassAsync (CompletionToken &&token=DefaultCompletionToken()) |
QualifiedName | readBrowseName () |
template<typename CompletionToken = DefaultCompletionToken> | |
auto | readBrowseNameAsync (CompletionToken &&token=DefaultCompletionToken()) |
LocalizedText | readDisplayName () |
template<typename CompletionToken = DefaultCompletionToken> | |
auto | readDisplayNameAsync (CompletionToken &&token=DefaultCompletionToken()) |
LocalizedText | readDescription () |
template<typename CompletionToken = DefaultCompletionToken> | |
auto | readDescriptionAsync (CompletionToken &&token=DefaultCompletionToken()) |
Bitmask< WriteMask > | readWriteMask () |
template<typename CompletionToken = DefaultCompletionToken> | |
auto | readWriteMaskAsync (CompletionToken &&token=DefaultCompletionToken()) |
Bitmask< WriteMask > | readUserWriteMask () |
template<typename CompletionToken = DefaultCompletionToken> | |
auto | readUserWriteMaskAsync (CompletionToken &&token=DefaultCompletionToken()) |
bool | readIsAbstract () |
template<typename CompletionToken = DefaultCompletionToken> | |
auto | readIsAbstractAsync (CompletionToken &&token=DefaultCompletionToken()) |
bool | readSymmetric () |
template<typename CompletionToken = DefaultCompletionToken> | |
auto | readSymmetricAsync (CompletionToken &&token=DefaultCompletionToken()) |
LocalizedText | readInverseName () |
template<typename CompletionToken = DefaultCompletionToken> | |
auto | readInverseNameAsync (CompletionToken &&token=DefaultCompletionToken()) |
bool | readContainsNoLoops () |
template<typename CompletionToken = DefaultCompletionToken> | |
auto | readContainsNoLoopsAsync (CompletionToken &&token=DefaultCompletionToken()) |
Bitmask< EventNotifier > | readEventNotifier () |
template<typename CompletionToken = DefaultCompletionToken> | |
auto | readEventNotifierAsync (CompletionToken &&token=DefaultCompletionToken()) |
DataValue | readDataValue () |
template<typename CompletionToken = DefaultCompletionToken> | |
auto | readDataValueAsync (CompletionToken &&token=DefaultCompletionToken()) |
Variant | readValue () |
template<typename CompletionToken = DefaultCompletionToken> | |
auto | readValueAsync (CompletionToken &&token=DefaultCompletionToken()) |
template<typename T > | |
T | readValueScalar () |
template<typename T > | |
std::vector< T > | readValueArray () |
NodeId | readDataType () |
template<typename CompletionToken = DefaultCompletionToken> | |
auto | readDataTypeAsync (CompletionToken &&token=DefaultCompletionToken()) |
ValueRank | readValueRank () |
template<typename CompletionToken = DefaultCompletionToken> | |
auto | readValueRankAsync (CompletionToken &&token=DefaultCompletionToken()) |
std::vector< uint32_t > | readArrayDimensions () |
template<typename CompletionToken = DefaultCompletionToken> | |
auto | readArrayDimensionsAsync (CompletionToken &&token=DefaultCompletionToken()) |
Bitmask< AccessLevel > | readAccessLevel () |
template<typename CompletionToken = DefaultCompletionToken> | |
auto | readAccessLevelAsync (CompletionToken &&token=DefaultCompletionToken()) |
Bitmask< AccessLevel > | readUserAccessLevel () |
template<typename CompletionToken = DefaultCompletionToken> | |
auto | readUserAccessLevelAsync (CompletionToken &&token=DefaultCompletionToken()) |
double | readMinimumSamplingInterval () |
template<typename CompletionToken = DefaultCompletionToken> | |
auto | readMinimumSamplingIntervalAsync (CompletionToken &&token=DefaultCompletionToken()) |
bool | readHistorizing () |
template<typename CompletionToken = DefaultCompletionToken> | |
auto | readHistorizingAsync (CompletionToken &&token=DefaultCompletionToken()) |
bool | readExecutable () |
template<typename CompletionToken = DefaultCompletionToken> | |
auto | readExecutableAsync (CompletionToken &&token=DefaultCompletionToken()) |
bool | readUserExecutable () |
template<typename CompletionToken = DefaultCompletionToken> | |
auto | readUserExecutableAsync (CompletionToken &&token=DefaultCompletionToken()) |
Variant | readDataTypeDefinition () |
template<typename CompletionToken = DefaultCompletionToken> | |
auto | readDataTypeDefinitionAsync (CompletionToken &&token=DefaultCompletionToken()) |
Variant | readObjectProperty (const QualifiedName &propertyName) |
Node & | writeDisplayName (const LocalizedText &displayName) |
template<typename CompletionToken = DefaultCompletionToken> | |
auto | writeDisplayNameAsync (const LocalizedText &displayName, CompletionToken &&token=DefaultCompletionToken()) |
Node & | writeDescription (const LocalizedText &description) |
template<typename CompletionToken = DefaultCompletionToken> | |
auto | writeDescriptionAsync (const LocalizedText &description, CompletionToken &&token=DefaultCompletionToken()) |
Node & | writeWriteMask (Bitmask< WriteMask > writeMask) |
template<typename CompletionToken = DefaultCompletionToken> | |
auto | writeWriteMaskAsync (Bitmask< WriteMask > writeMask, CompletionToken &&token=DefaultCompletionToken()) |
Node & | writeUserWriteMask (Bitmask< WriteMask > userWriteMask) |
template<typename CompletionToken = DefaultCompletionToken> | |
auto | writeUserWriteMaskAsync (Bitmask< WriteMask > userWriteMask, CompletionToken &&token=DefaultCompletionToken()) |
Node & | writeIsAbstract (bool isAbstract) |
template<typename CompletionToken = DefaultCompletionToken> | |
auto | writeIsAbstractAsync (bool isAbstract, CompletionToken &&token=DefaultCompletionToken()) |
Node & | writeSymmetric (bool symmetric) |
template<typename CompletionToken = DefaultCompletionToken> | |
auto | writeSymmetricAsync (bool symmetric, CompletionToken &&token=DefaultCompletionToken()) |
Node & | writeInverseName (const LocalizedText &inverseName) |
template<typename CompletionToken = DefaultCompletionToken> | |
auto | writeInverseNameAsync (const LocalizedText &inverseName, CompletionToken &&token=DefaultCompletionToken()) |
Node & | writeContainsNoLoops (bool containsNoLoops) |
template<typename CompletionToken = DefaultCompletionToken> | |
auto | writeContainsNoLoopsAsync (bool containsNoLoops, CompletionToken &&token=DefaultCompletionToken()) |
Node & | writeEventNotifier (Bitmask< EventNotifier > eventNotifier) |
template<typename CompletionToken = DefaultCompletionToken> | |
auto | writeEventNotifierAsync (Bitmask< EventNotifier > eventNotifier, CompletionToken &&token=DefaultCompletionToken()) |
Node & | writeDataValue (const DataValue &value) |
template<typename CompletionToken = DefaultCompletionToken> | |
auto | writeDataValueAsync (const DataValue &value, CompletionToken &&token=DefaultCompletionToken()) |
Node & | writeValue (const Variant &value) |
template<typename CompletionToken = DefaultCompletionToken> | |
auto | writeValueAsync (const Variant &value, CompletionToken &&token=DefaultCompletionToken()) |
template<typename T > | |
Node & | writeValueScalar (const T &value) |
template<typename ArrayLike > | |
Node & | writeValueArray (ArrayLike &&array) |
template<typename InputIt > | |
Node & | writeValueArray (InputIt first, InputIt last) |
Node & | writeDataType (const NodeId &dataType) |
template<typename T > | |
Node & | writeDataType () |
template<typename CompletionToken = DefaultCompletionToken> | |
auto | writeDataTypeAsync (const NodeId &dataType, CompletionToken &&token=DefaultCompletionToken()) |
Node & | writeValueRank (ValueRank valueRank) |
template<typename CompletionToken = DefaultCompletionToken> | |
auto | writeValueRankAsync (ValueRank valueRank, CompletionToken &&token=DefaultCompletionToken()) |
Node & | writeArrayDimensions (Span< const uint32_t > dimensions) |
template<typename CompletionToken = DefaultCompletionToken> | |
auto | writeArrayDimensionsAsync (Span< const uint32_t > dimensions, CompletionToken &&token=DefaultCompletionToken()) |
Node & | writeAccessLevel (Bitmask< AccessLevel > accessLevel) |
template<typename CompletionToken = DefaultCompletionToken> | |
auto | writeAccessLevelAsync (Bitmask< AccessLevel > accessLevel, CompletionToken &&token=DefaultCompletionToken()) |
Node & | writeUserAccessLevel (Bitmask< AccessLevel > userAccessLevel) |
template<typename CompletionToken = DefaultCompletionToken> | |
auto | writeUserAccessLevelAsync (Bitmask< AccessLevel > userAccessLevel, CompletionToken &&token=DefaultCompletionToken()) |
Node & | writeMinimumSamplingInterval (double milliseconds) |
template<typename CompletionToken = DefaultCompletionToken> | |
auto | writeMinimumSamplingIntervalAsync (double milliseconds, CompletionToken &&token=DefaultCompletionToken()) |
Node & | writeHistorizing (bool historizing) |
template<typename CompletionToken = DefaultCompletionToken> | |
auto | writeHistorizingAsync (bool historizing, CompletionToken &&token=DefaultCompletionToken()) |
Node & | writeExecutable (bool executable) |
template<typename CompletionToken = DefaultCompletionToken> | |
auto | writeExecutableAsync (bool executable, CompletionToken &&token=DefaultCompletionToken()) |
Node & | writeUserExecutable (bool userExecutable) |
template<typename CompletionToken = DefaultCompletionToken> | |
auto | writeUserExecutableAsync (bool userExecutable, CompletionToken &&token=DefaultCompletionToken()) |
Node & | writeObjectProperty (const QualifiedName &propertyName, const Variant &value) |
|
inline |
|
inline |
|
inlinenoexcept |
Get the server/client instance.
Definition at line 58 of file node.hpp.
Referenced by opcua::Node< Connection >::addModellingRule(), opcua::Node< Connection >::addModellingRuleAsync(), opcua::Node< Connection >::addReference(), opcua::Node< Connection >::addReferenceAsync(), opcua::Node< Connection >::browseChild(), opcua::Node< Connection >::browseParent(), opcua::Node< Connection >::browseReferencedNodes(), opcua::Node< Connection >::browseReferences(), opcua::Node< Connection >::callMethod(), opcua::Node< Connection >::callMethodAsync(), opcua::Node< Connection >::deleteNode(), opcua::Node< Connection >::deleteNodeAsync(), opcua::Node< Connection >::deleteReference(), opcua::Node< Connection >::deleteReferenceAsync(), opcua::Node< Connection >::readAccessLevel(), opcua::Node< Connection >::readAccessLevelAsync(), opcua::Node< Connection >::readArrayDimensions(), opcua::Node< Connection >::readArrayDimensionsAsync(), opcua::Node< Connection >::readBrowseName(), opcua::Node< Connection >::readBrowseNameAsync(), opcua::Node< Connection >::readContainsNoLoops(), opcua::Node< Connection >::readContainsNoLoopsAsync(), opcua::Node< Connection >::readDataType(), opcua::Node< Connection >::readDataTypeAsync(), opcua::Node< Connection >::readDataTypeDefinition(), opcua::Node< Connection >::readDataTypeDefinitionAsync(), opcua::Node< Connection >::readDataValue(), opcua::Node< Connection >::readDataValueAsync(), opcua::Node< Connection >::readDescription(), opcua::Node< Connection >::readDescriptionAsync(), opcua::Node< Connection >::readDisplayName(), opcua::Node< Connection >::readDisplayNameAsync(), opcua::Node< Connection >::readEventNotifier(), opcua::Node< Connection >::readEventNotifierAsync(), opcua::Node< Connection >::readExecutable(), opcua::Node< Connection >::readExecutableAsync(), opcua::Node< Connection >::readHistorizing(), opcua::Node< Connection >::readHistorizingAsync(), opcua::Node< Connection >::readInverseName(), opcua::Node< Connection >::readInverseNameAsync(), opcua::Node< Connection >::readIsAbstract(), opcua::Node< Connection >::readIsAbstractAsync(), opcua::Node< Connection >::readMinimumSamplingInterval(), opcua::Node< Connection >::readMinimumSamplingIntervalAsync(), opcua::Node< Connection >::readNodeClass(), opcua::Node< Connection >::readNodeClassAsync(), opcua::Node< Connection >::readSymmetric(), opcua::Node< Connection >::readSymmetricAsync(), opcua::Node< Connection >::readUserAccessLevel(), opcua::Node< Connection >::readUserAccessLevelAsync(), opcua::Node< Connection >::readUserExecutable(), opcua::Node< Connection >::readUserExecutableAsync(), opcua::Node< Connection >::readUserWriteMask(), opcua::Node< Connection >::readUserWriteMaskAsync(), opcua::Node< Connection >::readValue(), opcua::Node< Connection >::readValueAsync(), opcua::Node< Connection >::readValueRank(), opcua::Node< Connection >::readValueRankAsync(), opcua::Node< Connection >::readWriteMask(), opcua::Node< Connection >::readWriteMaskAsync(), opcua::Node< Connection >::writeAccessLevel(), opcua::Node< Connection >::writeAccessLevelAsync(), opcua::Node< Connection >::writeArrayDimensions(), opcua::Node< Connection >::writeArrayDimensionsAsync(), opcua::Node< Connection >::writeContainsNoLoops(), opcua::Node< Connection >::writeContainsNoLoopsAsync(), opcua::Node< Connection >::writeDataType(), opcua::Node< Connection >::writeDataTypeAsync(), opcua::Node< Connection >::writeDataValue(), opcua::Node< Connection >::writeDataValueAsync(), opcua::Node< Connection >::writeDescription(), opcua::Node< Connection >::writeDescriptionAsync(), opcua::Node< Connection >::writeDisplayName(), opcua::Node< Connection >::writeDisplayNameAsync(), opcua::Node< Connection >::writeEventNotifier(), opcua::Node< Connection >::writeEventNotifierAsync(), opcua::Node< Connection >::writeExecutable(), opcua::Node< Connection >::writeExecutableAsync(), opcua::Node< Connection >::writeHistorizing(), opcua::Node< Connection >::writeHistorizingAsync(), opcua::Node< Connection >::writeInverseName(), opcua::Node< Connection >::writeInverseNameAsync(), opcua::Node< Connection >::writeIsAbstract(), opcua::Node< Connection >::writeIsAbstractAsync(), opcua::Node< Connection >::writeMinimumSamplingInterval(), opcua::Node< Connection >::writeMinimumSamplingIntervalAsync(), opcua::Node< Connection >::writeSymmetric(), opcua::Node< Connection >::writeSymmetricAsync(), opcua::Node< Connection >::writeUserAccessLevel(), opcua::Node< Connection >::writeUserAccessLevelAsync(), opcua::Node< Connection >::writeUserExecutable(), opcua::Node< Connection >::writeUserExecutableAsync(), opcua::Node< Connection >::writeUserWriteMask(), opcua::Node< Connection >::writeUserWriteMaskAsync(), opcua::Node< Connection >::writeValue(), opcua::Node< Connection >::writeValueAsync(), opcua::Node< Connection >::writeValueRank(), opcua::Node< Connection >::writeValueRankAsync(), opcua::Node< Connection >::writeWriteMask(), and opcua::Node< Connection >::writeWriteMaskAsync().
|
inlinenoexcept |
|
inlinenoexcept |
Get the node id.
|
noexcept |
|
inline |
|
inline |
Add folder.
token | The completion token that will be used to produce a completion handler, which will be called when the operation completes. Potential completion tokens include useFuture, useDeferred, useDetached, or a function (object) with the correct completion signature. The function signature of the completion handler must be: void(Result<Node>&)
The template class Result encapsulates a StatusCode and optionally a value. Definition result.hpp:53 |
void
if token
is a callback function (object)std::future<Result<Node>>
if token
is of type UseFutureTokenauto(auto&& token)
callable for deferred execution if token
is of type UseDeferredTokenvoid
if token
is of type UseDetachedToken
|
inline |
|
inline |
Add object.
token | The completion token that will be used to produce a completion handler, which will be called when the operation completes. Potential completion tokens include useFuture, useDeferred, useDetached, or a function (object) with the correct completion signature. The function signature of the completion handler must be: void(Result<Node>&)
|
void
if token
is a callback function (object)std::future<Result<Node>>
if token
is of type UseFutureTokenauto(auto&& token)
callable for deferred execution if token
is of type UseDeferredTokenvoid
if token
is of type UseDetachedToken
|
inline |
Add variable.
|
inline |
Add variable.
token | The completion token that will be used to produce a completion handler, which will be called when the operation completes. Potential completion tokens include useFuture, useDeferred, useDetached, or a function (object) with the correct completion signature. The function signature of the completion handler must be: void(Result<Node>&)
|
void
if token
is a callback function (object)std::future<Result<Node>>
if token
is of type UseFutureTokenauto(auto&& token)
callable for deferred execution if token
is of type UseDeferredTokenvoid
if token
is of type UseDetachedToken
|
inline |
Add property.
|
inline |
Add property.
token | The completion token that will be used to produce a completion handler, which will be called when the operation completes. Potential completion tokens include useFuture, useDeferred, useDetached, or a function (object) with the correct completion signature. The function signature of the completion handler must be: void(Result<Node>&)
|
void
if token
is a callback function (object)std::future<Result<Node>>
if token
is of type UseFutureTokenauto(auto&& token)
callable for deferred execution if token
is of type UseDeferredTokenvoid
if token
is of type UseDetachedToken
|
inline |
Add method.
|
inline |
Add method.
token | The completion token that will be used to produce a completion handler, which will be called when the operation completes. Potential completion tokens include useFuture, useDeferred, useDetached, or a function (object) with the correct completion signature. The function signature of the completion handler must be: void(Result<Node>&)
|
void
if token
is a callback function (object)std::future<Result<Node>>
if token
is of type UseFutureTokenauto(auto&& token)
callable for deferred execution if token
is of type UseDeferredTokenvoid
if token
is of type UseDetachedToken
|
inline |
|
inline |
Add object type.
token | The completion token that will be used to produce a completion handler, which will be called when the operation completes. Potential completion tokens include useFuture, useDeferred, useDetached, or a function (object) with the correct completion signature. The function signature of the completion handler must be: void(Result<Node>&)
|
void
if token
is a callback function (object)std::future<Result<Node>>
if token
is of type UseFutureTokenauto(auto&& token)
callable for deferred execution if token
is of type UseDeferredTokenvoid
if token
is of type UseDetachedToken
|
inline |
Add variable type.
|
inline |
Add variable type.
token | The completion token that will be used to produce a completion handler, which will be called when the operation completes. Potential completion tokens include useFuture, useDeferred, useDetached, or a function (object) with the correct completion signature. The function signature of the completion handler must be: void(Result<Node>&)
|
void
if token
is a callback function (object)std::future<Result<Node>>
if token
is of type UseFutureTokenauto(auto&& token)
callable for deferred execution if token
is of type UseDeferredTokenvoid
if token
is of type UseDetachedToken
|
inline |
|
inline |
Add reference type.
token | The completion token that will be used to produce a completion handler, which will be called when the operation completes. Potential completion tokens include useFuture, useDeferred, useDetached, or a function (object) with the correct completion signature. The function signature of the completion handler must be: void(Result<Node>&)
|
void
if token
is a callback function (object)std::future<Result<Node>>
if token
is of type UseFutureTokenauto(auto&& token)
callable for deferred execution if token
is of type UseDeferredTokenvoid
if token
is of type UseDetachedToken
|
inline |
Add data type.
|
inline |
Add data type.
token | The completion token that will be used to produce a completion handler, which will be called when the operation completes. Potential completion tokens include useFuture, useDeferred, useDetached, or a function (object) with the correct completion signature. The function signature of the completion handler must be: void(Result<Node>&)
|
void
if token
is a callback function (object)std::future<Result<Node>>
if token
is of type UseFutureTokenauto(auto&& token)
callable for deferred execution if token
is of type UseDeferredTokenvoid
if token
is of type UseDetachedToken
|
inline |
|
inline |
Add view.
token | The completion token that will be used to produce a completion handler, which will be called when the operation completes. Potential completion tokens include useFuture, useDeferred, useDetached, or a function (object) with the correct completion signature. The function signature of the completion handler must be: void(Result<Node>&)
|
void
if token
is a callback function (object)std::future<Result<Node>>
if token
is of type UseFutureTokenauto(auto&& token)
callable for deferred execution if token
is of type UseDeferredTokenvoid
if token
is of type UseDetachedToken
|
inline |
|
inline |
Add reference.
token | The completion token that will be used to produce a completion handler, which will be called when the operation completes. Potential completion tokens include useFuture, useDeferred, useDetached, or a function (object) with the correct completion signature. The function signature of the completion handler must be: void(StatusCode)
|
void
if token
is a callback function (object)std::future<StatusCode>
if token
is of type UseFutureTokenauto(auto&& token)
callable for deferred execution if token
is of type UseDeferredTokenvoid
if token
is of type UseDetachedToken
|
inline |
Add modelling rule.
|
inline |
Add modelling rule.
token | The completion token that will be used to produce a completion handler, which will be called when the operation completes. Potential completion tokens include useFuture, useDeferred, useDetached, or a function (object) with the correct completion signature. The function signature of the completion handler must be: void(StatusCode)
|
void
if token
is a callback function (object)std::future<StatusCode>
if token
is of type UseFutureTokenauto(auto&& token)
callable for deferred execution if token
is of type UseDeferredTokenvoid
if token
is of type UseDetachedToken
|
inline |
|
inline |
Delete node.
token | The completion token that will be used to produce a completion handler, which will be called when the operation completes. Potential completion tokens include useFuture, useDeferred, useDetached, or a function (object) with the correct completion signature. The function signature of the completion handler must be: void(StatusCode)
|
void
if token
is a callback function (object)std::future<StatusCode>
if token
is of type UseFutureTokenauto(auto&& token)
callable for deferred execution if token
is of type UseDeferredTokenvoid
if token
is of type UseDetachedToken
|
inline |
|
inline |
Delete reference.
token | The completion token that will be used to produce a completion handler, which will be called when the operation completes. Potential completion tokens include useFuture, useDeferred, useDetached, or a function (object) with the correct completion signature. The function signature of the completion handler must be: void(StatusCode)
|
void
if token
is a callback function (object)std::future<StatusCode>
if token
is of type UseFutureTokenauto(auto&& token)
callable for deferred execution if token
is of type UseDeferredTokenvoid
if token
is of type UseDetachedToken
|
inline |
|
inline |
Browse referenced nodes (only local nodes).
Definition at line 587 of file node.hpp.
Referenced by opcua::Node< Connection >::browseChildren().
|
inline |
|
inline |
Browse child node specified by its relative path from this node (only local nodes).
The relative path is specified using browse names.
BadStatus | (BadNoMatch) If path not found |
|
inline |
|
inline |
|
inline |
|
inline |
Read the AttributeId::NodeClass attribute of a node.
|
inline |
Read the AttributeId::NodeClass attribute of a node.
|
inline |
Read the AttributeId::BrowseName attribute of a node.
|
inline |
Read the AttributeId::BrowseName attribute of a node.
|
inline |
Read the AttributeId::DisplayName attribute of a node.
|
inline |
Read the AttributeId::DisplayName attribute of a node.
|
inline |
Read the AttributeId::Description attribute of a node.
|
inline |
Read the AttributeId::Description attribute of a node.
|
inline |
Read the AttributeId::WriteMask attribute of a node.
|
inline |
Read the AttributeId::WriteMask attribute of a node.
|
inline |
Read the AttributeId::UserWriteMask attribute of a node.
|
inline |
Read the AttributeId::UserWriteMask attribute of a node.
|
inline |
Read the AttributeId::IsAbstract attribute of a node.
|
inline |
Read the AttributeId::IsAbstract attribute of a node.
|
inline |
Read the AttributeId::Symmetric attribute of a node.
|
inline |
Read the AttributeId::Symmetric attribute of a node.
|
inline |
Read the AttributeId::InverseName attribute of a node.
|
inline |
Read the AttributeId::InverseName attribute of a node.
|
inline |
Read the AttributeId::ContainsNoLoops attribute of a node.
|
inline |
Read the AttributeId::ContainsNoLoops attribute of a node.
|
inline |
Read the AttributeId::EventNotifier attribute of a node.
|
inline |
Read the AttributeId::EventNotifier attribute of a node.
|
inline |
Read the AttributeId::Value
attribute of a node as a DataValue object.
|
inline |
Read the AttributeId::Value
attribute of a node as a DataValue object.
|
inline |
Read the AttributeId::Value attribute of a node.
Definition at line 838 of file node.hpp.
Referenced by opcua::Node< Connection >::readObjectProperty(), opcua::Node< Connection >::readValueArray(), and opcua::Node< Connection >::readValueScalar().
|
inline |
Read the AttributeId::Value attribute of a node.
|
inline |
Read scalar value from variable node.
|
inline |
|
inline |
Read the AttributeId::DataType attribute of a node.
|
inline |
Read the AttributeId::DataType attribute of a node.
|
inline |
Read the AttributeId::ValueRank attribute of a node.
|
inline |
Read the AttributeId::ValueRank attribute of a node.
|
inline |
Read the AttributeId::ArrayDimensions attribute of a node.
|
inline |
Read the AttributeId::ArrayDimensions attribute of a node.
|
inline |
Read the AttributeId::AccessLevel attribute of a node.
|
inline |
Read the AttributeId::AccessLevel attribute of a node.
|
inline |
Read the AttributeId::UserAccessLevel attribute of a node.
|
inline |
Read the AttributeId::UserAccessLevel attribute of a node.
|
inline |
Read the AttributeId::MinimumSamplingInterval attribute of a node.
|
inline |
Read the AttributeId::MinimumSamplingInterval attribute of a node.
|
inline |
Read the AttributeId::Historizing attribute of a node.
|
inline |
Read the AttributeId::Historizing attribute of a node.
|
inline |
Read the AttributeId::Executable attribute of a node.
|
inline |
Read the AttributeId::Executable attribute of a node.
|
inline |
Read the AttributeId::UserExecutable attribute of a node.
|
inline |
Read the AttributeId::UserExecutable attribute of a node.
|
inline |
Read the AttributeId::DataTypeDefinition attribute of a node.
|
inline |
Read the AttributeId::DataTypeDefinition attribute of a node.
|
inline |
|
inline |
Write the AttributeId::DisplayName attribute of a node.
|
inline |
Write the AttributeId::DisplayName attribute of a node.
|
inline |
Write the AttributeId::Description attribute of a node.
|
inline |
Write the AttributeId::Description attribute of a node.
|
inline |
Write the AttributeId::WriteMask attribute of a node.
|
inline |
Write the AttributeId::WriteMask attribute of a node.
|
inline |
Write the AttributeId::UserWriteMask attribute of a node.
|
inline |
Write the AttributeId::UserWriteMask attribute of a node.
|
inline |
Write the AttributeId::IsAbstract attribute of a node.
|
inline |
Write the AttributeId::IsAbstract attribute of a node.
|
inline |
Write the AttributeId::Symmetric attribute of a node.
|
inline |
Write the AttributeId::Symmetric attribute of a node.
|
inline |
Write the AttributeId::InverseName attribute of a node.
|
inline |
Write the AttributeId::InverseName attribute of a node.
|
inline |
Write the AttributeId::ContainsNoLoops attribute of a node.
|
inline |
Write the AttributeId::ContainsNoLoops attribute of a node.
|
inline |
Write the AttributeId::EventNotifier attribute of a node.
|
inline |
Write the AttributeId::EventNotifier attribute of a node.
|
inline |
Write the AttributeId::Value attribute of a node as a DataValue object.
|
inline |
Write the AttributeId::Value attribute of a node as a DataValue object.
|
inline |
Write the AttributeId::Value attribute of a node.
Definition at line 1153 of file node.hpp.
Referenced by opcua::Node< Connection >::writeObjectProperty(), opcua::Node< Connection >::writeValueArray(), opcua::Node< Connection >::writeValueArray(), and opcua::Node< Connection >::writeValueScalar().
|
inline |
Write the AttributeId::Value attribute of a node.
|
inline |
Write scalar to variable node.
|
inline |
|
inline |
|
inline |
Write the AttributeId::DataType attribute of a node.
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Deduce the typeId
from the template type.
Definition at line 1199 of file node.hpp.
Referenced by opcua::Node< Connection >::writeDataType().
|
inline |
Write the AttributeId::DataType attribute of a node.
|
inline |
Write the AttributeId::ValueRank attribute of a node.
|
inline |
Write the AttributeId::ValueRank attribute of a node.
|
inline |
Write the AttributeId::ArrayDimensions attribute of a node.
|
inline |
Write the AttributeId::ArrayDimensions attribute of a node.
|
inline |
Write the AttributeId::AccessLevel attribute of a node.
|
inline |
Write the AttributeId::AccessLevel attribute of a node.
|
inline |
Write the AttributeId::UserAccessLevel attribute of a node.
|
inline |
Write the AttributeId::UserAccessLevel attribute of a node.
|
inline |
Write the AttributeId::MinimumSamplingInterval attribute of a node.
|
inline |
Write the AttributeId::MinimumSamplingInterval attribute of a node.
|
inline |
Write the AttributeId::Historizing attribute of a node.
|
inline |
Write the AttributeId::Historizing attribute of a node.
|
inline |
Write the AttributeId::Executable attribute of a node.
|
inline |
Write the AttributeId::Executable attribute of a node.
|
inline |
Write the AttributeId::UserExecutable attribute of a node.
|
inline |
Write the AttributeId::UserExecutable attribute of a node.
|
inline |