32 #include <boost/shared_ptr.hpp> 34 #include <boost/signals2.hpp> 36 #include <boost/thread/recursive_mutex.hpp> 38 #include <rsc/misc/langutils.h> 39 #include <rsc/logging/Logger.h> 40 #include <rsc/runtime/TypeStringTools.h> 41 #include <rsc/config/OptionHandler.h> 42 #include <rsc/plugins/Manager.h> 44 #include "rsb/rsbexports.h" 82 SignalParticipantCreatedPtr getSignalParticipantCreated();
105 template<
class DataType>
110 const std::string& dataType
117 informer->setSignalParticipantDestroyed(this->signalParticipantDestroyed);
118 (*this->signalParticipantCreated)(informer, parent);
140 const std::string& dataType
302 rsc::plugins::ManagerPtr getPluginManager()
const;
316 static void provideConfigOptions(
const std::string& environmentVariablePrefix,
317 rsc::config::OptionHandler& handler,
318 bool stripPrefix =
true);
341 std::vector<transport::OutConnectorPtr>
344 std::vector<transport::InPullConnectorPtr>
347 std::vector<transport::InPushConnectorPtr>
350 void configureSubsystem(rsc::config::OptionHandler& handler,
351 const std::string& environmentVariablePrefix =
"RSB_");
patterns::LocalServerPtr createLocalServer(const Scope &scope)
Creates and returns a Server object that exposes methods under the Scope scope.
patterns::RemoteServerPtr createRemoteServer(const Scope &scope)
Creates and returns a RemoteServer object for the server at Scope scope.
Informer< DataType >::Ptr createInformer(const Scope &scope, const ParticipantConfig &config=getFactory().getDefaultParticipantConfig(), const std::string &dataType=detail::TypeName< DataType >()(), ParticipantPtr parent=ParticipantPtr())
Creates and returns a new Informer that publishes Event s under the Scope scope.
boost::shared_ptr< RemoteMethod > RemoteMethodPtr
boost::shared_ptr< LocalServer > LocalServerPtr
boost::shared_ptr< LocalMethod > LocalMethodPtr
boost::shared_ptr< Reader > ReaderPtr
Factory & getFactory()
Returns a factory for client-level RSB objects.
SignalParticipantDestroyedPtr signalParticipantDestroyed
boost::shared_ptr< Listener > ListenerPtr
boost::shared_ptr< Participant > ParticipantPtr
ReaderPtr createReader(const Scope &scope, const ParticipantConfig &config)
Creates and returns a new Reader object for Scope scope.
boost::shared_ptr< IntlCallback > CallbackPtr
ListenerPtr createListener(const Scope &scope, const ParticipantConfig &config)
Creates and returns a new Listener for the Scope scope.
boost::shared_ptr< SignalParticipantCreated > SignalParticipantCreatedPtr
Factory for RSB user-level domain objects for communication patterns.
ParticipantConfig defaultConfig
Always acquire configMutex before reading or writing the config.
A class describing the configuration of Participant instances.
boost::shared_ptr< InformerBase > InformerBasePtr
SignalParticipantCreatedPtr signalParticipantCreated
boost::shared_ptr< RemoteServer > RemoteServerPtr
rsc::logging::LoggerPtr logger
rsc::plugins::ManagerPtr pluginManager
boost::recursive_mutex configMutex
boost::shared_ptr< SignalParticipantDestroyed > SignalParticipantDestroyedPtr
Scope is a descriptor for a hierarchical channel of the unified bus.
boost::signals2::signal< void(ParticipantPtr, ParticipantPtr)> SignalParticipantCreated