Wrapper class for SimpleActionClient that checks server availability on first use. More...
#include <service_action_wrappers.h>
Public Member Functions | |
ActionWrapper (std::string action_name, bool param) | |
actionlib::SimpleActionClient < ActionDataType > & | client (ros::Duration timeout=ros::Duration(5.0)) |
Private Attributes | |
std::string | action_name_ |
The name of the action. | |
actionlib::SimpleActionClient < ActionDataType > | client_ |
The actual action client. | |
bool | initialized_ |
Has the service client been initialized or not. | |
ros::NodeHandle | nh_ |
The node handle to be used when initializing services. |
Wrapper class for SimpleActionClient that checks server availability on first use.
Definition at line 177 of file service_action_wrappers.h.
object_manipulator::ActionWrapper< ActionDataType >::ActionWrapper | ( | std::string | action_name, | |
bool | param | |||
) | [inline] |
Definition at line 189 of file service_action_wrappers.h.
actionlib::SimpleActionClient<ActionDataType>& object_manipulator::ActionWrapper< ActionDataType >::client | ( | ros::Duration | timeout = ros::Duration(5.0) |
) | [inline] |
Definition at line 194 of file service_action_wrappers.h.
std::string object_manipulator::ActionWrapper< ActionDataType >::action_name_ [private] |
The name of the action.
Definition at line 183 of file service_action_wrappers.h.
actionlib::SimpleActionClient<ActionDataType> object_manipulator::ActionWrapper< ActionDataType >::client_ [private] |
The actual action client.
Definition at line 187 of file service_action_wrappers.h.
bool object_manipulator::ActionWrapper< ActionDataType >::initialized_ [private] |
Has the service client been initialized or not.
Definition at line 181 of file service_action_wrappers.h.
ros::NodeHandle object_manipulator::ActionWrapper< ActionDataType >::nh_ [private] |
The node handle to be used when initializing services.
Definition at line 185 of file service_action_wrappers.h.