Public Member Functions
continual_planning_executive::ActionExecutorInterface Class Reference

An object that can execute DurativeActions from a plan. More...

#include <actionExecutorInterface.h>

Inheritance diagram for continual_planning_executive::ActionExecutorInterface:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 ActionExecutorInterface ()
virtual void cancelAction ()=0
 Stop execution of this action, if it is running.
virtual bool canExecute (const DurativeAction &a, const SymbolicState &currentState) const =0
 An action executor should return true, if it can execute the action.
virtual bool executeBlocking (const DurativeAction &a, SymbolicState &currentState)=0
 Execute the action and return upon execution.
virtual void initialize (const std::deque< std::string > &arguments)
 Initialize the action from a list of arguments - should be called after creating the interface.
virtual ~ActionExecutorInterface ()

Detailed Description

An object that can execute DurativeActions from a plan.

Definition at line 15 of file actionExecutorInterface.h.


Constructor & Destructor Documentation

Definition at line 18 of file actionExecutorInterface.h.

Definition at line 19 of file actionExecutorInterface.h.


Member Function Documentation

Stop execution of this action, if it is running.

Implemented in ActionExecutorActionlib< Action, ActionGoal, ActionResult >, and ActionExecutorService< Service >.

virtual bool continual_planning_executive::ActionExecutorInterface::canExecute ( const DurativeAction a,
const SymbolicState currentState 
) const [pure virtual]

An action executor should return true, if it can execute the action.

Parameters:
[in]athe action the be exectued
[in]currentStatethe current state

Implemented in ActionExecutorActionlib< Action, ActionGoal, ActionResult >, and ActionExecutorService< Service >.

virtual bool continual_planning_executive::ActionExecutorInterface::executeBlocking ( const DurativeAction a,
SymbolicState currentState 
) [pure virtual]

Execute the action and return upon execution.

Parameters:
[in,out]currentStatethe current state, possibly updated by the action.
Returns:
true, if the action was executed successfully.

Implemented in ActionExecutorActionlib< Action, ActionGoal, ActionResult >, and ActionExecutorService< Service >.

virtual void continual_planning_executive::ActionExecutorInterface::initialize ( const std::deque< std::string > &  arguments) [inline, virtual]

Initialize the action from a list of arguments - should be called after creating the interface.

Reimplemented in ActionExecutorActionlib< Action, ActionGoal, ActionResult >, and ActionExecutorService< Service >.

Definition at line 22 of file actionExecutorInterface.h.


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


continual_planning_executive
Author(s): Christian Dornhege
autogenerated on Mon Oct 6 2014 07:51:56