26 :
Service(
"rosservice_registry", owner)
28 this->
doc(
"Global RTT Service for registering ROS service types.");
48 const std::string &ros_service_type = factory->
getType();
107 if (c != 0)
return false;
112 return "rosservice_registry";
115 return OROCOS_TARGET_NAME;
ROSServiceProxyFactoryBase * getServiceFactory(const std::string &service_type)
static void loadROSServiceRegistryService()
std::string getRTTPluginName()
Operation< Signature > & addOperation(Operation< Signature > &op)
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.
const std::string & doc() const
static RTT::os::MutexRecursive factory_lock_
std::string getRTTTargetName()
bool hasServiceFactory(const std::string &service_type)
Abstract factory for ROS Service Proxy Factories.
bool loadRTTPlugin(RTT::TaskContext *c)
const std::string & getType()
Get the ROS service type.
bool registerServiceFactory(ROSServiceProxyFactoryBase *factory)
Register a ROS service proxy factory.
static Logger::LogFunction endlog()
static RTT_API Service::shared_ptr Instance()