Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

/home/pauldt/projects/IDEA/IDEA-ALL/IDEA-DEV/Core/ReactivePlanner/Includes/ReactivePlanner.hh

Go to the documentation of this file.
00001 // -*- Mode: C++ -*-
00002 //      CVS: $Id: ReactivePlanner.hh,v 1.10 2005/12/30 22:15:40 rijsman Exp $
00003 //      Tag: $name$
00004 //     Info: $CVSROOT/IDEA-DEV/COPYRIGHT
00005 
00006 #ifndef REACTIVE_PLANNER_HEADER_
00007 #define REACTIVE_PLANNER_HEADER_
00008 
00009 #include "StatusTypes.hh"
00010 #include "HorizonSettings.hh"
00011 #include "TimeBasics.hh"
00012 
00013 #include <string>
00014 
00015 namespace IDEA
00016 {
00017   class ReactivePlannerImpl;
00018   class PslDatabase;
00019 
00025   class ReactivePlanner
00026   {
00027     friend class AgentRelay;
00028   public:
00032     ReactivePlanner( ReactivePlannerImpl* impl );
00036     ~ReactivePlanner();
00040     ReactivePlannerImpl* getImpl() const;
00044     int getAuthority() const;
00048     void enableGoalFlags() const;
00052     void addRevocableAuthority( int authority ) const;
00056     StatusType startReacting( const Time& time  ) const;
00060     void stopReacting() const;
00064     const std::string& getName() const;
00068     void setFreeGoalTokens() const;
00073     void setForgettingThePast( bool value ) const;
00074   private:
00075     ReactivePlanner();
00079     bool isActive();
00083     bool activate();
00087     ReactivePlannerImpl* m_Impl;
00088   };
00089 }
00090 
00091 #endif // REACTIVE_PLANNER_HEADER_

Contact information
© IDEA
Generated on Fri Feb 3 17:09:41 2006 for IDEA.