#include <abstract_action.h>
Classes | |
struct | ConcurrencySlot |
Public Types | |
typedef actionlib::ActionServer < Action >::GoalHandle | GoalHandle |
typedef boost::shared_ptr < AbstractAction > | Ptr |
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, ConcurrencySlot > | concurrency_slots_ |
const std::string & | name_ |
const RobotInformation & | robot_info_ |
RunMethod | run_ |
boost::mutex | slot_map_mtx_ |
boost::thread_group | threads_ |
Definition at line 49 of file abstract_action.h.
typedef actionlib::ActionServer<Action>::GoalHandle mbf_abstract_nav::AbstractAction< Action, Execution >::GoalHandle |
Definition at line 53 of file abstract_action.h.
typedef boost::shared_ptr<AbstractAction> mbf_abstract_nav::AbstractAction< Action, Execution >::Ptr |
Reimplemented in mbf_abstract_nav::ControllerAction, mbf_abstract_nav::PlannerAction, and mbf_abstract_nav::RecoveryAction.
Definition at line 52 of file abstract_action.h.
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.
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.
virtual void mbf_abstract_nav::AbstractAction< Action, Execution >::cancel | ( | GoalHandle & | goal_handle | ) | [inline, virtual] |
Definition at line 102 of file abstract_action.h.
virtual void mbf_abstract_nav::AbstractAction< Action, Execution >::cancelAll | ( | ) | [inline, virtual] |
Definition at line 145 of file abstract_action.h.
virtual void mbf_abstract_nav::AbstractAction< Action, Execution >::reconfigureAll | ( | mbf_abstract_nav::MoveBaseFlexConfig & | config, |
uint32_t | level | ||
) | [inline, virtual] |
Definition at line 133 of file abstract_action.h.
virtual void mbf_abstract_nav::AbstractAction< Action, Execution >::runAndCleanUp | ( | GoalHandle & | goal_handle, |
typename Execution::Ptr | execution_ptr | ||
) | [inline, virtual] |
Definition at line 113 of file abstract_action.h.
virtual void mbf_abstract_nav::AbstractAction< Action, Execution >::start | ( | GoalHandle & | goal_handle, |
typename Execution::Ptr | execution_ptr | ||
) | [inline, virtual] |
Reimplemented in mbf_abstract_nav::ControllerAction.
Definition at line 68 of file abstract_action.h.
std::map<uint8_t, ConcurrencySlot> mbf_abstract_nav::AbstractAction< Action, Execution >::concurrency_slots_ [protected] |
Definition at line 163 of file abstract_action.h.
const std::string& mbf_abstract_nav::AbstractAction< Action, Execution >::name_ [protected] |
Definition at line 158 of file abstract_action.h.
const RobotInformation& mbf_abstract_nav::AbstractAction< Action, Execution >::robot_info_ [protected] |
Definition at line 159 of file abstract_action.h.
RunMethod mbf_abstract_nav::AbstractAction< Action, Execution >::run_ [protected] |
Definition at line 161 of file abstract_action.h.
boost::mutex mbf_abstract_nav::AbstractAction< Action, Execution >::slot_map_mtx_ [protected] |
Definition at line 165 of file abstract_action.h.
boost::thread_group mbf_abstract_nav::AbstractAction< Action, Execution >::threads_ [protected] |
Definition at line 162 of file abstract_action.h.