#include <PrimitiveCallBase.hpp>
Public Types | |
typedef ActionType | Action |
typedef actionlib::SimpleActionClient < Action > | ActionClient |
typedef ActionFeedback | Feedback |
typedef ActionGoal | Goal |
typedef ActionResult | Result |
Public Member Functions | |
virtual void | start (Goal goal) |
virtual void | stop () |
Protected Member Functions | |
virtual void | activeCb () |
void | callPrimitiveAction (Goal goal) |
virtual void | doneCb (const actionlib::SimpleClientGoalState &state, const typename Result::ConstPtr &result) |
virtual void | feedbackCb (const typename Feedback::ConstPtr &feedback) |
PrimitiveCallBase (const std::string &name) | |
void | publishEventString (std::string event) |
virtual | ~PrimitiveCallBase () |
Protected Attributes | |
ActionClient | ac |
Action | action |
ros::ServiceClient | control_manager |
std::string | primitiveName |
ros::Publisher | pubEventString |
The primitive call base class.
Definition at line 59 of file PrimitiveCallBase.hpp.
typedef ActionType labust::primitive::PrimitiveCallBase< ActionType, ActionGoal, ActionResult, ActionFeedback >::Action |
Definition at line 63 of file PrimitiveCallBase.hpp.
typedef actionlib::SimpleActionClient<Action> labust::primitive::PrimitiveCallBase< ActionType, ActionGoal, ActionResult, ActionFeedback >::ActionClient |
Definition at line 64 of file PrimitiveCallBase.hpp.
typedef ActionFeedback labust::primitive::PrimitiveCallBase< ActionType, ActionGoal, ActionResult, ActionFeedback >::Feedback |
Definition at line 67 of file PrimitiveCallBase.hpp.
typedef ActionGoal labust::primitive::PrimitiveCallBase< ActionType, ActionGoal, ActionResult, ActionFeedback >::Goal |
Definition at line 65 of file PrimitiveCallBase.hpp.
typedef ActionResult labust::primitive::PrimitiveCallBase< ActionType, ActionGoal, ActionResult, ActionFeedback >::Result |
Definition at line 66 of file PrimitiveCallBase.hpp.
labust::primitive::PrimitiveCallBase< ActionType, ActionGoal, ActionResult, ActionFeedback >::PrimitiveCallBase | ( | const std::string & | name | ) | [inline, protected] |
Main constructor
Definition at line 74 of file PrimitiveCallBase.hpp.
virtual labust::primitive::PrimitiveCallBase< ActionType, ActionGoal, ActionResult, ActionFeedback >::~PrimitiveCallBase | ( | ) | [inline, protected, virtual] |
Definition at line 88 of file PrimitiveCallBase.hpp.
virtual void labust::primitive::PrimitiveCallBase< ActionType, ActionGoal, ActionResult, ActionFeedback >::activeCb | ( | ) | [inline, protected, virtual] |
Reimplemented in labust::primitive::PrimitiveCallDOFIdentification, labust::primitive::PrimitiveCallDynamicPositioning, labust::primitive::PrimitiveCallCourseKeeping, and labust::primitive::PrimitiveCallGo2Point.
Definition at line 129 of file PrimitiveCallBase.hpp.
void labust::primitive::PrimitiveCallBase< ActionType, ActionGoal, ActionResult, ActionFeedback >::callPrimitiveAction | ( | Goal | goal | ) | [inline, protected] |
Definition at line 109 of file PrimitiveCallBase.hpp.
virtual void labust::primitive::PrimitiveCallBase< ActionType, ActionGoal, ActionResult, ActionFeedback >::doneCb | ( | const actionlib::SimpleClientGoalState & | state, |
const typename Result::ConstPtr & | result | ||
) | [inline, protected, virtual] |
Definition at line 119 of file PrimitiveCallBase.hpp.
virtual void labust::primitive::PrimitiveCallBase< ActionType, ActionGoal, ActionResult, ActionFeedback >::feedbackCb | ( | const typename Feedback::ConstPtr & | feedback | ) | [inline, protected, virtual] |
Definition at line 135 of file PrimitiveCallBase.hpp.
void labust::primitive::PrimitiveCallBase< ActionType, ActionGoal, ActionResult, ActionFeedback >::publishEventString | ( | std::string | event | ) | [inline, protected] |
Definition at line 140 of file PrimitiveCallBase.hpp.
virtual void labust::primitive::PrimitiveCallBase< ActionType, ActionGoal, ActionResult, ActionFeedback >::start | ( | Goal | goal | ) | [inline, virtual] |
Definition at line 91 of file PrimitiveCallBase.hpp.
virtual void labust::primitive::PrimitiveCallBase< ActionType, ActionGoal, ActionResult, ActionFeedback >::stop | ( | ) | [inline, virtual] |
Definition at line 97 of file PrimitiveCallBase.hpp.
ActionClient labust::primitive::PrimitiveCallBase< ActionType, ActionGoal, ActionResult, ActionFeedback >::ac [protected] |
The action client.
Definition at line 154 of file PrimitiveCallBase.hpp.
Action labust::primitive::PrimitiveCallBase< ActionType, ActionGoal, ActionResult, ActionFeedback >::action [protected] |
The action var.
Definition at line 158 of file PrimitiveCallBase.hpp.
ros::ServiceClient labust::primitive::PrimitiveCallBase< ActionType, ActionGoal, ActionResult, ActionFeedback >::control_manager [protected] |
The service client for controller activation/deactivation
Definition at line 162 of file PrimitiveCallBase.hpp.
std::string labust::primitive::PrimitiveCallBase< ActionType, ActionGoal, ActionResult, ActionFeedback >::primitiveName [protected] |
The name identifier.
Definition at line 150 of file PrimitiveCallBase.hpp.
ros::Publisher labust::primitive::PrimitiveCallBase< ActionType, ActionGoal, ActionResult, ActionFeedback >::pubEventString [protected] |
Event string publisher
Definition at line 166 of file PrimitiveCallBase.hpp.