25 return const_cast<std::remove_const_t<T>*
>(&value);
31 return const_cast<std::remove_const_t<T>*
>(array.data());
46 item.
nodeId = *
id.handle();
47 item.attributeId =
static_cast<uint32_t
>(attributeId);
56 request.nodesToReadSize = 1;
57 request.nodesToRead = &item;
66 request.nodesToReadSize = nodesToRead.size();
75 item.
nodeId = *
id.handle();
76 item.attributeId =
static_cast<uint32_t
>(attributeId);
77 item.value = *value.handle();
78 item.value.hasValue =
true;
85 request.nodesToWrite = &item;
101 request.methodId = methodId;
102 request.inputArgumentsSize = inputArguments.size();
112 request.nodesToBrowseSize = 1;
118 bool releaseContinuationPoint,
const ByteString& continuationPoint
122 request.continuationPointsSize = 1;
137 std::vector<RelativePathElement> relativePathElements(browsePath.
size());
141 relativePathElements.begin(),
143 return RelativePathElement(ReferenceTypeId::HierarchicalReferences, false, true, qn);
149template <
typename MonitoringParameters>
153 native.samplingInterval = parameters.samplingInterval;
154 native.filter = parameters.filter;
155 native.queueSize = parameters.queueSize;
156 native.discardOldest = parameters.discardOldest;
159template <
typename MonitoringParameters>
172template <
typename MonitoringParameters>
182template <
typename MonitoringParameters>
189 request.itemsToModifySize = 1;
190 request.itemsToModify = &item;
200 request.monitoredItemIdsSize = monitoredItemIds.size();
201 request.monitoredItemIds =
getPointer(monitoredItemIds);
206 uint32_t subscriptionId,
207 uint32_t triggeringItemId,
213 request.triggeringItemId = triggeringItemId;
214 request.linksToAddSize = linksToAdd.size();
216 request.linksToRemoveSize = linksToRemove.size();
217 request.linksToRemove =
getPointer(linksToRemove);
UA_BrowseDescription wrapper class.
UA_BrowsePath wrapper class.
UA_ByteString wrapper class.
UA_DataValue wrapper class.
UA_ExtensionObject wrapper class.
static ExtensionObject fromDecoded(T &data) noexcept
Create an ExtensionObject from a decoded object (reference).
UA_MonitoringParameters wrapper class.
UA_ReadValueId wrapper class.
View to a contiguous sequence of objects, similar to std::span in C++20.
constexpr iterator begin() const noexcept
constexpr size_t size() const noexcept
constexpr iterator end() const noexcept
constexpr NativeType * asNative(WrapperType *wrapper) noexcept
Cast Wrapper object pointers to native object pointers.
UA_ReadRequest createReadRequest(TimestampsToReturn timestamps, UA_ReadValueId &item) noexcept
auto * getPointer(T &value) noexcept
void copyMonitoringParametersToNative(const MonitoringParameters ¶meters, UA_MonitoringParameters &native) noexcept
UA_MonitoredItemModifyRequest createMonitoredItemModifyRequest(uint32_t monitoredItemId, MonitoringParameters ¶meters) noexcept
UA_ReadValueId createReadValueId(const NodeId &id, AttributeId attributeId) noexcept
UA_WriteRequest createWriteRequest(UA_WriteValue &item) noexcept
UA_BrowseRequest createBrowseRequest(const BrowseDescription &bd, uint32_t maxReferences) noexcept
UA_SetTriggeringRequest createSetTriggeringRequest(uint32_t subscriptionId, uint32_t triggeringItemId, Span< const uint32_t > linksToAdd, Span< const uint32_t > linksToRemove) noexcept
UA_MonitoredItemCreateRequest createMonitoredItemCreateRequest(const ReadValueId &itemToMonitor, MonitoringMode monitoringMode, MonitoringParameters ¶meters) noexcept
UA_CallMethodRequest createCallMethodRequest(const NodeId &objectId, const NodeId &methodId, Span< const Variant > inputArguments) noexcept
UA_SetMonitoringModeRequest createSetMonitoringModeRequest(uint32_t subscriptionId, Span< const uint32_t > monitoredItemIds, MonitoringMode monitoringMode) noexcept
BrowsePath createBrowsePath(const NodeId &origin, Span< const QualifiedName > browsePath)
auto * getNativePointer(T &wrapper) noexcept
UA_WriteValue createWriteValue(const NodeId &id, AttributeId attributeId, const DataValue &value) noexcept
UA_TranslateBrowsePathsToNodeIdsRequest createTranslateBrowsePathsToNodeIdsRequest(const BrowsePath &browsePath) noexcept
ExtensionObject wrapNodeAttributes(const T &attributes) noexcept
UA_BrowseNextRequest createBrowseNextRequest(bool releaseContinuationPoint, const ByteString &continuationPoint) noexcept
UA_ModifyMonitoredItemsRequest createModifyMonitoredItemsRequest(uint32_t subscriptionId, MonitoringParameters ¶meters, UA_MonitoredItemModifyRequest &item) noexcept
TimestampsToReturn
Timestamps to return.
MonitoringMode
Monitoring mode.
AttributeId
Attribute identifiers.
UA_Boolean releaseContinuationPoints
UA_UInt32 requestedMaxReferencesPerNode
UA_ReadValueId itemToMonitor
UA_UInt32 monitoredItemId
UA_TimestampsToReturn timestampsToReturn