BcPOC
SF-HRP ASM implementation
D:/bcatch/bcpoc_src/bcpoc/src/sfhrp/SFHRP/condition.hpp
Go to the documentation of this file.
00001 #ifndef _CONDITION_
00002 #define _CONDITION_
00003 
00004 #include <string>
00005 
00006 #include "condition_nodes.hpp"
00007 #include "i_releaseable.hpp"
00008 
00009 //TODO debug
00010 #include "sf_hrp_plan.hpp"
00011 
00012 class CCondition : public CNodeBase {
00013 public:
00014 
00015         CCondition(CNodeBase*, std::string & name);
00016         ~CCondition();
00017 
00021         virtual void Reevaluate();
00022 
00026         void SetReleaseable( IReleaseable*);
00027 
00028 private:
00029 
00033         CNodeBase*              m_root;
00034 
00038         IReleaseable*   m_releaseable;
00039 
00043         std::string m_name;
00044 };
00045 
00046 #endif
00047