Library of Bus-Adapters
HAL::PCIDummyDeviceIdentifier Class Reference

#include <PCIDummyDeviceIdentifier.hh>

List of all members.

Public Member Functions

 PCIDummyDeviceIdentifier (uint32_t deviceNumber, std::vector< char * > &memorySpacePtr, char *configSpacePtr, std::vector< uint32_t > baseaddresses, std::vector< uint32_t > mapsizes, bool swapFlag=false)
 ~PCIDummyDeviceIdentifier ()
std::string printString () const
char * getConfigSpacePtr () const
char * remap (uint32_t address) const throw ( BusAdapterException )
bool doSwap () const
uint32_t getPCIBusAddress (uint32_t bar) const throw ()

Private Attributes

uint32_t deviceNumber
std::vector< char * > memorySpacePtr_
char * configSpacePtr_
std::vector< uint32_t > baseaddresses_
std::vector< uint32_t > mapsizes_
bool swapFlag_

Detailed Description

Definition at line 11 of file PCIDummyDeviceIdentifier.hh.


Constructor & Destructor Documentation

HAL::PCIDummyDeviceIdentifier::PCIDummyDeviceIdentifier ( uint32_t  deviceNumber,
std::vector< char * > &  memorySpacePtr,
char *  configSpacePtr,
std::vector< uint32_t >  baseaddresses,
std::vector< uint32_t >  mapsizes,
bool  swapFlag = false 
)

Definition at line 4 of file PCIDummyDeviceIdentifier.cc.


Member Function Documentation

Definition at line 67 of file PCIDummyDeviceIdentifier.cc.

uint32_t HAL::PCIDummyDeviceIdentifier::getPCIBusAddress ( uint32_t  bar) const throw ()

Definition at line 72 of file PCIDummyDeviceIdentifier.cc.

Definition at line 60 of file PCIDummyDeviceIdentifier.cc.

char * HAL::PCIDummyDeviceIdentifier::remap ( uint32_t  address) const throw ( BusAdapterException )

Definition at line 36 of file PCIDummyDeviceIdentifier.cc.


Member Data Documentation

std::vector<uint32_t> HAL::PCIDummyDeviceIdentifier::baseaddresses_ [private]

Definition at line 37 of file PCIDummyDeviceIdentifier.hh.

Definition at line 34 of file PCIDummyDeviceIdentifier.hh.

std::vector<uint32_t> HAL::PCIDummyDeviceIdentifier::mapsizes_ [private]

Definition at line 38 of file PCIDummyDeviceIdentifier.hh.

std::vector<char *> HAL::PCIDummyDeviceIdentifier::memorySpacePtr_ [private]

Definition at line 35 of file PCIDummyDeviceIdentifier.hh.

Definition at line 39 of file PCIDummyDeviceIdentifier.hh.


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