Generic hardware access library
HAL::DeviceIdentifier Class Reference

Contains information to identifiy a hardware device unambiguously on the bus. More...

#include <DeviceIdentifier.hh>

Inheritance diagram for HAL::DeviceIdentifier:

List of all members.

Public Member Functions

virtual std::string printString () const =0
virtual ~DeviceIdentifier ()
 The Destructor of the DeviceIdentifier.

Detailed Description

Contains information to identifiy a hardware device unambiguously on the bus.

Always when the BusAdapter has to perform operations which are not simply memory mapped it needs information to identify the device. This information in principle varies for different BusAdapters and of course for different technologies (PCI or VME). In order to handle requests in a general way this baseclass has been introduced. It allows formulating requests to the BusAdapter in a implementation independent way.

See also:
Christoph Schwick
2007/03/05 18:02:09

Definition at line 31 of file DeviceIdentifier.hh.

Constructor & Destructor Documentation

virtual HAL::DeviceIdentifier::~DeviceIdentifier ( ) [inline, virtual]

The Destructor of the DeviceIdentifier.

If the BusAdapter uses memory mapping (like for example the DummyBusAdapters) this is the place where the memory maps can be deleted. The DeviceIdentifier is deleted in the closeDevice method of the HardwareDevice. So if in the constructor to the DeviceIdentifier the pointers to the created maps are passed they can be deleted here. See the DummyBusAdapters for an example.

See also:
VMEDummyBusAdapter PCIDummyBusAdapter

Definition at line 47 of file DeviceIdentifier.hh.

Member Function Documentation

virtual std::string HAL::DeviceIdentifier::printString ( ) const [pure virtual]

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