Public Types | Public Member Functions | Private Attributes | List of all members
actionlib::ServiceServerImpT< ActionSpec > Class Template Reference

#include <service_server.h>

Inheritance diagram for actionlib::ServiceServerImpT< ActionSpec >:
Inheritance graph
[legend]

Public Types

typedef ActionServer< ActionSpec >::GoalHandle GoalHandle
 

Public Member Functions

 ACTION_DEFINITION (ActionSpec)
 
void goalCB (GoalHandle g)
 
 ServiceServerImpT (ros::NodeHandle n, std::string name, boost::function< bool(const Goal &, Result &result)> service_cb)
 
- Public Member Functions inherited from actionlib::ServiceServerImp
 ServiceServerImp ()
 
virtual ~ServiceServerImp ()
 

Private Attributes

boost::shared_ptr< ActionServer< ActionSpec > > as_
 
boost::function< bool(const Goal &, Result &result)> service_cb_
 

Detailed Description

template<class ActionSpec>
class actionlib::ServiceServerImpT< ActionSpec >

Definition at line 71 of file service_server.h.

Member Typedef Documentation

◆ GoalHandle

template<class ActionSpec >
typedef ActionServer<ActionSpec>::GoalHandle actionlib::ServiceServerImpT< ActionSpec >::GoalHandle

Definition at line 77 of file service_server.h.

Constructor & Destructor Documentation

◆ ServiceServerImpT()

template<class ActionSpec >
actionlib::ServiceServerImpT< ActionSpec >::ServiceServerImpT ( ros::NodeHandle  n,
std::string  name,
boost::function< bool(const Goal &, Result &result)>  service_cb 
)

Definition at line 56 of file service_server_imp.h.

Member Function Documentation

◆ ACTION_DEFINITION()

template<class ActionSpec >
actionlib::ServiceServerImpT< ActionSpec >::ACTION_DEFINITION ( ActionSpec  )

◆ goalCB()

template<class ActionSpec >
void actionlib::ServiceServerImpT< ActionSpec >::goalCB ( GoalHandle  g)

Definition at line 66 of file service_server_imp.h.

Member Data Documentation

◆ as_

template<class ActionSpec >
boost::shared_ptr<ActionServer<ActionSpec> > actionlib::ServiceServerImpT< ActionSpec >::as_
private

Definition at line 84 of file service_server.h.

◆ service_cb_

template<class ActionSpec >
boost::function<bool(const Goal &, Result & result)> actionlib::ServiceServerImpT< ActionSpec >::service_cb_
private

Definition at line 85 of file service_server.h.


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


actionlib
Author(s): Eitan Marder-Eppstein, Vijay Pradeep, Mikael Arguedas
autogenerated on Mon Feb 28 2022 21:34:39