Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
labust::primitive::PrimitiveCallBase< ActionType, ActionGoal, ActionResult, ActionFeedback > Class Template Reference

#include <PrimitiveCallBase.hpp>

List of all members.

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

Detailed Description

template<class ActionType, class ActionGoal, class ActionResult, class ActionFeedback>
class labust::primitive::PrimitiveCallBase< ActionType, ActionGoal, ActionResult, ActionFeedback >

The primitive call base class.

Definition at line 59 of file PrimitiveCallBase.hpp.


Member Typedef Documentation

template<class ActionType, class ActionGoal, class ActionResult, class ActionFeedback>
typedef ActionType labust::primitive::PrimitiveCallBase< ActionType, ActionGoal, ActionResult, ActionFeedback >::Action

Definition at line 63 of file PrimitiveCallBase.hpp.

template<class ActionType, class ActionGoal, class ActionResult, class ActionFeedback>
typedef actionlib::SimpleActionClient<Action> labust::primitive::PrimitiveCallBase< ActionType, ActionGoal, ActionResult, ActionFeedback >::ActionClient

Definition at line 64 of file PrimitiveCallBase.hpp.

template<class ActionType, class ActionGoal, class ActionResult, class ActionFeedback>
typedef ActionFeedback labust::primitive::PrimitiveCallBase< ActionType, ActionGoal, ActionResult, ActionFeedback >::Feedback

Definition at line 67 of file PrimitiveCallBase.hpp.

template<class ActionType, class ActionGoal, class ActionResult, class ActionFeedback>
typedef ActionGoal labust::primitive::PrimitiveCallBase< ActionType, ActionGoal, ActionResult, ActionFeedback >::Goal

Definition at line 65 of file PrimitiveCallBase.hpp.

template<class ActionType, class ActionGoal, class ActionResult, class ActionFeedback>
typedef ActionResult labust::primitive::PrimitiveCallBase< ActionType, ActionGoal, ActionResult, ActionFeedback >::Result

Definition at line 66 of file PrimitiveCallBase.hpp.


Constructor & Destructor Documentation

template<class ActionType, class ActionGoal, class ActionResult, class ActionFeedback>
labust::primitive::PrimitiveCallBase< ActionType, ActionGoal, ActionResult, ActionFeedback >::PrimitiveCallBase ( const std::string &  name) [inline, protected]

Main constructor

Definition at line 74 of file PrimitiveCallBase.hpp.

template<class ActionType, class ActionGoal, class ActionResult, class ActionFeedback>
virtual labust::primitive::PrimitiveCallBase< ActionType, ActionGoal, ActionResult, ActionFeedback >::~PrimitiveCallBase ( ) [inline, protected, virtual]

Definition at line 88 of file PrimitiveCallBase.hpp.


Member Function Documentation

template<class ActionType, class ActionGoal, class ActionResult, class ActionFeedback>
virtual void labust::primitive::PrimitiveCallBase< ActionType, ActionGoal, ActionResult, ActionFeedback >::activeCb ( ) [inline, protected, virtual]
template<class ActionType, class ActionGoal, class ActionResult, class ActionFeedback>
void labust::primitive::PrimitiveCallBase< ActionType, ActionGoal, ActionResult, ActionFeedback >::callPrimitiveAction ( Goal  goal) [inline, protected]

Definition at line 109 of file PrimitiveCallBase.hpp.

template<class ActionType, class ActionGoal, class ActionResult, class ActionFeedback>
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.

template<class ActionType, class ActionGoal, class ActionResult, class ActionFeedback>
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.

template<class ActionType, class ActionGoal, class ActionResult, class ActionFeedback>
void labust::primitive::PrimitiveCallBase< ActionType, ActionGoal, ActionResult, ActionFeedback >::publishEventString ( std::string  event) [inline, protected]

Definition at line 140 of file PrimitiveCallBase.hpp.

template<class ActionType, class ActionGoal, class ActionResult, class ActionFeedback>
virtual void labust::primitive::PrimitiveCallBase< ActionType, ActionGoal, ActionResult, ActionFeedback >::start ( Goal  goal) [inline, virtual]

Definition at line 91 of file PrimitiveCallBase.hpp.

template<class ActionType, class ActionGoal, class ActionResult, class ActionFeedback>
virtual void labust::primitive::PrimitiveCallBase< ActionType, ActionGoal, ActionResult, ActionFeedback >::stop ( ) [inline, virtual]

Definition at line 97 of file PrimitiveCallBase.hpp.


Member Data Documentation

template<class ActionType, class ActionGoal, class ActionResult, class ActionFeedback>
ActionClient labust::primitive::PrimitiveCallBase< ActionType, ActionGoal, ActionResult, ActionFeedback >::ac [protected]

The action client.

Definition at line 154 of file PrimitiveCallBase.hpp.

template<class ActionType, class ActionGoal, class ActionResult, class ActionFeedback>
Action labust::primitive::PrimitiveCallBase< ActionType, ActionGoal, ActionResult, ActionFeedback >::action [protected]

The action var.

Definition at line 158 of file PrimitiveCallBase.hpp.

template<class ActionType, class ActionGoal, class ActionResult, class ActionFeedback>
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.

template<class ActionType, class ActionGoal, class ActionResult, class ActionFeedback>
std::string labust::primitive::PrimitiveCallBase< ActionType, ActionGoal, ActionResult, ActionFeedback >::primitiveName [protected]

The name identifier.

Definition at line 150 of file PrimitiveCallBase.hpp.

template<class ActionType, class ActionGoal, class ActionResult, class ActionFeedback>
ros::Publisher labust::primitive::PrimitiveCallBase< ActionType, ActionGoal, ActionResult, ActionFeedback >::pubEventString [protected]

Event string publisher

Definition at line 166 of file PrimitiveCallBase.hpp.


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


labust_primitives
Author(s): Filip Mandic
autogenerated on Fri Aug 28 2015 11:22:51