24 #ifndef NOTIFICATIONWORKER_HPP__
25 #define NOTIFICATIONWORKER_HPP__
30 #include <ccut/Worker.hpp>
32 #include "device/DeviceBase.hpp"
47 typedef std::shared_ptr<NotificationWorker> Shared;
50 std::size_t numThreads = 3,
51 std::size_t maxSize = 2048);
57 ccut::Worker::post([
this, fun]() { fun(m_store.lock()); });
60 void notify(
const std::shared_ptr<std::set<DeviceId>> &updates);
63 std::weak_ptr<DeviceStore> m_store;
main motion-lib namespace