#include <ReplanningActionExecutor.h>
Definition at line 18 of file ReplanningActionExecutor.h.
actasp::ReplanningActionExecutor::ReplanningActionExecutor | ( | actasp::AspKR * | reasoner, |
actasp::Planner * | planner, | ||
const std::map< std::string, Action * > & | actionMap | ||
) | throw (std::invalid_argument) |
Definition at line 23 of file ReplanningActionExecutor.cpp.
Definition at line 46 of file ReplanningActionExecutor.cpp.
void actasp::ReplanningActionExecutor::addExecutionObserver | ( | ExecutionObserver * | observer | ) | throw () [virtual] |
Implements actasp::ActionExecutor.
Definition at line 132 of file ReplanningActionExecutor.cpp.
void actasp::ReplanningActionExecutor::addPlanningObserver | ( | PlanningObserver * | observer | ) | throw () |
Definition at line 140 of file ReplanningActionExecutor.cpp.
void actasp::ReplanningActionExecutor::computePlan | ( | ) | [private] |
Definition at line 62 of file ReplanningActionExecutor.cpp.
void actasp::ReplanningActionExecutor::executeActionStep | ( | ) | [virtual] |
Implements actasp::ActionExecutor.
Definition at line 86 of file ReplanningActionExecutor.cpp.
bool actasp::ReplanningActionExecutor::failed | ( | ) | const throw () [inline, virtual] |
Implements actasp::ActionExecutor.
Definition at line 34 of file ReplanningActionExecutor.h.
bool actasp::ReplanningActionExecutor::goalReached | ( | ) | const throw () [inline, virtual] |
Implements actasp::ActionExecutor.
Definition at line 30 of file ReplanningActionExecutor.h.
void actasp::ReplanningActionExecutor::removeExecutionObserver | ( | ExecutionObserver * | observer | ) | throw () [virtual] |
Implements actasp::ActionExecutor.
Definition at line 136 of file ReplanningActionExecutor.cpp.
void actasp::ReplanningActionExecutor::removePlanningObserver | ( | PlanningObserver * | observer | ) | throw () |
Definition at line 144 of file ReplanningActionExecutor.cpp.
void actasp::ReplanningActionExecutor::setGoal | ( | const std::vector< actasp::AspRule > & | goalRules | ) | throw () [virtual] |
Implements actasp::ActionExecutor.
Definition at line 77 of file ReplanningActionExecutor.cpp.
unsigned int actasp::ReplanningActionExecutor::actionCounter [private] |
Definition at line 56 of file ReplanningActionExecutor.h.
std::map<std::string, Action * > actasp::ReplanningActionExecutor::actionMap [private] |
Definition at line 53 of file ReplanningActionExecutor.h.
std::list<ExecutionObserver*> actasp::ReplanningActionExecutor::executionObservers [private] |
Definition at line 62 of file ReplanningActionExecutor.h.
std::vector<actasp::AspRule> actasp::ReplanningActionExecutor::goalRules [private] |
Definition at line 50 of file ReplanningActionExecutor.h.
bool actasp::ReplanningActionExecutor::hasFailed [private] |
Definition at line 52 of file ReplanningActionExecutor.h.
bool actasp::ReplanningActionExecutor::isGoalReached [private] |
Definition at line 51 of file ReplanningActionExecutor.h.
AspKR* actasp::ReplanningActionExecutor::kr [private] |
Definition at line 59 of file ReplanningActionExecutor.h.
bool actasp::ReplanningActionExecutor::newAction [private] |
Definition at line 57 of file ReplanningActionExecutor.h.
std::list<Action *> actasp::ReplanningActionExecutor::plan [private] |
Definition at line 55 of file ReplanningActionExecutor.h.
Planner* actasp::ReplanningActionExecutor::planner [private] |
Definition at line 60 of file ReplanningActionExecutor.h.
std::list<PlanningObserver*> actasp::ReplanningActionExecutor::planningObservers [private] |
Definition at line 63 of file ReplanningActionExecutor.h.