#include <Action.h>
Public Member Functions | |
virtual Action * | clone () const =0 |
virtual Action * | cloneAndInit (const actasp::AspFluent &fluent) const =0 |
virtual std::string | getName () const =0 |
virtual bool | hasFailed () const |
virtual bool | hasFinished () const =0 |
bool | operator< (const Action *other) const |
bool | operator== (const Action *other) const |
virtual int | paramNumber () const =0 |
virtual void | run ()=0 |
std::string | toASP (unsigned int timeStep) const |
AspFluent | toFluent (unsigned int timeStep) const |
virtual | ~Action () |
Private Member Functions | |
virtual std::vector< std::string > | getParameters () const =0 |
virtual actasp::Action::~Action | ( | ) | [inline, virtual] |
virtual Action* actasp::Action::clone | ( | ) | const [pure virtual] |
Implemented in SimpleAction, bwi_krexec::CallGUI, bwi_krexec::AskPerson, bwi_krexec::OpenDoor, bwi_krexec::SearchRoom, bwi_krexec::LogicalNavigation, bwi_krexec::Remind, bwi_krexec::CallElevator, bwi_krexec::ChangeFloor, bwi_krexec::OpenSimulatedDoor, bwi_krexec::ApproachDoor, and bwi_krexec::GoThrough.
virtual Action* actasp::Action::cloneAndInit | ( | const actasp::AspFluent & | fluent | ) | const [pure virtual] |
Implemented in bwi_krexec::CallGUI, SimpleAction, bwi_krexec::AskPerson, bwi_krexec::OpenDoor, bwi_krexec::SearchRoom, bwi_krexec::LogicalNavigation, bwi_krexec::Remind, bwi_krexec::CallElevator, bwi_krexec::ChangeFloor, bwi_krexec::OpenSimulatedDoor, bwi_krexec::ApproachDoor, and bwi_krexec::GoThrough.
virtual std::string actasp::Action::getName | ( | ) | const [pure virtual] |
virtual std::vector<std::string> actasp::Action::getParameters | ( | ) | const [private, pure virtual] |
virtual bool actasp::Action::hasFailed | ( | ) | const [inline, virtual] |
Reimplemented in bwi_krexec::OpenDoor, bwi_krexec::CallElevator, bwi_krexec::ChangeFloor, bwi_krexec::ApproachDoor, and bwi_krexec::GoThrough.
virtual bool actasp::Action::hasFinished | ( | ) | const [pure virtual] |
bool actasp::Action::operator< | ( | const Action * | other | ) | const [inline] |
bool actasp::Action::operator== | ( | const Action * | other | ) | const [inline] |
virtual int actasp::Action::paramNumber | ( | ) | const [pure virtual] |
virtual void actasp::Action::run | ( | ) | [pure virtual] |
Implemented in bwi_krexec::CallGUI, SimpleAction, bwi_krexec::AskPerson, bwi_krexec::SearchRoom, bwi_krexec::LogicalNavigation, bwi_krexec::Remind, bwi_krexec::OpenDoor, bwi_krexec::CallElevator, bwi_krexec::ChangeFloor, bwi_krexec::OpenSimulatedDoor, bwi_krexec::ApproachDoor, and bwi_krexec::GoThrough.
std::string actasp::Action::toASP | ( | unsigned int | timeStep | ) | const |
Definition at line 10 of file Action.cpp.
AspFluent actasp::Action::toFluent | ( | unsigned int | timeStep | ) | const |
Definition at line 25 of file Action.cpp.