rtt_rosservice_registry_service.h
Go to the documentation of this file.
1 #ifndef __RTT_ROSSERVICE_RTT_ROSSERVICE_REGISTRY_SERVICE_H
2 #define __RTT_ROSSERVICE_RTT_ROSSERVICE_REGISTRY_SERVICE_H
3 
4 #include <rtt/RTT.hpp>
5 #include <boost/shared_ptr.hpp>
6 
10 
12 {
13 public:
15  static void Release();
16 
23 
24  bool hasServiceFactory(const std::string &service_type);
25 
26  ROSServiceProxyFactoryBase* getServiceFactory(const std::string &service_type);
27 
28  void listSrvs();
29 
30 private:
36 
38  static std::map<std::string, boost::shared_ptr<ROSServiceProxyFactoryBase> > factories_;
40 
43 };
44 
45 #endif // __RTT_ROSSERVICE_RTT_ROSSERVICE_REGISTRY_SERVICE_H
ROSServiceProxyFactoryBase * getServiceFactory(const std::string &service_type)
static std::map< std::string, boost::shared_ptr< ROSServiceProxyFactoryBase > > factories_
ROS service proxy factories.
ROSServiceRegistryService(RTT::TaskContext *owner)
static ROSServiceRegistryServicePtr Instance()
static ROSServiceRegistryServicePtr s_instance_
The singleton instance.
static RTT::os::MutexRecursive factory_lock_
bool hasServiceFactory(const std::string &service_type)
Abstract factory for ROS Service Proxy Factories.
boost::shared_ptr< ROSServiceRegistryService > ROSServiceRegistryServicePtr
bool registerServiceFactory(ROSServiceProxyFactoryBase *factory)
Register a ROS service proxy factory.


rtt_roscomm
Author(s): Ruben Smits, Jonathan Bohren
autogenerated on Mon May 10 2021 02:45:04