Public Member Functions | Private Member Functions | Private Attributes
actasp::ReplanningActionExecutor Class Reference

#include <ReplanningActionExecutor.h>

Inheritance diagram for actasp::ReplanningActionExecutor:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void addExecutionObserver (ExecutionObserver *observer) throw ()
void addPlanningObserver (PlanningObserver *observer) throw ()
void executeActionStep ()
bool failed () const throw ()
bool goalReached () const throw ()
void removeExecutionObserver (ExecutionObserver *observer) throw ()
void removePlanningObserver (PlanningObserver *observer) throw ()
 ReplanningActionExecutor (actasp::AspKR *reasoner, actasp::Planner *planner, const std::map< std::string, Action * > &actionMap) throw (std::invalid_argument)
void setGoal (const std::vector< actasp::AspRule > &goalRules) throw ()
 ~ReplanningActionExecutor ()

Private Member Functions

void computePlan ()

Private Attributes

unsigned int actionCounter
std::map< std::string, Action * > actionMap
std::list< ExecutionObserver * > executionObservers
std::vector< actasp::AspRulegoalRules
bool hasFailed
bool isGoalReached
AspKRkr
bool newAction
std::list< Action * > plan
Plannerplanner
std::list< PlanningObserver * > planningObservers

Detailed Description

Definition at line 18 of file ReplanningActionExecutor.h.


Constructor & Destructor Documentation

actasp::ReplanningActionExecutor::ReplanningActionExecutor ( actasp::AspKR reasoner,
actasp::Planner planner,
const std::map< std::string, Action * > &  actionMap 
) throw (std::invalid_argument)

Definition at line 22 of file ReplanningActionExecutor.cpp.

Definition at line 45 of file ReplanningActionExecutor.cpp.


Member Function Documentation

Implements actasp::ActionExecutor.

Definition at line 127 of file ReplanningActionExecutor.cpp.

Definition at line 135 of file ReplanningActionExecutor.cpp.

Definition at line 61 of file ReplanningActionExecutor.cpp.

Implements actasp::ActionExecutor.

Definition at line 85 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.

Implements actasp::ActionExecutor.

Definition at line 131 of file ReplanningActionExecutor.cpp.

Definition at line 139 of file ReplanningActionExecutor.cpp.

void actasp::ReplanningActionExecutor::setGoal ( const std::vector< actasp::AspRule > &  goalRules) throw () [virtual]

Implements actasp::ActionExecutor.

Definition at line 76 of file ReplanningActionExecutor.cpp.


Member Data Documentation

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.

Definition at line 62 of file ReplanningActionExecutor.h.

Definition at line 50 of file ReplanningActionExecutor.h.

Definition at line 52 of file ReplanningActionExecutor.h.

Definition at line 51 of file ReplanningActionExecutor.h.

Definition at line 59 of file ReplanningActionExecutor.h.

Definition at line 57 of file ReplanningActionExecutor.h.

Definition at line 55 of file ReplanningActionExecutor.h.

Definition at line 60 of file ReplanningActionExecutor.h.

Definition at line 63 of file ReplanningActionExecutor.h.


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


bwi_kr_execution
Author(s): Matteo Leonetti, Piyush Khandelwal
autogenerated on Fri Aug 28 2015 10:14:46