#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::SearchRoom, bwi_krexec::AskPerson, bwi_krexec::OpenDoor, bwi_krexec::SimulatedChangeFloor, bwi_krexec::LogicalNavigation, bwi_krexec::Remind, bwi_krexec::CallElevator, bwi_krexec::ChangeFloor, bwi_krexec::CallSimulatedElevator, bwi_krexec::OpenSimulatedDoor, bwi_krexec::ApproachDoor, bwi_krexec::GoThrough, and bwi_krexec::GotoObject.
virtual Action* actasp::Action::cloneAndInit | ( | const actasp::AspFluent & | fluent | ) | const [pure virtual] |
Implemented in bwi_krexec::CallGUI, SimpleAction, bwi_krexec::SearchRoom, bwi_krexec::AskPerson, bwi_krexec::OpenDoor, bwi_krexec::SimulatedChangeFloor, bwi_krexec::LogicalNavigation, bwi_krexec::Remind, bwi_krexec::CallElevator, bwi_krexec::ChangeFloor, bwi_krexec::CallSimulatedElevator, bwi_krexec::OpenSimulatedDoor, bwi_krexec::ApproachDoor, bwi_krexec::GoThrough, and bwi_krexec::GotoObject.
virtual std::string actasp::Action::getName | ( | ) | const [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::SimulatedChangeFloor, bwi_krexec::CallElevator, bwi_krexec::ChangeFloor, bwi_krexec::OpenSimulatedDoor, and bwi_krexec::CallSimulatedElevator.
virtual std::vector<std::string> actasp::Action::getParameters | ( | ) | const [private, pure virtual] |
Implemented in SimpleAction, bwi_krexec::CallGUI, bwi_krexec::SearchRoom, bwi_krexec::LogicalNavigation, bwi_krexec::AskPerson, bwi_krexec::OpenDoor, bwi_krexec::SimulatedChangeFloor, bwi_krexec::Remind, bwi_krexec::CallElevator, bwi_krexec::ChangeFloor, bwi_krexec::CallSimulatedElevator, and bwi_krexec::OpenSimulatedDoor.
virtual bool actasp::Action::hasFailed | ( | ) | const [inline, virtual] |
virtual bool actasp::Action::hasFinished | ( | ) | const [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::SimulatedChangeFloor, bwi_krexec::CallElevator, bwi_krexec::ChangeFloor, bwi_krexec::OpenSimulatedDoor, and bwi_krexec::CallSimulatedElevator.
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] |
Implemented in bwi_krexec::CallGUI, SimpleAction, bwi_krexec::AskPerson, bwi_krexec::SearchRoom, bwi_krexec::LogicalNavigation, bwi_krexec::Remind, bwi_krexec::OpenDoor, bwi_krexec::SimulatedChangeFloor, bwi_krexec::CallElevator, bwi_krexec::ChangeFloor, bwi_krexec::OpenSimulatedDoor, and bwi_krexec::CallSimulatedElevator.
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::SimulatedChangeFloor, bwi_krexec::CallElevator, bwi_krexec::ChangeFloor, bwi_krexec::OpenSimulatedDoor, bwi_krexec::CallSimulatedElevator, bwi_krexec::ApproachDoor, bwi_krexec::GoThrough, and bwi_krexec::GotoObject.
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.