Public Types | Public Member Functions | Private Member Functions | List of all members
ROSServiceClientProxy< ROS_SERVICE_T > Class Template Reference

#include <rtt_rosservice_proxy.h>

Inheritance diagram for ROSServiceClientProxy< ROS_SERVICE_T >:
Inheritance graph
[legend]

Public Types

typedef RTT::Operation< bool(typename ROS_SERVICE_T::Request &, typename ROS_SERVICE_T::Response &)> ProxyOperationType
 The proxy RTT operation type for this ROS service. More...
 

Public Member Functions

 ROSServiceClientProxy (const std::string &service_name)
 
- Public Member Functions inherited from ROSServiceClientProxyBase
bool connect (RTT::TaskContext *owner, RTT::base::OperationCallerBaseInvoker *operation_caller)
 Connect an operation caller with this proxy. More...
 
 ROSServiceClientProxyBase (const std::string &service_name)
 
- Public Member Functions inherited from ROSServiceProxyBase
const std::string & getServiceName () const
 Get the name of the ROS service. More...
 
 ROSServiceProxyBase (const std::string &service_name)
 
virtual ~ROSServiceProxyBase ()
 

Private Member Functions

bool orocos_operation_callback (typename ROS_SERVICE_T::Request &request, typename ROS_SERVICE_T::Response &response)
 The callback for the RTT operation. More...
 

Additional Inherited Members

- Protected Attributes inherited from ROSServiceClientProxyBase
ros::ServiceClient client_
 The underlying ROS service client. More...
 
boost::shared_ptr< RTT::base::OperationBaseproxy_operation_
 The underlying RTT operation. More...
 

Detailed Description

template<class ROS_SERVICE_T>
class ROSServiceClientProxy< ROS_SERVICE_T >

Definition at line 187 of file rtt_rosservice_proxy.h.

Member Typedef Documentation

template<class ROS_SERVICE_T >
typedef RTT::Operation<bool(typename ROS_SERVICE_T::Request&, typename ROS_SERVICE_T::Response&)> ROSServiceClientProxy< ROS_SERVICE_T >::ProxyOperationType

The proxy RTT operation type for this ROS service.

Definition at line 192 of file rtt_rosservice_proxy.h.

Constructor & Destructor Documentation

template<class ROS_SERVICE_T >
ROSServiceClientProxy< ROS_SERVICE_T >::ROSServiceClientProxy ( const std::string &  service_name)
inline

Definition at line 194 of file rtt_rosservice_proxy.h.

Member Function Documentation

template<class ROS_SERVICE_T >
bool ROSServiceClientProxy< ROS_SERVICE_T >::orocos_operation_callback ( typename ROS_SERVICE_T::Request &  request,
typename ROS_SERVICE_T::Response &  response 
)
inlineprivate

The callback for the RTT operation.

Definition at line 214 of file rtt_rosservice_proxy.h.


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


rtt_roscomm
Author(s): Ruben Smits, Jonathan Bohren
autogenerated on Sat Jun 8 2019 18:05:17