open62541pp 0.16.0
C++ wrapper of open62541
|
#include <monitoreditem.hpp>
Extended monitoring parameters with default values from open62541.
This is an extended version of UA_MonitoringParameters
with the timestamps
parameter.
Definition at line 53 of file monitoreditem.hpp.
Public Attributes | |
TimestampsToReturn | timestamps = TimestampsToReturn::Both |
double | samplingInterval = 250.0 |
ExtensionObject | filter |
uint32_t | queueSize = 1 |
bool | discardOldest = true |
TimestampsToReturn opcua::services::MonitoringParametersEx::timestamps = TimestampsToReturn::Both |
Timestamps to be transmitted.
Definition at line 55 of file monitoreditem.hpp.
Referenced by opcua::services::createMonitoredItemDataChangeAsync(), and opcua::services::createMonitoredItemEventAsync().
double opcua::services::MonitoringParametersEx::samplingInterval = 250.0 |
Interval in milliseconds that defines the fastest rate at which the MonitoredItem should be accessed and evaluated.
The following values have special meaning:
0.0
to use the fastest practical rate-1.0
to use the default sampling interval (publishing interval of the subscription) Definition at line 60 of file monitoreditem.hpp.
ExtensionObject opcua::services::MonitoringParametersEx::filter |
Filter is used by the server to determine if the MonitoredItem should generate notifications.
The filter parameter type is an extensible parameter type and can be, for example, of type DataChangeFilter, EventFilter or AggregateFilter.
Definition at line 65 of file monitoreditem.hpp.
Referenced by opcua::Subscription< Connection >::subscribeEvent().
uint32_t opcua::services::MonitoringParametersEx::queueSize = 1 |
Size of the MonitoringItem queue.
The following values have special meaning:
0
to retrieve the server's default queue size1
to retrieve the server's minimum queue size In the case of a queue overflow, an Event of the type EventQueueOverflowEventType is generated. Definition at line 72 of file monitoreditem.hpp.
bool opcua::services::MonitoringParametersEx::discardOldest = true |
Discard policy when the queue is full.
true
: the oldest (first) notification in the queue is discardedfalse
: the last notification added to the queue gets replaced with the new notification Definition at line 76 of file monitoreditem.hpp.