PLCnext API Documentation 26.0.1.58
NotificationFilter2.hpp
1
2//
3// Copyright Phoenix Contact GmbH & Co. KG
4//
6#pragma once
8#include "Arp/Base/Rsc/Commons/Rsc.hpp"
9#include "Arp/Base/JRsc/Commons/JRsc.hpp"
10#include "Arp/Base/Rsc/Commons/RscSerializable.hpp"
11#include "Arp/Base/Rsc/Commons/RscString.hxx"
12
13// DO NOT MODIFY THIS FILE, THIS FILE IS AUTOGENERATED
14
16{
17
18using namespace Arp;
19using namespace Arp::Base::Rsc::Commons;
20using namespace Arp::Base::Rsc::Commons::Services;
21using namespace Arp::Base::JRsc::Commons;
22
26class ARP_EXPORT NotificationFilter2 : public RscSerializable
27{
28public: // construction/destruction
30 NotificationFilter2(uint64 idMin, uint64 idMax, const RscString<512>& notificationNamePattern, const RscString<512>& senderNamePattern, const RscString<32>& timestampMin, const RscString<32>& timestampMax, const RscString<32>& severityMin, const RscString<32>& severityMax, const RscString<32>& redundancyTypePattern, const RscString<32>& redundancyRolePattern);
31
32public: // Properties
41 uint64 IdMin = 0;
42
51 uint64 IdMax = 0;
52
60
68
77
86
94
102
110
118
119public: // Rsc operations
120 void Serialize(RscWriter& writer)const;
121 void Deserialize(RscReader& reader);
122 void Serialize(JRscWriter& writer)const;
123 void Deserialize(JRscReader& reader);
124 static size_t GetFieldCount(void);
125};
126
127} // end of namespace Arp::Services::NotificationLogger::Services
Any custom struct type which is intended to be marshalled in a Rsc serialization context,...
Definition: RscSerializable.hpp:35
Reads marshaled data of RSC services.
Definition: RscReader.hpp:34
Writes marshalled data of RSC services.
Definition: RscWriter.hpp:34
Filter specification to match notification on query or delete
Definition: NotificationFilter2.hpp:27
RscString< 32 > SeverityMax
Maximum matching Severity
Definition: NotificationFilter2.hpp:101
NotificationFilter2(void)
Constructs an NotificationFilter2 instance.
RscString< 512 > NotificationNamePattern
Regular expression to match the notification name
Definition: NotificationFilter2.hpp:59
RscString< 32 > RedundancyTypePattern
Regular expression for redundancy type
Definition: NotificationFilter2.hpp:109
RscString< 32 > TimestampMin
Matches all timestamps after this timestamp
Definition: NotificationFilter2.hpp:76
RscString< 32 > TimestampMax
Matches all timestamps before this timestamp
Definition: NotificationFilter2.hpp:85
RscString< 32 > SeverityMin
Minimum matching Severity
Definition: NotificationFilter2.hpp:93
RscString< 512 > SenderNamePattern
Regular expresssion to match the sender name
Definition: NotificationFilter2.hpp:67
RscString< 32 > RedundancyRolePattern
Regular expression for redundancy role
Definition: NotificationFilter2.hpp:117
std::uint64_t uint64
The Arp unsigned integer type of 8 byte size.
Definition: PrimitiveTypes.hpp:37
Namespace for the JSON RSC extension
Namespace for services of the NotificationLogger
Root namespace for the PLCnext API