00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #if ! defined( DeviceSubsystem_hpp )
00012 #define DeviceSubsystem_hpp
00013
00014
00015 #include <USBDevice.hpp>
00016
00017
00018 namespace AIOUSB {
00019
00020
00021
00022
00023
00024
00025
00026 class DeviceSubsystem {
00027 protected:
00028 USBDevice *parent;
00029
00030 public:
00031 DeviceSubsystem( USBDevice &parent );
00032 virtual ~DeviceSubsystem();
00033
00034
00035 virtual std::ostream &print( std::ostream &out ) = 0;
00036 int getDeviceIndex() const;
00037 };
00038
00039
00040
00041 }
00042
00043 #endif
00044
00045
00046