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