8#include "AdsNotification.h"
17using DeleteNotificationCallback = std::function<long (uint32_t hNotify, uint32_t tmms)>;
22 void Emplace(uint32_t hNotify, std::shared_ptr<Notification> notification);
23 long Erase(uint32_t hNotify, uint32_t tmms);
27 const DeleteNotificationCallback deleteNotification;
30 std::map<uint32_t, std::shared_ptr<Notification> > notifications;
31 std::recursive_mutex mutex;
33 std::atomic<bool> stopExecution;
36 std::shared_ptr<Notification> Find(uint32_t hNotify);
38using SharedDispatcher = std::shared_ptr<NotificationDispatcher>;
Definition: NotificationDispatcher.h:19
Definition: RingBuffer.h:12
Definition: Semaphore.h:12