Library of Bus-Adapters
|
00001 #ifndef __CAENDeviceIdentifier 00002 #define __CAENDeviceIdentifier 00003 00004 #include <stdint.h> 00005 #include <string> 00006 #include "hal/BusAdapterException.hh" 00007 #include "hal/DeviceIdentifier.hh" 00008 00009 namespace HAL { 00010 00029 class CAENDeviceIdentifier : public DeviceIdentifier { 00030 00031 public: 00036 CAENDeviceIdentifier( uint32_t adapterHandle, 00037 bool doSwapping = false ) 00038 throw (BusAdapterException) ; 00039 00040 ~CAENDeviceIdentifier(); 00041 00042 const long getAdapterHandle() const; 00043 00044 const bool doSwapping() const; 00045 00046 std::string printString() const; 00047 00048 private: 00049 long adapterHandle_; 00050 bool doSwapping_; 00051 }; 00052 00053 } /* namespace HAL */ 00054 00055 #endif /* __CAENDeviceIdentifier */