Go to the documentation of this file.
10 #ifndef TOPIC_MANAGER_I_H
11 #define TOPIC_MANAGER_I_H
14 #include <IceStorm/IceStorm.h>
18 #include <IceUtil/RecMutex.h>
26 class PersistentInstance;
38 public IceUtil::RecMutex
58 const Ice::IdentitySeq&);
65 virtual void sync(
const Ice::ObjectPrx&);
66 virtual void initMaster(
const std::set<IceStormElection::GroupNodeInfo>&,
69 virtual Ice::ObjectPrx
getSync()
const;
78 void updateTopicObservers();
79 void updateSubscriberObservers();
82 installTopic(
const std::string&,
89 std::map<std::string, TopicImplPtr> _topics;
93 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