Generic hardware access library
|
00001 #ifndef __ConfigROMDumper_ 00002 #define __ConfigROMDumper_ 00003 00004 #include <vector> 00005 #include <string> 00006 00007 #include "hal/VMEConfigurationSpaceHandler.hh" 00008 00009 namespace HAL { 00010 00011 class ConfigROMDumper { 00012 public: 00013 ConfigROMDumper(); 00014 void dumpROM (const VMEConfigurationSpaceHandler&, 00015 const uint32_t slotId ); 00016 private: 00017 void displayItem( const std::vector<unsigned char>rom, 00018 const uint32_t length, 00019 const uint32_t address, 00020 const std::string key, 00021 const std::string description ); 00022 00023 }; 00024 00025 } /* namespace HAL */ 00026 00027 #endif