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