Public Member Functions | |
bool | connect (const std::string &rtt_operation_name, const std::string &ros_service_name, const std::string &ros_service_type) |
Connect an RTT operation or operation caller to a ROS service server or service client. | |
bool | disconnect (const std::string &ros_service_name) |
void | disconnectAll () |
RTT::OperationInterfacePart * | get_owner_operation (const std::string rtt_uri) |
Get an RTT operation from a string identifier. | |
RTT::base::OperationCallerBaseInvoker * | get_owner_operation_caller (const std::string rtt_uri) |
Get an RTT operation caller from a string identifier. | |
ROSServiceService (TaskContext *owner) | |
~ROSServiceService () | |
Public Attributes | |
std::map< std::string, ROSServiceClientProxyBase * > | client_proxies_ |
RTT::OperationCaller < ROSServiceProxyFactoryBase *(const std::string &)> | get_service_factory |
RTT::OperationCaller< bool(const std::string &)> | has_service_factory |
RTT::Service::shared_ptr | rosservice_registry_ |
std::map< std::string, ROSServiceServerProxyBase * > | server_proxies_ |
The globally loadable ROS service.
Definition at line 15 of file rtt_rosservice_service.cpp.
ROSServiceService::ROSServiceService | ( | TaskContext * | owner | ) | [inline] |
Instantiates this service.
owner | The owner or null in case of global. |
Definition at line 22 of file rtt_rosservice_service.cpp.
ROSServiceService::~ROSServiceService | ( | ) | [inline] |
Definition at line 46 of file rtt_rosservice_service.cpp.
bool ROSServiceService::connect | ( | const std::string & | rtt_operation_name, |
const std::string & | ros_service_name, | ||
const std::string & | ros_service_type | ||
) | [inline] |
Connect an RTT operation or operation caller to a ROS service server or service client.
Definition at line 112 of file rtt_rosservice_service.cpp.
bool ROSServiceService::disconnect | ( | const std::string & | ros_service_name | ) | [inline] |
Definition at line 167 of file rtt_rosservice_service.cpp.
void ROSServiceService::disconnectAll | ( | ) | [inline] |
Definition at line 192 of file rtt_rosservice_service.cpp.
RTT::OperationInterfacePart* ROSServiceService::get_owner_operation | ( | const std::string | rtt_uri | ) | [inline] |
Get an RTT operation from a string identifier.
Definition at line 81 of file rtt_rosservice_service.cpp.
RTT::base::OperationCallerBaseInvoker* ROSServiceService::get_owner_operation_caller | ( | const std::string | rtt_uri | ) | [inline] |
Get an RTT operation caller from a string identifier.
Definition at line 52 of file rtt_rosservice_service.cpp.
std::map<std::string, ROSServiceClientProxyBase*> ROSServiceService::client_proxies_ |
Definition at line 215 of file rtt_rosservice_service.cpp.
RTT::OperationCaller<ROSServiceProxyFactoryBase*(const std::string&)> ROSServiceService::get_service_factory |
Definition at line 212 of file rtt_rosservice_service.cpp.
RTT::OperationCaller<bool(const std::string&)> ROSServiceService::has_service_factory |
Definition at line 211 of file rtt_rosservice_service.cpp.
Definition at line 210 of file rtt_rosservice_service.cpp.
std::map<std::string, ROSServiceServerProxyBase*> ROSServiceService::server_proxies_ |
Definition at line 214 of file rtt_rosservice_service.cpp.