Generic hardware access library
/home/cschwick/hal/generic/classtester/include/VME64xDeviceTester.hh
Go to the documentation of this file.
00001 #ifndef __VME64xDeviceTester
00002 #define __VME64xDeviceTester
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 "VME64xDevice.hh"
00012 #include "IllegalValueException.hh"
00013 #include "NoSuchFileException.hh"
00014 #include "XMLProcessingException.hh"
00015 #include "ConfigCSRDumper.hh"
00016 #include "ConfigROMDumper.hh"
00017 
00018 using std::string;
00019 using std::cout;
00020 
00021 
00022 namespace HAL {
00023 
00024 class VME64xDeviceTester:public HAL::TesterInterface {
00025 public:
00026   VME64xDeviceTester( string configSpaceDefinitionFile,
00027                       string moduleMapperFile,
00028                       string addressTableContainerFile )
00029     throw( IllegalValueException,
00030            NoSuchFileException,
00031            XMLProcessingException,
00032            HardwareAccessException);
00033   virtual ~VME64xDeviceTester() {};
00034   bool execute();
00035   string getName()const;
00036   string getDescription()const;
00037 private:
00038   VME64xDummyBusAdapter busAdapter_;
00039   ASCIIFileModuleMapper moduleMapper_;
00040   ASCIIFileAddressTableContainer addressTableContainer_;
00041   VME64xCrate crate_;
00042 };
00043 
00044 } /* namespace HAL */
00045 
00046 #endif /* __VME64xDeviceTester */
00047