17 #ifndef INOTIFICATIONMANAGER_HPP_
18 #define INOTIFICATIONMANAGER_HPP_
22 #ifdef KAA_USE_NOTIFICATIONS
45 class INotificationManager {
54 virtual void addTopicListListener(INotificationTopicListListenerPtr listener) = 0;
63 virtual void removeTopicListListener(INotificationTopicListListenerPtr listener) = 0;
71 virtual Topics getTopics() = 0;
81 virtual void addNotificationListener(INotificationListenerPtr listener) = 0;
96 virtual void addNotificationListener(
const std::string& topidId, INotificationListenerPtr listener) = 0;
106 virtual void removeNotificationListener(INotificationListenerPtr listener) = 0;
121 virtual void removeNotificationListener(
const std::string& topidId, INotificationListenerPtr listener) = 0;
135 virtual void subscribeToTopic(
const std::string&
id,
bool forceSync) = 0;
150 virtual void subscribeToTopics(
const std::list<std::string>& idList,
bool forceSync) = 0;
166 virtual void unsubscribeFromTopic(
const std::string&
id,
bool forceSync) = 0;
183 virtual void unsubscribeFromTopics(
const std::list<std::string>& idList,
bool forceSync) = 0;
210 virtual void sync() = 0;
212 virtual ~INotificationManager() {}