00001 /* @version $Revision: 1328 $ * @modifiedby $Author: jacquem $ * @lastmodified $Date: 2011-10-03 17:04:17 +0200 (Mon, 03 Oct 2011) $ */ 00002 #ifndef PMSLOWCONTROL_HH 00003 #define PMSLOWCONTROL_HH 00004 00005 #include "PMParams_t.hh" 00006 #include "mTypes.h" 00007 00008 00009 class PMSlowControl { 00010 friend class SlowControl; 00011 public: 00012 std::string name; 00013 ui32 id; 00014 PMParams_t params; 00015 public: 00016 PMSlowControl(const std::string aName, const ui32 aId) 00017 : name(aName), id(aId) { }; 00018 void setParams(const PMParams_t& aVoltages) { params = aVoltages; }; 00019 const PMParams_t& getParams() const { return params; } ; 00020 }; 00021 00022 #endif