SMACC
Loading...
Searching...
No Matches
smacc_action_client.h
Go to the documentation of this file.
1/*****************************************************************************************************************
2 * ReelRobotix Inc. - Software License Agreement Copyright (c) 2018
3 * Authors: Pablo Inigo Blasco, Brett Aldrich
4 *
5 ******************************************************************************************************************/
6
7#pragma once
8
11#include <actionlib/client/simple_action_client.h>
12
13namespace smacc
14{
15namespace client_bases
16{
17 using namespace actionlib;
18
19 // This class interface shows the basic set of methods that
20 // a SMACC "resource" or "plugin" Action Client has
22 {
23 public:
25
26 // The destructor. This is called when the object is not
27 // referenced anymore by its owner
28 virtual ~ISmaccActionClient();
29
30 // Gets the ros path of the action...
31 inline std::string getNamespace() const
32 {
33 return name_;
34 }
35
36 virtual void cancelGoal() = 0;
37
38 virtual SimpleClientGoalState getState() = 0;
39
40 protected:
41 // The ros path where the action server is located
42 std::string name_;
43 };
44} // namespace smacc
45} // namespace smacc
virtual SimpleClientGoalState getState()=0