Public Member Functions | Protected Attributes
ServiceManager< T > Class Template Reference

#include <ServiceManager.h>

Inheritance diagram for ServiceManager< T >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

bool callback (typename T::Request &req, typename T::Response &resp)
void createThreads ()
virtual void fillDestination (typename T::Request &req)
virtual int getPriority (typename T::Request &req)
virtual void init_param ()
virtual bool isHost ()
void run ()
 ServiceManager (ros::NodeHandle *n, int port, std::string name, int host, unsigned char priority)
 ServiceManager (ros::NodeHandle *n, int port, std::string name, unsigned char priority)
void startRX ()
void waitNetAnswer ()

Protected Attributes

T::Response answ
int host
int oks
sem_t sem_resp
ros::ServiceServer service
ros::Subscriber sub

Detailed Description

template<class T>
class ServiceManager< T >

Definition at line 41 of file ServiceManager.h.


Constructor & Destructor Documentation

template<class T>
ServiceManager< T >::ServiceManager ( ros::NodeHandle n,
int  port,
std::string  name,
int  host,
unsigned char  priority 
) [inline]

Definition at line 50 of file ServiceManager.h.

template<class T>
ServiceManager< T >::ServiceManager ( ros::NodeHandle n,
int  port,
std::string  name,
unsigned char  priority 
) [inline]

Definition at line 67 of file ServiceManager.h.


Member Function Documentation

template<class T>
bool ServiceManager< T >::callback ( typename T::Request &  req,
typename T::Response &  resp 
) [inline]

Definition at line 109 of file ServiceManager.h.

template<class T>
void ServiceManager< T >::createThreads ( ) [inline]

Definition at line 85 of file ServiceManager.h.

template<class T>
virtual void ServiceManager< T >::fillDestination ( typename T::Request &  req) [inline, virtual]
template<class T>
virtual int ServiceManager< T >::getPriority ( typename T::Request &  req) [inline, virtual]
template<class T>
virtual void ServiceManager< T >::init_param ( ) [inline, virtual]

Reimplemented from Manager.

Definition at line 77 of file ServiceManager.h.

template<class T>
virtual bool ServiceManager< T >::isHost ( ) [inline, virtual]

Reimplemented from Manager.

Definition at line 105 of file ServiceManager.h.

template<class T>
void ServiceManager< T >::run ( ) [inline, virtual]

Implements Manager.

Definition at line 140 of file ServiceManager.h.

template<class T>
void ServiceManager< T >::startRX ( ) [inline, virtual]

Reimplemented from Manager.

Definition at line 61 of file ServiceManager.h.

template<class T>
void ServiceManager< T >::waitNetAnswer ( ) [inline]

Definition at line 186 of file ServiceManager.h.


Member Data Documentation

template<class T>
T::Response ServiceManager< T >::answ [protected]

Definition at line 46 of file ServiceManager.h.

template<class T>
int ServiceManager< T >::host [protected]

Definition at line 48 of file ServiceManager.h.

template<class T>
int ServiceManager< T >::oks [protected]

Definition at line 47 of file ServiceManager.h.

template<class T>
sem_t ServiceManager< T >::sem_resp [protected]

Definition at line 45 of file ServiceManager.h.

template<class T>
ros::ServiceServer ServiceManager< T >::service [protected]

Reimplemented in WMPNodeManager.

Definition at line 44 of file ServiceManager.h.

template<class T>
ros::Subscriber ServiceManager< T >::sub [protected]

Definition at line 43 of file ServiceManager.h.


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


ros_rt_wmp
Author(s): Danilo Tardioli, dantard@unizar.es
autogenerated on Fri Jan 3 2014 12:07:58