Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Attributes
ROSServiceRegistryService Class Reference

#include <rtt_rosservice_registry_service.h>

Inheritance diagram for ROSServiceRegistryService:
Inheritance graph
[legend]

List of all members.

Public Member Functions

ROSServiceProxyFactoryBasegetServiceFactory (const std::string &service_type)
bool hasServiceFactory (const std::string &service_type)
void listSrvs ()
bool registerServiceFactory (ROSServiceProxyFactoryBase *factory)
 Register a ROS service proxy factory.

Static Public Member Functions

static ROSServiceRegistryServicePtr Instance ()
static void Release ()

Private Member Functions

 ROSServiceRegistryService (RTT::TaskContext *owner)

Static Private Attributes

static std::map< std::string,
boost::shared_ptr
< ROSServiceProxyFactoryBase > > 
factories_
 ROS service proxy factories.
static RTT::os::MutexRecursive factory_lock_
static ROSServiceRegistryServicePtr s_instance_
 The singleton instance.

Detailed Description

Definition at line 11 of file rtt_rosservice_registry_service.h.


Constructor & Destructor Documentation

Instantiates this service.

Parameters:
ownerThe owner or null in case of global.

Definition at line 25 of file rtt_rosservice_registry_service.cpp.


Member Function Documentation

Definition at line 70 of file rtt_rosservice_registry_service.cpp.

bool ROSServiceRegistryService::hasServiceFactory ( const std::string &  service_type)

Definition at line 64 of file rtt_rosservice_registry_service.cpp.

Definition at line 11 of file rtt_rosservice_registry_service.cpp.

Definition at line 82 of file rtt_rosservice_registry_service.cpp.

Register a ROS service proxy factory.

This enables the ROSServiceRegistryService to construct ROS service clients and servers from a string name.

Definition at line 40 of file rtt_rosservice_registry_service.cpp.

Definition at line 20 of file rtt_rosservice_registry_service.cpp.


Member Data Documentation

std::map< std::string, boost::shared_ptr< ROSServiceProxyFactoryBase > > ROSServiceRegistryService::factories_ [static, private]

ROS service proxy factories.

Definition at line 38 of file rtt_rosservice_registry_service.h.

Definition at line 39 of file rtt_rosservice_registry_service.h.

The singleton instance.

Definition at line 42 of file rtt_rosservice_registry_service.h.


The documentation for this class was generated from the following files:


rtt_roscomm
Author(s): Ruben Smits, Jonathan Bohren
autogenerated on Thu Jun 6 2019 18:06:06