Go to the documentation of this file.
10 #ifndef TOPIC_MANAGER_I_H
11 #define TOPIC_MANAGER_I_H
13 #include <IceStorm/IceStorm.h>
20 #include <IceUtil/RecMutex.h>
28 class PersistentInstance;
39 public IceUtil::RecMutex
63 virtual void sync(
const Ice::ObjectPrx&);
66 virtual Ice::ObjectPrx
getSync()
const;
76 void updateTopicObservers();
77 void updateSubscriberObservers();
84 std::map<std::string, TopicImplPtr> _topics;
88 Ice::ObjectPrx _observer;
::std::vector< ::IceStorm::SubscriberRecord > SubscriberRecordSeq
IceUtil::Handle< TopicManagerImpl > TopicManagerImplPtr
The ObserverUpdater interface is implemented by IceStorm and an instance of this interface is provide...
Ice::ObjectPtr getServant() const
A struct used for marking the last log update.
virtual Ice::ObjectPrx getSync() const
IceUtil::Handle< TopicImpl > TopicImplPtr
void getContent(IceStormElection::LogUpdate &, IceStormElection::TopicContentSeq &)
virtual void initMaster(const std::set< IceStormElection::GroupNodeInfo > &, const IceStormElection::LogUpdate &)
Used to store persistent information for persistent subscribers.
::std::vector< ::IceStormElection::TopicContent > TopicContentSeq
A sequence of topic content.
void Identity(MatrixXX< N, N, T > *a)
virtual void sync(const Ice::ObjectPrx &)
void observerInit(const IceStormElection::LogUpdate &, const IceStormElection::TopicContentSeq &)
void observerAddSubscriber(const IceStormElection::LogUpdate &, const std::string &, const IceStorm::SubscriberRecord &)
virtual Ice::ObjectPrx getObserver() const
void observerDestroyTopic(const IceStormElection::LogUpdate &, const std::string &)
TopicManagerImpl(const PersistentInstancePtr &)
TopicPrx retrieve(const std::string &) const
void observerCreateTopic(const IceStormElection::LogUpdate &, const std::string &)
std::shared_ptr< Object > ObjectPtr
void observerRemoveSubscriber(const IceStormElection::LogUpdate &, const std::string &, const Ice::IdentitySeq &)
TopicDict retrieveAll() const
TopicPrx create(const std::string &)
IceUtil::Handle< PersistentInstance > PersistentInstancePtr
virtual IceStormElection::LogUpdate getLastLogUpdate() const