#include <RLActionExecutor.h>

Public Member Functions | |
| void | addExecutionObserver (ExecutionObserver *observer) throw () |
| void | executeActionStep () |
| bool | failed () const throw () |
| bool | goalReached () const throw () |
| void | removeExecutionObserver (ExecutionObserver *observer) throw () |
| RLActionExecutor (AspKR *kr, ActionSelector *selector, const std::map< std::string, Action * > &actionMap) | |
| void | setGoal (const std::vector< actasp::AspRule > &goalRules) throw () |
| ~RLActionExecutor () | |
Private Attributes | |
| unsigned int | actionCounter |
| std::map< std::string, Action * > | actionMap |
| Action * | active |
| std::list< ExecutionObserver * > | executionObservers |
| std::vector< actasp::AspRule > | goalRules |
| bool | isGoalReached |
| AspKR * | kr |
| bool | newAction |
| ActionSelector * | selector |
Definition at line 20 of file RLActionExecutor.h.
| actasp::RLActionExecutor::RLActionExecutor | ( | AspKR * | kr, |
| ActionSelector * | selector, | ||
| const std::map< std::string, Action * > & | actionMap | ||
| ) |
Definition at line 17 of file RLActionExecutor.cpp.
Definition at line 33 of file RLActionExecutor.cpp.
| void actasp::RLActionExecutor::addExecutionObserver | ( | ExecutionObserver * | observer | ) | throw () [virtual] |
Implements actasp::ActionExecutor.
Definition at line 110 of file RLActionExecutor.cpp.
| void actasp::RLActionExecutor::executeActionStep | ( | ) | [virtual] |
Implements actasp::ActionExecutor.
Definition at line 70 of file RLActionExecutor.cpp.
| bool actasp::RLActionExecutor::failed | ( | ) | const throw () [virtual] |
Implements actasp::ActionExecutor.
Definition at line 56 of file RLActionExecutor.cpp.
| bool actasp::RLActionExecutor::goalReached | ( | ) | const throw () [virtual] |
Implements actasp::ActionExecutor.
Definition at line 52 of file RLActionExecutor.cpp.
| void actasp::RLActionExecutor::removeExecutionObserver | ( | ExecutionObserver * | observer | ) | throw () [virtual] |
Implements actasp::ActionExecutor.
Definition at line 114 of file RLActionExecutor.cpp.
| void actasp::RLActionExecutor::setGoal | ( | const std::vector< actasp::AspRule > & | goalRules | ) | throw () [virtual] |
Implements actasp::ActionExecutor.
Definition at line 39 of file RLActionExecutor.cpp.
unsigned int actasp::RLActionExecutor::actionCounter [private] |
Definition at line 42 of file RLActionExecutor.h.
std::map<std::string, Action * > actasp::RLActionExecutor::actionMap [private] |
Definition at line 52 of file RLActionExecutor.h.
Action* actasp::RLActionExecutor::active [private] |
Definition at line 44 of file RLActionExecutor.h.
std::list<ExecutionObserver*> actasp::RLActionExecutor::executionObservers [private] |
Definition at line 55 of file RLActionExecutor.h.
std::vector<actasp::AspRule> actasp::RLActionExecutor::goalRules [private] |
Definition at line 48 of file RLActionExecutor.h.
bool actasp::RLActionExecutor::isGoalReached [private] |
Definition at line 41 of file RLActionExecutor.h.
AspKR* actasp::RLActionExecutor::kr [private] |
Definition at line 47 of file RLActionExecutor.h.
bool actasp::RLActionExecutor::newAction [private] |
Definition at line 43 of file RLActionExecutor.h.
ActionSelector* actasp::RLActionExecutor::selector [private] |
Definition at line 51 of file RLActionExecutor.h.