SeaBreeze
include
common
buses
usb
USBInterface.h
Go to the documentation of this file.
1
/***************************************************/
36
#ifndef USBINTERFACE_H
37
#define USBINTERFACE_H
38
39
#include "
common/buses/Bus.h
"
40
#include "
native/usb/NativeUSB.h
"
41
#include "
native/usb/USB.h
"
42
#include "
common/exceptions/IllegalArgumentException.h
"
43
44
namespace
seabreeze
{
45
46
class
USBInterface
:
public
Bus
{
47
public
:
48
USBInterface
();
49
virtual
~
USBInterface
();
50
virtual
USB
*getUSBDescriptor()
const
;
51
virtual
DeviceLocatorInterface
*getLocation();
52
virtual
void
setLocation(
const
DeviceLocatorInterface
&location)
throw
(
IllegalArgumentException
);
53
virtual
BusFamily
getBusFamily()
const
;
54
virtual
bool
open() = 0;
55
virtual
void
close() = 0;
56
57
protected
:
58
USB
*usb;
59
DeviceLocatorInterface
*deviceLocator;
60
};
61
62
}
63
64
#endif
/* USBINTERFACE_H */
USB.h
seabreeze::DeviceLocatorInterface
Definition:
DeviceLocatorInterface.h:47
Bus.h
seabreeze::BusFamily
Definition:
BusFamily.h:38
NativeUSB.h
IllegalArgumentException.h
seabreeze::Bus
Definition:
Bus.h:48
seabreeze::USB
Definition:
USB.h:42
seabreeze
Encapsulates all SeaBreeze classes.
Definition:
DeviceFactory.h:42
seabreeze::IllegalArgumentException
Definition:
IllegalArgumentException.h:43
seabreeze::USBInterface
Definition:
USBInterface.h:46
Generated on Sun Jan 19 2020 16:01:08 for SeaBreeze by
1.8.13