8 #include "Arp/System/Rsc/Services/IRscService.hpp" 9 #include "NotificationLoggerService2ProxyFactory.hpp" 10 #include "Arp/System/Core/delegate.hxx" 11 #include "Arp/System/Rsc/Services/IRscReadEnumerator.hxx" 12 #include "Arp/System/Rsc/Services/IRscWriteEnumerator.hxx" 13 #include "Arp/System/Rsc/Services/RscString.hxx" 14 #include "NotificationFilter2.hpp" 15 #include "SortOrder.hpp" 16 #include "StoredNotification2.hpp" 21 namespace Arp {
namespace Services {
namespace NotificationLogger {
namespace Services
33 using Ptr = std::shared_ptr<INotificationLoggerService2>;
34 using ReadStoredNotificationsResultDelegate = delegate<void(IRscReadEnumerator<StoredNotification2>&)>;
41 static IRscServiceProxyFactory& GetProxyFactory(
void);
54 virtual void ReadStoredNotifications(
const std::vector<
RscString<64>>& archives,
const NotificationFilter2& filter,
int32 limit,
SortOrder sortOrder,
boolean includePayloadXml, ReadStoredNotificationsResultDelegate resultDelegate) = 0;
69 virtual std::vector<RscString<64>> GetArchiveNames() = 0;
74 inline IRscServiceProxyFactory& INotificationLoggerService2::GetProxyFactory()
76 return NotificationLoggerService2ProxyFactory::GetInstance();
Filter specification to match notification on query or delete
Definition: NotificationFilter2.hpp:24
The NotificationLogger stores Notifications and provides an interface to retrieve them...
Definition: INotificationLoggerService2.hpp:30
Namespace for classes and interfaces for the Remote Service Call implementation
Definition: IRscReadEnumerator.hxx:9
SortOrder
Definition how to sort the queried notifications
Definition: SortOrder.hpp:20
Root namespace for the PLCnext API
Base interface for all Rsc service interface.
Definition: IRscService.hpp:18
std::int32_t int32
The Arp integer type of 4 byte size.
Definition: PrimitiveTypes.hpp:37
Contains a static string with string lentgh up to N characters. The string has to be null terminated...
Definition: RscString.hxx:18