Public Member Functions | Private Member Functions | Private Attributes | List of all members
swri::TopicServiceServerImpl< MReq, MRes, T > Class Template Reference

#include <topic_service_server.h>

Inheritance diagram for swri::TopicServiceServerImpl< MReq, MRes, T >:
Inheritance graph
[legend]

Public Member Functions

void initialize (ros::NodeHandle &nh, const std::string &service, bool(T::*srv_func)(const MReq &, MRes &), T *obj)
 
- Public Member Functions inherited from swri::ImplRoot
virtual ~ImplRoot ()
 

Private Member Functions

void request_callback (const MReq &message)
 

Private Attributes

bool(T::* callback_ )(const MReq &, MRes &)
 
T * obj_
 
ros::Subscriber request_sub_
 
ros::Publisher response_pub_
 

Detailed Description

template<class MReq, class MRes, class T>
class swri::TopicServiceServerImpl< MReq, MRes, T >

Definition at line 46 of file topic_service_server.h.

Member Function Documentation

template<class MReq, class MRes, class T>
void swri::TopicServiceServerImpl< MReq, MRes, T >::initialize ( ros::NodeHandle nh,
const std::string &  service,
bool(T::*)(const MReq &, MRes &)  srv_func,
T *  obj 
)
inline

Definition at line 55 of file topic_service_server.h.

template<class MReq, class MRes, class T>
void swri::TopicServiceServerImpl< MReq, MRes, T >::request_callback ( const MReq &  message)
inlineprivate

Definition at line 73 of file topic_service_server.h.

Member Data Documentation

template<class MReq, class MRes, class T>
bool(T::* swri::TopicServiceServerImpl< MReq, MRes, T >::callback_) (const MReq &, MRes &)
private

Definition at line 51 of file topic_service_server.h.

template<class MReq, class MRes, class T>
T* swri::TopicServiceServerImpl< MReq, MRes, T >::obj_
private

Definition at line 52 of file topic_service_server.h.

template<class MReq, class MRes, class T>
ros::Subscriber swri::TopicServiceServerImpl< MReq, MRes, T >::request_sub_
private

Definition at line 48 of file topic_service_server.h.

template<class MReq, class MRes, class T>
ros::Publisher swri::TopicServiceServerImpl< MReq, MRes, T >::response_pub_
private

Definition at line 49 of file topic_service_server.h.


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


swri_roscpp
Author(s):
autogenerated on Tue Apr 6 2021 02:50:35