Public Member Functions | Private Member Functions | Private Attributes | List of all members
ROSServiceServerProxy< ROS_SERVICE_T > Class Template Reference

#include <rtt_rosservice_proxy.h>

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

Public Member Functions

virtual bool connect (RTT::TaskContext *, RTT::OperationInterfacePart *operation)
 Connect an RTT Operation to this ROS service server. More...
 
 ROSServiceServerProxy (const std::string &service_name)
 Construct a ROS service server and associate it with an Orocos task's required interface and operation caller. More...
 
 ~ROSServiceServerProxy ()
 
- Public Member Functions inherited from ROSServiceServerProxyBase
 ROSServiceServerProxyBase (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 ros_service_callback (typename ROS_SERVICE_T::Request &request, typename ROS_SERVICE_T::Response &response)
 The callback called by the ROS service server when this service is invoked. More...
 

Private Attributes

boost::shared_ptr< ROSServiceServerOperationCallerBase< ROS_SERVICE_T > > impl_
 

Additional Inherited Members

- Protected Attributes inherited from ROSServiceServerProxyBase
ros::ServiceServer server_
 The underlying ROS service server. More...
 

Detailed Description

template<class ROS_SERVICE_T>
class ROSServiceServerProxy< ROS_SERVICE_T >

Definition at line 129 of file rtt_rosservice_proxy.h.

Constructor & Destructor Documentation

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

Construct a ROS service server and associate it with an Orocos task's required interface and operation caller.

Definition at line 135 of file rtt_rosservice_proxy.h.

template<class ROS_SERVICE_T >
ROSServiceServerProxy< ROS_SERVICE_T >::~ROSServiceServerProxy ( )
inline

Definition at line 146 of file rtt_rosservice_proxy.h.

Member Function Documentation

template<class ROS_SERVICE_T >
virtual bool ROSServiceServerProxy< ROS_SERVICE_T >::connect ( RTT::TaskContext owner,
RTT::OperationInterfacePart operation 
)
inlinevirtual

Connect an RTT Operation to this ROS service server.

Implements ROSServiceServerProxyBase.

Definition at line 152 of file rtt_rosservice_proxy.h.

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

The callback called by the ROS service server when this service is invoked.

Definition at line 160 of file rtt_rosservice_proxy.h.

Member Data Documentation

template<class ROS_SERVICE_T >
boost::shared_ptr<ROSServiceServerOperationCallerBase<ROS_SERVICE_T> > ROSServiceServerProxy< ROS_SERVICE_T >::impl_
private

Definition at line 165 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 Mon May 10 2021 02:45:04