ApproachDoor.h
Go to the documentation of this file.
00001 #ifndef bwi_actexec_ApproachDoor_h__guard
00002 #define bwi_actexec_ApproachDoor_h__guard
00003 
00004 #include "LogicalNavigation.h"
00005 
00006 namespace bwi_krexec {
00007 
00008   
00009 class ApproachDoor : public LogicalNavigation {
00010 public:  
00011   explicit ApproachDoor(const std::string& doorName);
00012   
00013   void run();
00014   
00015   bool hasFailed() const {return failed;}
00016   
00017   Action *cloneAndInit(const actasp::AspFluent & fluent) const {
00018     return new ApproachDoor(fluent.getParameters().at(0));
00019   }
00020   
00021   virtual Action *clone() const {return new ApproachDoor(*this);}
00022     
00023 private:
00024   bool failed;
00025 
00026 };  
00027 }
00028 
00029 #endif


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