32 #include <boost/shared_ptr.hpp> 33 #include <boost/enable_shared_from_this.hpp> 36 #include "../Participant.h" 37 #include "../ParticipantConfig.h" 38 #include "../Listener.h" 39 #include "../Informer.h" 40 #include "../Handler.h" 42 #include "rsb/rsbexports.h" 57 public boost::enable_shared_from_this<Method> {
60 const std::string&
name,
74 const std::string&
getName()
const;
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.
Asynchronously called handler interface on the client level.
ParticipantConfig listenerConfig
const ParticipantConfig & getInformerConfig() const
Returns the configuration for the Informer participant.
boost::shared_ptr< Listener > ListenerPtr
boost::shared_ptr< Method > MethodPtr
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.
Base class for method classes.
ParticipantConfig informerConfig
A class describing the configuration of Participant instances.
boost::shared_ptr< InformerBase > InformerBasePtr
Scope is a descriptor for a hierarchical channel of the unified bus.
ListenerPtr getListener()
Returns the Listener participant, creating it if necessary.