9#include "Arp/Services/NotificationLogger/Services/NotificationFilter.hpp"
10#include "Arp/Services/NotificationLogger/Services/NotificationLoggerServiceProxyFactory.hpp"
11#include "Arp/Services/NotificationLogger/Services/SortOrder.hpp"
12#include "Arp/Services/NotificationLogger/Services/StoredNotification.hpp"
13#include "Arp/System/Nm/Services/Notification.hpp"
14#include "Arp/System/Rsc/Services/IRscService.hpp"
15#include "Arp/System/Rsc/Services/RscString.hxx"
19namespace Arp {
namespace Services {
namespace NotificationLogger {
namespace Services
35 using Ptr = std::shared_ptr<INotificationLoggerService>;
43 static IRscServiceProxyFactory& GetProxyFactory(
void);
107inline IRscServiceProxyFactory& INotificationLoggerService::GetProxyFactory()
109 return NotificationLoggerServiceProxyFactory::GetInstance();
The NotificationLogger stores Notifications and provides an interface to retrieve them.
Definition: INotificationLoggerService.hpp:33
virtual std::vector< Notification > QueryNotifications(const std::vector< RscString< 512 > > &archives, const NotificationFilter &filter, int32 limit, SortOrder sortOrder, const RscString< 512 > &language)=0
Queries notifications matching the supplied filter from the mentioned archives and returns them as No...
virtual std::vector< StoredNotification > QueryStoredNotifications(const std::vector< RscString< 512 > > &archives, const NotificationFilter &filter, int32 limit, SortOrder sortOrder, const RscString< 512 > &language)=0
Queries notifications matching the supplied filter from the mentioned archives and returns them as St...
virtual std::vector< RscString< 512 > > ListArchives()=0
Queries a list of archives
virtual std::vector< RscString< 512 > > GetArchiveConfiguration(const RscString< 512 > &archive)=0
Query the configuration as XML for the given archive
virtual boolean ResetArchiveConfigurationToFiles(const RscString< 512 > &archive)=0
Resets the configuration of the given archive to the configuration files. All changes made by RSC are...
virtual boolean SetArchiveConfiguration(const RscString< 512 > &archive, const std::vector< RscString< 512 > > &xmlConfiguration)=0
Set the configuration of the given archive
virtual int32 DeleteNotifications(const std::vector< RscString< 512 > > &archives, const NotificationFilter &filter)=0
Remove notifications mathing the filter from the given archives
INotificationLoggerService(void)=default
Constructs an INotificationLoggerService instance.
Filter specification to match notification on query or delete
Definition: NotificationFilter.hpp:25
Contains meta data and paylod of a Notification
Definition: Notification.hpp:22
Base interface for all Rsc service interface.
Definition: IRscService.hpp:20
std::int32_t int32
The Arp integer type of 4 byte size.
Definition: PrimitiveTypes.hpp:38
SortOrder
Definition how to sort the queried notifications
Definition: SortOrder.hpp:19
Namespace for classes and interfaces for the Remote Service Call implementation
Root namespace for the PLCnext API