00001 #ifndef FULLBYPASSALGORITHM_H 00002 #define FULLBYPASSALGORITHM_H 00003 00004 #include "AnalysisAlgorithm.h" 00005 00006 namespace SctAnalysis { 00010 class FullBypassAlgorithm : public AnalysisAlgorithm { 00011 public: 00015 virtual void canAddRawScanResult(const string& name) throw(Sct::LogicError, Sct::IoError); 00019 virtual boost::shared_ptr<AnalysisAlgorithm> clone(const TestData& testData, const string& moduleName) const throw(); 00023 FullBypassAlgorithm(const TestData& testData, const string& moduleName) throw() : AnalysisAlgorithm(testData, moduleName) {} 00027 virtual ~FullBypassAlgorithm() throw() {} 00028 00032 static void setVddNom(float value) {s_vddNominal=value;} 00036 static float getVddNom() {return s_vddNominal;} 00037 private: 00038 FullBypassAlgorithm(); 00039 static bool inMap; 00040 static unsigned getConf(const unsigned int conf); 00041 00043 static unsigned getConfNo(const unsigned token); 00044 static unsigned sumFib(const unsigned int n); 00046 static float s_vddNominal; 00047 }; 00048 } 00049 00050 #endif //FULLBYPASSALGORITHM_H