PLCnext API Documentation 25.0.2.69
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
39 uint64 IdMin = 0;
40
47 uint64 IdMax = 0;
48
56
64
73
82
90
98
106
114
115public: // Rsc operations
116 void Serialize(RscWriter& writer)const;
117 void Deserialize(RscReader& reader);
118 void Serialize(JRscWriter& writer)const;
119 void Deserialize(JRscReader& reader);
120 static size_t GetFieldCount(void);
121};
122
123} // 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:97
NotificationFilter2(void)
Constructs an NotificationFilter2 instance.
RscString< 512 > NotificationNamePattern
Regular expression to match the notification name
Definition: NotificationFilter2.hpp:55
RscString< 32 > RedundancyTypePattern
Regular expression for redundancy type
Definition: NotificationFilter2.hpp:105
RscString< 32 > TimestampMin
Matches all timestamps after this timestamp
Definition: NotificationFilter2.hpp:72
RscString< 32 > TimestampMax
Matches all timestamps before this timestamp
Definition: NotificationFilter2.hpp:81
RscString< 32 > SeverityMin
Minimum matching Severity
Definition: NotificationFilter2.hpp:89
RscString< 512 > SenderNamePattern
Regular expresssion to match the sender name
Definition: NotificationFilter2.hpp:63
RscString< 32 > RedundancyRolePattern
Regular expression for redundancy role
Definition: NotificationFilter2.hpp:113
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