Generic hardware access library
HAL::ModuleMapperInterface Class Reference

An interface to retrieve information on a module with a given serial number. More...

#include <ModuleMapperInterface.hh>

Inheritance diagram for HAL::ModuleMapperInterface:
HAL::ASCIIFileModuleMapper

List of all members.

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.

Detailed Description

An interface to retrieve information on a module with a given serial number.

See also:
Author:
Christoph Schwick
Revision:
1.3
Date:
2009/04/29 10:23:07

Definition at line 27 of file ModuleMapperInterface.hh.


Constructor & Destructor Documentation

Definition at line 31 of file ModuleMapperInterface.hh.


Member Function Documentation

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.


The documentation for this class was generated from the following file: