Generic hardware access library
|
An interface to retrieve information on a module with a given serial number. More...
#include <ModuleMapperInterface.hh>
Public Member Functions | |
virtual | ~ModuleMapperInterface () |
virtual std::string | getTypeId (std::string serialNumber)=0 throw ( IllegalValueException ) |
This function maps the serialNumber to the TypeID. | |
virtual uint32_t | getBaseaddress (std::string serialNumber)=0 throw ( IllegalValueException ) |
Retrieve the baseAddress for a standard VME module. |
An interface to retrieve information on a module with a given serial number.
Definition at line 27 of file ModuleMapperInterface.hh.
virtual HAL::ModuleMapperInterface::~ModuleMapperInterface | ( | ) | [inline, virtual] |
Definition at line 31 of file ModuleMapperInterface.hh.
virtual uint32_t HAL::ModuleMapperInterface::getBaseaddress | ( | std::string | serialNumber | ) | throw ( IllegalValueException ) [pure virtual] |
Retrieve the baseAddress for a standard VME module.
Implemented in HAL::ASCIIFileModuleMapper.
virtual std::string HAL::ModuleMapperInterface::getTypeId | ( | std::string | serialNumber | ) | throw ( IllegalValueException ) [pure virtual] |
This function maps the serialNumber to the TypeID.
If the mapping is unsuccessfull an exception is thrown.
Implemented in HAL::ASCIIFileModuleMapper.