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

◆ GoalHandle

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.

◆ Ptr

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.

◆ RunMethod

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

◆ AbstractAction()

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

◆ cancel()

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.

◆ cancelAll()

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

Definition at line 143 of file abstract_action.h.

◆ reconfigureAll()

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 131 of file abstract_action.h.

◆ runAndCleanUp()

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.

◆ start()

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

Definition at line 68 of file abstract_action.h.

Member Data Documentation

◆ concurrency_slots_

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

Definition at line 161 of file abstract_action.h.

◆ name_

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

Definition at line 156 of file abstract_action.h.

◆ robot_info_

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

Definition at line 157 of file abstract_action.h.

◆ run_

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

Definition at line 159 of file abstract_action.h.

◆ slot_map_mtx_

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

Definition at line 163 of file abstract_action.h.

◆ threads_

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

Definition at line 160 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 Sat Oct 12 2019 04:02:25