rapid
A ROS robotics library.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
rapid_ros::ActionClient< ActionSpec > Class Template Reference

#include <action_client.h>

Inheritance diagram for rapid_ros::ActionClient< ActionSpec >:
rapid_ros::ActionClientInterface< ActionSpec >

Public Member Functions

 ActionClient (const std::string &name, bool spin_thread=true)
 
ResultConstPtr getResult ()
 
actionlib::SimpleClientGoalState getState ()
 
bool isServerConnected ()
 
void sendGoal (const Goal &goal)
 
bool waitForResult (const ros::Duration &timeout=ros::Duration(0, 0))
 
bool waitForServer (const ros::Duration &timeout=ros::Duration(0, 0))
 
- Public Member Functions inherited from rapid_ros::ActionClientInterface< ActionSpec >
virtual ~ActionClientInterface ()
 

Detailed Description

template<class ActionSpec>
class rapid_ros::ActionClient< ActionSpec >

Definition at line 35 of file action_client.h.

Constructor & Destructor Documentation

template<class ActionSpec >
rapid_ros::ActionClient< ActionSpec >::ActionClient ( const std::string &  name,
bool  spin_thread = true 
)

Definition at line 97 of file action_client.h.

Member Function Documentation

template<class ActionSpec >
ActionClient< ActionSpec >::ResultConstPtr rapid_ros::ActionClient< ActionSpec >::getResult ( )
virtual

Implements rapid_ros::ActionClientInterface< ActionSpec >.

Definition at line 103 of file action_client.h.

template<class ActionSpec >
actionlib::SimpleClientGoalState rapid_ros::ActionClient< ActionSpec >::getState ( )
virtual

Implements rapid_ros::ActionClientInterface< ActionSpec >.

Definition at line 108 of file action_client.h.

template<class ActionSpec >
bool rapid_ros::ActionClient< ActionSpec >::isServerConnected ( )
virtual

Implements rapid_ros::ActionClientInterface< ActionSpec >.

Definition at line 113 of file action_client.h.

template<class ActionSpec >
void rapid_ros::ActionClient< ActionSpec >::sendGoal ( const Goal &  goal)
virtual

Implements rapid_ros::ActionClientInterface< ActionSpec >.

Definition at line 118 of file action_client.h.

template<class ActionSpec >
bool rapid_ros::ActionClient< ActionSpec >::waitForResult ( const ros::Duration &  timeout = ros::Duration(0, 0))
virtual

Implements rapid_ros::ActionClientInterface< ActionSpec >.

Definition at line 123 of file action_client.h.

template<class ActionSpec >
bool rapid_ros::ActionClient< ActionSpec >::waitForServer ( const ros::Duration &  timeout = ros::Duration(0, 0))
virtual

Implements rapid_ros::ActionClientInterface< ActionSpec >.

Definition at line 128 of file action_client.h.


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