3 #ifndef SZA_UTIL_GPIBUSBDEVICE_H
4 #define SZA_UTIL_GPIBUSBDEVICE_H
27 GpibUsbDevice(
bool doSpawn=
false);
28 GpibUsbDevice(std::string port,
bool doSpawn=
false);
29 GpibUsbDevice(GpibUsbController& controller);
33 virtual ~GpibUsbDevice();
37 void setAddress(
unsigned address);
38 unsigned getAddress();
42 void sendDeviceCommand(std::string cmd,
bool expectsResponse=
false,
43 GPIB_RESPONSE_HANDLER(*handler)=0,
bool block=
false,
46 void sendControllerCommand(std::string cmd,
bool expectsResponse=
false,
47 GPIB_RESPONSE_HANDLER(*handler)=0,
bool block=
false,
void* retVal=0);
49 std::string getDevice();
51 GpibUsbController* controller() {
58 GpibUsbController* controller_;
68 #endif // End #ifndef SZA_UTIL_GPIBUSBDEVICE_H
Tagged: Tue Oct 16 13:01:01 PDT 2007.