00001 #ifndef NULLVARIABLE_H
00002 #define NULLVARIABLE_H
00003
00004 #include "ConfigurationVariable.h"
00005
00006 namespace SctData {
00007
00008
00013 class NullVariable : public ConfigurationVariable {
00014 public:
00015 static const NullVariable& instance() throw();
00016
00017
00018 virtual double getLinkActualPoint(double logicalPt, const ModuleConfiguration& config, unsigned int link) const throw();
00019 virtual double getChipActualPoint(double logicalPt, const ModuleConfiguration& config, unsigned int chip) const throw();
00020 virtual double getChannelActualPoint(double logicalPt, const ModuleConfiguration& config, unsigned int channel) const throw();
00021
00022 virtual double getLinkLogicalPoint(double actualPt, const ModuleConfiguration& config, unsigned int link) const throw();
00023 virtual double getChipLogicalPoint(double actualPt, const ModuleConfiguration& config, unsigned int chip) const throw();
00024 virtual double getChannelLogicalPoint(double actualPt, const ModuleConfiguration& config, unsigned int channel) const throw();
00025
00026 virtual double getChipActualPoint(const ModuleConfiguration& config, unsigned int chip) const throw();
00027 virtual void setChipActualPoint(double actualPt, ModuleConfiguration& config, unsigned int chip) const throw();
00028
00029
00030 private:
00031 NullVariable();
00032 static const NullVariable& nv;
00033 };
00034
00035
00036 }
00037
00038 #endif //#ifndef NULLVARIABLE_H