Classes | Public Types | Public Member Functions | Protected Attributes | List of all members
mbf_abstract_nav::AbstractAction< Action, Execution > Class Template Reference

#include <abstract_action.h>

Classes

struct  ConcurrencySlot
 

Public Types

typedef actionlib::ActionServer< Action >::GoalHandle GoalHandle
 
typedef boost::shared_ptr< AbstractActionPtr
 
typedef boost::function< void(GoalHandle &goal_handle, Execution &execution)> RunMethod
 

Public Member Functions

 AbstractAction (const std::string &name, const RobotInformation &robot_info, const RunMethod run_method)
 
virtual void cancel (GoalHandle &goal_handle)
 
virtual void cancelAll ()
 
virtual void reconfigureAll (mbf_abstract_nav::MoveBaseFlexConfig &config, uint32_t level)
 
virtual void runAndCleanUp (GoalHandle &goal_handle, typename Execution::Ptr execution_ptr)
 
virtual void start (GoalHandle &goal_handle, typename Execution::Ptr execution_ptr)
 

Protected Attributes

std::map< uint8_t, ConcurrencySlotconcurrency_slots_
 
const std::string & name_
 
const RobotInformationrobot_info_
 
RunMethod run_
 
boost::mutex slot_map_mtx_
 
boost::thread_group threads_
 

Detailed Description

template<typename Action, typename Execution>
class mbf_abstract_nav::AbstractAction< Action, Execution >

Definition at line 49 of file abstract_action.h.

Member Typedef Documentation

template<typename Action, typename Execution>
typedef actionlib::ActionServer<Action>::GoalHandle mbf_abstract_nav::AbstractAction< Action, Execution >::GoalHandle

Definition at line 53 of file abstract_action.h.

template<typename Action, typename Execution>
typedef boost::shared_ptr<AbstractAction> mbf_abstract_nav::AbstractAction< Action, Execution >::Ptr

Definition at line 52 of file abstract_action.h.

template<typename Action, typename Execution>
typedef boost::function<void (GoalHandle &goal_handle, Execution &execution)> mbf_abstract_nav::AbstractAction< Action, Execution >::RunMethod

Definition at line 54 of file abstract_action.h.

Constructor & Destructor Documentation

template<typename Action, typename Execution>
mbf_abstract_nav::AbstractAction< Action, Execution >::AbstractAction ( const std::string &  name,
const RobotInformation robot_info,
const RunMethod  run_method 
)
inline

Definition at line 62 of file abstract_action.h.

Member Function Documentation

template<typename Action, typename Execution>
virtual void mbf_abstract_nav::AbstractAction< Action, Execution >::cancel ( GoalHandle goal_handle)
inlinevirtual

Definition at line 102 of file abstract_action.h.

template<typename Action, typename Execution>
virtual void mbf_abstract_nav::AbstractAction< Action, Execution >::cancelAll ( )
inlinevirtual

Definition at line 145 of file abstract_action.h.

template<typename Action, typename Execution>
virtual void mbf_abstract_nav::AbstractAction< Action, Execution >::reconfigureAll ( mbf_abstract_nav::MoveBaseFlexConfig &  config,
uint32_t  level 
)
inlinevirtual

Definition at line 133 of file abstract_action.h.

template<typename Action, typename Execution>
virtual void mbf_abstract_nav::AbstractAction< Action, Execution >::runAndCleanUp ( GoalHandle goal_handle,
typename Execution::Ptr  execution_ptr 
)
inlinevirtual

Definition at line 113 of file abstract_action.h.

template<typename Action, typename Execution>
virtual void mbf_abstract_nav::AbstractAction< Action, Execution >::start ( GoalHandle goal_handle,
typename Execution::Ptr  execution_ptr 
)
inlinevirtual

Reimplemented in mbf_abstract_nav::ControllerAction.

Definition at line 68 of file abstract_action.h.

Member Data Documentation

template<typename Action, typename Execution>
std::map<uint8_t, ConcurrencySlot> mbf_abstract_nav::AbstractAction< Action, Execution >::concurrency_slots_
protected

Definition at line 163 of file abstract_action.h.

template<typename Action, typename Execution>
const std::string& mbf_abstract_nav::AbstractAction< Action, Execution >::name_
protected

Definition at line 158 of file abstract_action.h.

template<typename Action, typename Execution>
const RobotInformation& mbf_abstract_nav::AbstractAction< Action, Execution >::robot_info_
protected

Definition at line 159 of file abstract_action.h.

template<typename Action, typename Execution>
RunMethod mbf_abstract_nav::AbstractAction< Action, Execution >::run_
protected

Definition at line 161 of file abstract_action.h.

template<typename Action, typename Execution>
boost::mutex mbf_abstract_nav::AbstractAction< Action, Execution >::slot_map_mtx_
protected

Definition at line 165 of file abstract_action.h.

template<typename Action, typename Execution>
boost::thread_group mbf_abstract_nav::AbstractAction< Action, Execution >::threads_
protected

Definition at line 162 of file abstract_action.h.


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


mbf_abstract_nav
Author(s): Sebastian Pütz
autogenerated on Tue Jun 18 2019 19:34:34