29 #include "../Factory.h" 35 const std::string& name,
39 listenerConfig(listenerConfig), informerConfig(informerConfig) {
64 return std::set<std::string>();
virtual InformerBasePtr makeInformer()
Creates and returns the Informer participant.
Method(const Scope &scope, const std::string &name, const ParticipantConfig &listenerConfig, const ParticipantConfig &informerConfig)
virtual const std::set< std::string > getTransportURLs() const
TODO.
Objects of this class participate in the exchange of notifications on one channel of the bus...
const std::string & getName() const
Returns the name of the method.
ParticipantConfig listenerConfig
const ParticipantConfig & getInformerConfig() const
Returns the configuration for the Informer participant.
ListenerPtr createListener(const Scope &scope, const ParticipantConfig &config=getFactory().getDefaultParticipantConfig(), ParticipantPtr parent=ParticipantPtr())
Creates a new listener for the specified scope.
Factory & getFactory()
Returns a factory for client-level RSB objects.
boost::shared_ptr< Listener > ListenerPtr
const ParticipantConfig & getListenerConfig() const
Returns the configuration for the Listener participant.
InformerBasePtr getInformer()
Returns the Informer participant, creating it if necessary.
virtual ListenerPtr makeListener()
Creates and returns the Listener participant.
InformerBasePtr createInformerBase(const Scope &scope, const std::string &dataType="", const ParticipantConfig &config=getFactory().getDefaultParticipantConfig(), ParticipantPtr parent=ParticipantPtr())
Creates and returns a new Informer that publishes Event s under the Scope scope.
ParticipantConfig informerConfig
A class describing the configuration of Participant instances.
boost::shared_ptr< InformerBase > InformerBasePtr
ScopePtr getScope() const
Returns the scope of this participant.
Scope is a descriptor for a hierarchical channel of the unified bus.
ListenerPtr getListener()
Returns the Listener participant, creating it if necessary.