Generic hardware access library
|
00001 #ifndef __ModuleMapperInterface 00002 #define __ModuleMapperInterface 00003 00004 #include <stdint.h> 00005 #include <string> 00006 00007 #include "hal/IllegalValueException.hh" 00008 #include <sstream> 00009 #include "hal/ModuleMapperInterface.hh" 00010 00011 namespace HAL { 00012 00027 class ModuleMapperInterface { 00028 00029 public: 00030 00031 virtual ~ModuleMapperInterface() {}; 00032 00037 virtual std::string getTypeId( std::string serialNumber ) 00038 throw( IllegalValueException ) = 0; 00039 00043 virtual uint32_t getBaseaddress( std::string serialNumber ) 00044 throw( IllegalValueException ) = 0; 00045 00046 }; 00047 00048 } /* namespace HAL */ 00049 00050 #endif /* __ModuleMapperInterface */