#include <rtt_simple_action_server.h>
|
| bool | abortActive (const Result &result, const std::string &msg="") |
| | Abort active goal. Abort active goal with given result, do nothing if there is no active goal. More...
|
| |
| bool | acceptPending (const Result &result, const std::string &msg="") |
| | Accept pending goal. Accept pending goal, preempt the active goal with result if present. Do nothing if there is no pending goal. More...
|
| |
| bool | cancelActive (const Result &result, const std::string &msg="") |
| | Cancel active goal. Cancel active goal with given result, do nothing if there is no active goal. More...
|
| |
| boost::shared_ptr< const Goal > | getActiveGoal () const |
| |
| boost::shared_ptr< const Goal > | getPendingGoal () const |
| |
| bool | isActive () const |
| |
| bool | isPending () const |
| |
| bool | isPreempting () const |
| |
| bool | publishFeedback (const Feedback &feedpack) |
| | Publish feedback on active goal. Publish feedback on active goal, do nothing if there is no active goal. More...
|
| |
| bool | ready () |
| |
| bool | rejectPending (const Result &result, const std::string &msg="") |
| | Reject pending goal. Reject pending goal with result, do nothing if there is no pending goal. More...
|
| |
| | RTTSimpleActionServer (boost::shared_ptr< RTT::Service > owner_service) |
| |
| void | setCancelHook (boost::function< void()> _cancelGoalHook) |
| | Setup cancel hook. More...
|
| |
| void | setGoalHook (boost::function< void(const Goal &)> _newGoalHook) |
| | Setup goal hook. More...
|
| |
| void | shutdown () |
| |
| bool | start (bool publish_feedback=false) |
| |
| bool | succeedActive (const Result &result, const std::string &msg="") |
| | Succeed active goal. Succeed active goal with given result, do nothing if there is no active goal. More...
|
| |
template<class ActionSpec>
class rtt_actionlib::RTTSimpleActionServer< ActionSpec >
Definition at line 14 of file rtt_simple_action_server.h.
template<class ActionSpec >
template<class ActionSpec >
template<class ActionSpec >
Abort active goal. Abort active goal with given result, do nothing if there is no active goal.
- Parameters
-
| result | Result of the aborted active goal. |
- Returns
- true if active goal is aborted.
Definition at line 227 of file rtt_simple_action_server.h.
template<class ActionSpec >
Accept pending goal. Accept pending goal, preempt the active goal with result if present. Do nothing if there is no pending goal.
- Parameters
-
| result | Result of the preemted active goal. |
- Returns
- true if pending goal is accepted.
Definition at line 187 of file rtt_simple_action_server.h.
template<class ActionSpec >
template<class ActionSpec >
Cancel active goal. Cancel active goal with given result, do nothing if there is no active goal.
- Parameters
-
| result | Result of the aborted active goal. |
- Returns
- true if goal is been canceled.
Definition at line 239 of file rtt_simple_action_server.h.
template<class ActionSpec >
template<class ActionSpec >
template<class ActionSpec >
template<class ActionSpec >
template<class ActionSpec >
template<class ActionSpec >
template<class ActionSpec >
template<class ActionSpec >
Publish feedback on active goal. Publish feedback on active goal, do nothing if there is no active goal.
- Parameters
-
- Returns
- true if active goal is present.
Definition at line 220 of file rtt_simple_action_server.h.
template<class ActionSpec >
template<class ActionSpec >
Reject pending goal. Reject pending goal with result, do nothing if there is no pending goal.
- Parameters
-
| result | Result of the rejected pending goal. |
- Returns
- true if pending goal is rejected..
Definition at line 208 of file rtt_simple_action_server.h.
template<class ActionSpec >
Setup cancel hook.
- Parameters
-
| cancelGoalHook | A function, being called when active goal is canceled. |
Definition at line 172 of file rtt_simple_action_server.h.
template<class ActionSpec >
template<class ActionSpec >
template<class ActionSpec >
Start action server in given TskContext.
- Parameters
-
| publish_feedback | if true publish feedback periodically |
Definition at line 177 of file rtt_simple_action_server.h.
template<class ActionSpec >
Succeed active goal. Succeed active goal with given result, do nothing if there is no active goal.
- Parameters
-
| result | Result of the succeed active goal. |
- Returns
- true if active goal is succeed.
Definition at line 251 of file rtt_simple_action_server.h.
template<class ActionSpec >
template<class ActionSpec >
template<class ActionSpec >
template<class ActionSpec >
template<class ActionSpec >
The documentation for this class was generated from the following file: