Generic hardware access library
/home/cschwick/hal/generic/src/common/VMEAddressTableDynamicReader.cc
Go to the documentation of this file.
00001 #include "hal/VMEAddressTableDynamicReader.hh"
00002 #include "hal/VMEHardwareAddress.hh"
00003 
00004 void HAL::VMEAddressTableDynamicReader::createItem( std::string key, 
00005                                                     uint32_t width,
00006                                                     uint32_t address, 
00007                                                     uint32_t addressModifier,
00008                                                     uint32_t mask,
00009                                                     uint32_t isReadable, 
00010                                                     uint32_t isWritable, 
00011                                                     std::string description) {
00012   
00013   HAL::VMEHardwareAddress* addressPointer = new HAL::VMEHardwareAddress(address,addressModifier,width);
00014   HAL::AddressTableItem* itemPointer = new HAL::AddressTableItem(key, description, *addressPointer,
00015                                                                  mask, isWritable, isReadable);  
00016   itemPointerList.push_back( itemPointer );
00017 }