00001 #ifndef FULLBYPASSALGORITHM_H 00002 #define FULLBYPASSALGORITHM_H 00003 00004 #include "AnalysisAlgorithm.h" 00005 00006 namespace SctAnalysis { 00010 class FullBypassAlgorithm : public AnalysisAlgorithm { 00011 public: 00012 virtual void analyze(); 00013 virtual void loadData(); 00014 virtual bool canAnalyze() const; 00015 virtual shared_ptr<SctData::TestResult> createTestResult() const; 00016 virtual boost::shared_ptr<AnalysisAlgorithm> clone(shared_ptr<const TestData> testData, const string& moduleName) const throw(); 00020 FullBypassAlgorithm(shared_ptr<const TestData> testData, const string& moduleName, const AnalysisAlgorithm& alg) throw() : AnalysisAlgorithm(testData, moduleName, alg) {} 00024 virtual ~FullBypassAlgorithm() throw() {} 00025 00029 static void setVddNom(float value) {s_vddNominal=value;} 00033 static float getVddNom() {return s_vddNominal;} 00034 private: 00035 FullBypassAlgorithm(); 00036 static bool inMap; 00037 static unsigned getConf(const unsigned int conf); 00038 00040 static unsigned getConfNo(const unsigned token); 00041 static unsigned sumFib(const unsigned int n); 00043 static float s_vddNominal; 00044 }; 00045 } 00046 00047 #endif //FULLBYPASSALGORITHM_H