Generic hardware access library
/home/cschwick/hal/generic/include/hal/StaticVMEItem.hh
Go to the documentation of this file.
00001 #ifndef __StaticVMEItem
00002 #define __StaticVMEItem
00003 
00004 #include <stdint.h>
00005 #include <string>
00006 
00007 #include "VMEConstants.h"
00008 #include "hal/IllegalValueException.hh"
00009 
00010 namespace HAL {
00011 
00012 class StaticVMEItem {
00013 public:
00014   StaticVMEItem( std::string serialNumber,
00015                  uint32_t slotId_ )
00016     throw( IllegalValueException );
00017   std::string getSerialNumber() const;
00018   uint32_t getSlotId() const;
00019 private:
00020   std::string serialNumber_;
00021   uint32_t slotId_;
00022 };
00023 
00024 } /* namespace HAL */
00025 
00026 #endif /* __StaticVMEItem */