Remind.h
Go to the documentation of this file.
00001 #ifndef bwi_krexec_Remind_h__guard
00002 #define bwi_krexec_Remind_h__guard
00003 
00004 #include "actasp/Action.h"
00005 
00006 #include <ros/ros.h>
00007 
00008 #include <sound_play/SoundRequest.h>
00009 
00010 #include <string>
00011 
00012 namespace bwi_krexec {
00013 
00014 class Remind : public actasp::Action{
00015 public:
00016   Remind();
00017 
00018   int paramNumber() const {return 3;}
00019   
00020   std::string getName() const {return "remind";}
00021   
00022   void run();
00023   
00024   bool hasFinished() const {return done;}
00025   
00026   actasp::Action *cloneAndInit(const actasp::AspFluent & fluent) const;
00027   
00028   virtual actasp::Action *clone() const {return new Remind(*this);}
00029   
00030 private:
00031   
00032  std::vector<std::string> getParameters() const;
00033  std::string person_to_remind;
00034  std::string meeting;
00035  std::string room;
00036  static ros::Publisher remind_pub;
00037  static bool pub_set;
00038  bool done;
00039  
00040 };
00041 
00042 }
00043  
00044 #endif
00045  


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