Generic hardware access library
|
00001 #ifndef __VME64xDummyBusAdapterTester 00002 #define __VME64xDummyBusAdapterTester 00003 00004 #include "TesterInterface.hh" 00005 #include <string> 00006 #include <iostream> 00007 #include "VME64xDummyBusAdapter.hh" 00008 #include "ASCIIFileAddressTableContainer.hh" 00009 #include "ASCIIFileModuleMapper.hh" 00010 #include "VME64xCrate.hh" 00011 #include "IllegalValueException.hh" 00012 #include "NoSuchFileException.hh" 00013 #include "XMLProcessingException.hh" 00014 #include "ConfigCSRDumper.hh" 00015 00016 using std::string; 00017 using std::cout; 00018 00019 00020 namespace HAL { 00021 00022 class VME64xDummyBusAdapterTester:public HAL::TesterInterface { 00023 public: 00024 VME64xDummyBusAdapterTester( string configSpaceDefinitionFile, 00025 string moduleMapperFile, 00026 string addressTableContainerFile ) 00027 throw( IllegalValueException, 00028 NoSuchFileException, 00029 XMLProcessingException, 00030 HardwareAccessException); 00031 virtual ~VME64xDummyBusAdapterTester() {}; 00032 bool execute(); 00033 string getName()const; 00034 string getDescription()const; 00035 private: 00036 VME64xDummyBusAdapter busAdapter_; 00037 ASCIIFileModuleMapper moduleMapper_; 00038 ASCIIFileAddressTableContainer addressTableContainer_; 00039 }; 00040 00041 } /* namespace HAL */ 00042 00043 #endif /* __VME64xDummyBusAdapterTester */ 00044