|
The topic manager observer interface used by the Ice run-time to obtain and update observers for its observeable objects. More...
#include <ArmarXCore/applications/ArmarXStorm/IceStorm/generated/IceStorm/Instrumentation.h>
Public Types | |
typedef TopicManagerObserverPtr | PointerType |
Public Member Functions | |
virtual ::IceStorm::Instrumentation::SubscriberObserverPtr | getSubscriberObserver (const ::std::string &, const ::std::string &, const ::Ice::ObjectPrx &, const ::IceStorm::QoS &, const ::IceStorm::TopicPrx &, ::IceStorm::Instrumentation::SubscriberState, const ::IceStorm::Instrumentation::SubscriberObserverPtr &)=0 |
SubscriberObserver | getSubscriberObserver (string svc, string topic, Object *prx, QoS q, IceStorm::Topic *link, SubscriberState s, SubscriberObserver old) |
This method should return an observer for the given subscriber. More... | |
virtual ::IceStorm::Instrumentation::TopicObserverPtr | getTopicObserver (const ::std::string &, const ::std::string &, const ::IceStorm::Instrumentation::TopicObserverPtr &)=0 |
TopicObserver | getTopicObserver (string svc, string name, TopicObserver old) |
This method should return an observer for the given topic. More... | |
virtual void | setObserverUpdater (const ::IceStorm::Instrumentation::ObserverUpdaterPtr &)=0 |
void | setObserverUpdater (ObserverUpdater updater) |
IceStorm calls this method on initialization. More... | |
virtual | ~TopicManagerObserver () |
The topic manager observer interface used by the Ice run-time to obtain and update observers for its observeable objects.
This interface should be implemented by add-ins that wish to observe IceStorm objects in order to collect statistics.
Definition at line 293 of file Instrumentation.h.
typedef TopicManagerObserverPtr PointerType |
Definition at line 297 of file Instrumentation.h.
|
virtual |
Definition at line 103 of file Instrumentation.cpp.
|
pure virtual |
SubscriberObserver getSubscriberObserver | ( | string | svc, |
string | topic, | ||
Object * | prx, | ||
QoS | q, | ||
IceStorm::Topic * | link, | ||
SubscriberState | s, | ||
SubscriberObserver | old | ||
) |
This method should return an observer for the given subscriber.
topic | The name of the topic subscribed. |
subscriber | The proxy of the subscriber. |
qos | The QoS configured for the subscriber. |
link | The proxy of the linked topic if this subscriber forwards events to a linked topic. |
old | The previous observer, only set when updating an existing observer. |
|
pure virtual |
TopicObserver getTopicObserver | ( | string | svc, |
string | name, | ||
TopicObserver | old | ||
) |
This method should return an observer for the given topic.
svc | The service name. |
name | The topic name. |
old | The previous observer, only set when updating an existing observer. |
|
pure virtual |
void setObserverUpdater | ( | ObserverUpdater | updater | ) |