kitt_platform
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Macros
Public Types | Public Member Functions | Public Attributes | Private Attributes | List of all members
ros::ServiceServer< MReq, MRes > Class Template Reference

#include <service_server.h>

Inheritance diagram for ros::ServiceServer< MReq, MRes >:
Inheritance graph
[legend]
Collaboration diagram for ros::ServiceServer< MReq, MRes >:
Collaboration graph
[legend]

Public Types

typedef void(* CallbackT )(const MReq &, MRes &)
 

Public Member Functions

 ServiceServer (const char *topic_name, CallbackT cb)
 
virtual void callback (unsigned char *data)
 
virtual const char * getMsgType ()
 
virtual const char * getMsgMD5 ()
 
virtual int getEndpointType ()
 

Public Attributes

MReq req
 
MRes resp
 
Publisher pub
 
- Public Attributes inherited from ros::Subscriber_
int id_
 
const char * topic_
 

Private Attributes

CallbackT cb_
 

Member Typedef Documentation

template<typename MReq, typename MRes>
typedef void(* ros::ServiceServer< MReq, MRes >::CallbackT)(const MReq &, MRes &)

Constructor & Destructor Documentation

template<typename MReq, typename MRes>
ros::ServiceServer< MReq, MRes >::ServiceServer ( const char *  topic_name,
CallbackT  cb 
)
inline

Member Function Documentation

template<typename MReq, typename MRes>
virtual void ros::ServiceServer< MReq, MRes >::callback ( unsigned char *  data)
inlinevirtual

Implements ros::Subscriber_.

template<typename MReq, typename MRes>
virtual int ros::ServiceServer< MReq, MRes >::getEndpointType ( )
inlinevirtual

Implements ros::Subscriber_.

template<typename MReq, typename MRes>
virtual const char* ros::ServiceServer< MReq, MRes >::getMsgMD5 ( )
inlinevirtual

Implements ros::Subscriber_.

template<typename MReq, typename MRes>
virtual const char* ros::ServiceServer< MReq, MRes >::getMsgType ( )
inlinevirtual

Implements ros::Subscriber_.

Member Data Documentation

template<typename MReq, typename MRes>
CallbackT ros::ServiceServer< MReq, MRes >::cb_
private
template<typename MReq, typename MRes>
Publisher ros::ServiceServer< MReq, MRes >::pub
template<typename MReq, typename MRes>
MReq ros::ServiceServer< MReq, MRes >::req
template<typename MReq, typename MRes>
MRes ros::ServiceServer< MReq, MRes >::resp

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