Library of Bus-Adapters
/home/cschwick/hal/busAdapter/pci/src/common/PCILinuxDeviceIdentifier.cc
Go to the documentation of this file.
00001 #include "hal/PCILinuxDeviceIdentifier.hh"
00002 
00003 
00004 HAL::PCILinuxDeviceIdentifier::PCILinuxDeviceIdentifier( xpci::Address deviceAddress,
00005                                                   bool swapFlag )
00006   : deviceConfigAddress(deviceAddress),
00007     swapFlag(swapFlag) { 
00008 }
00009 
00010 HAL::PCILinuxDeviceIdentifier::~PCILinuxDeviceIdentifier( ) {
00011 }
00012 
00013 bool HAL::PCILinuxDeviceIdentifier::doSwap() const {
00014   return swapFlag;
00015 }
00016 
00017 uint32_t  HAL::PCILinuxDeviceIdentifier::getPCIBusAddress( uint32_t iBar ) const
00018   throw (BusAdapterException) {
00019   return 0;
00020 
00021 }
00022 
00023 xpci::Address HAL::PCILinuxDeviceIdentifier::getConfigAddress() {
00024   return deviceConfigAddress;
00025 }
00026 
00027 std::string HAL::PCILinuxDeviceIdentifier::printString() const {
00028   return "nothing to print in HAL::PCILinuxDeviceIdentifier::printString()";
00029 }