BcPOC
SF-HRP ASM implementation
D:/bcatch/bcpoc_src/bcpoc/src/sfhrp/SFHRP/term_phase.hpp
Go to the documentation of this file.
00001 #ifndef TERM_PHASE
00002 #define TERM_PHASE
00003 
00004 #include <string>
00005 
00006 #include "i_engine_descriptor.hpp"
00007 
00008 class TermPhase {
00009 public:
00010         //ctor
00011         TermPhase( IEngineDescriptor*, std::string &, std::string &);
00012 
00013         //dtor
00014         //~TermPhase();
00015 
00016         //execute one engine cycle
00017         int GetAction();
00018 
00019         //has termination
00020         bool Ended();
00021 
00022         //set success / fail case termination
00023         void SetCase( bool);
00024 
00025 protected:
00026 
00027         bool m_ended;
00028 
00029         bool m_sf; //success / fail case termination
00030 
00031         int m_fail;
00032         int m_succ;
00033 
00034 };
00035 
00036 #endif
00037