1.air部署,细节待修改
This commit is contained in:
46
Source/OSIF/include/vendors/OceanOptics/buses/network/BlazeTCPIPv4.h
vendored
Normal file
46
Source/OSIF/include/vendors/OceanOptics/buses/network/BlazeTCPIPv4.h
vendored
Normal file
@ -0,0 +1,46 @@
|
||||
/***************************************************//**
|
||||
* @file BlazeTCPIPv4.h
|
||||
* @date February 2016
|
||||
* @author Ocean Optics, Inc.
|
||||
*
|
||||
* LICENSE:
|
||||
*
|
||||
* SeaBreeze Copyright (C) 2016, Ocean Optics Inc
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the
|
||||
* "Software"), to deal in the Software without restriction, including
|
||||
* without limitation the rights to use, copy, modify, merge, publish,
|
||||
* distribute, sublicense, and/or sell copies of the Software, and to
|
||||
* permit persons to whom the Software is furnished to do so, subject
|
||||
* to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*******************************************************/
|
||||
|
||||
#ifndef SEABREEZE_BLAZETCPIPV4_H
|
||||
#define SEABREEZE_BLAZETCPIPV4_H
|
||||
|
||||
#include "common/buses/network/TCPIPv4SocketBus.h"
|
||||
|
||||
namespace seabreeze {
|
||||
class BlazeTCPIPv4 : public TCPIPv4SocketBus {
|
||||
public:
|
||||
BlazeTCPIPv4();
|
||||
virtual ~BlazeTCPIPv4();
|
||||
|
||||
virtual bool open();
|
||||
virtual void close();
|
||||
};
|
||||
}
|
||||
|
||||
#endif /* SEABREEZE_BLAZETCPIPV4_H */
|
47
Source/OSIF/include/vendors/OceanOptics/buses/network/JazTCPIPv4.h
vendored
Normal file
47
Source/OSIF/include/vendors/OceanOptics/buses/network/JazTCPIPv4.h
vendored
Normal file
@ -0,0 +1,47 @@
|
||||
/***************************************************//**
|
||||
* @file JazTCPIPv4.h
|
||||
* @date February 2016
|
||||
* @author Ocean Optics, Inc.
|
||||
*
|
||||
* LICENSE:
|
||||
*
|
||||
* SeaBreeze Copyright (C) 2016, Ocean Optics Inc
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the
|
||||
* "Software"), to deal in the Software without restriction, including
|
||||
* without limitation the rights to use, copy, modify, merge, publish,
|
||||
* distribute, sublicense, and/or sell copies of the Software, and to
|
||||
* permit persons to whom the Software is furnished to do so, subject
|
||||
* to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*******************************************************/
|
||||
|
||||
#ifndef SEABREEZE_JAZTCPIPV4_H
|
||||
#define SEABREEZE_JAZTCPIPV4_H
|
||||
|
||||
#include "common/buses/network/TCPIPv4SocketBus.h"
|
||||
|
||||
namespace seabreeze {
|
||||
class JazTCPIPv4 : public TCPIPv4SocketBus {
|
||||
public:
|
||||
JazTCPIPv4();
|
||||
virtual ~JazTCPIPv4();
|
||||
|
||||
virtual bool open();
|
||||
virtual void close();
|
||||
};
|
||||
}
|
||||
|
||||
#endif /* SEABREEZE_JAZTCPIPV4_H */
|
||||
|
59
Source/OSIF/include/vendors/OceanOptics/buses/rs232/OOIRS232Interface.h
vendored
Normal file
59
Source/OSIF/include/vendors/OceanOptics/buses/rs232/OOIRS232Interface.h
vendored
Normal file
@ -0,0 +1,59 @@
|
||||
/***************************************************//**
|
||||
* @file OOIRS232Interface.h
|
||||
* @date April 2011
|
||||
* @author Ocean Optics, Inc.
|
||||
*
|
||||
* LICENSE:
|
||||
*
|
||||
* SeaBreeze Copyright (C) 2014, Ocean Optics Inc
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the
|
||||
* "Software"), to deal in the Software without restriction, including
|
||||
* without limitation the rights to use, copy, modify, merge, publish,
|
||||
* distribute, sublicense, and/or sell copies of the Software, and to
|
||||
* permit persons to whom the Software is furnished to do so, subject
|
||||
* to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*******************************************************/
|
||||
|
||||
#ifndef OOIRS232INTERFACE_H
|
||||
#define OOIRS232INTERFACE_H
|
||||
|
||||
#include "common/buses/rs232/RS232Interface.h"
|
||||
#include "common/protocols/ProtocolHint.h"
|
||||
#include "common/buses/TransferHelper.h"
|
||||
|
||||
namespace seabreeze {
|
||||
|
||||
class OOIRS232Interface : public RS232Interface {
|
||||
public:
|
||||
OOIRS232Interface();
|
||||
virtual ~OOIRS232Interface();
|
||||
|
||||
/* Inherited from Bus */
|
||||
virtual TransferHelper *getHelper(const std::vector<ProtocolHint *> &hints) const;
|
||||
virtual void setLocation(const DeviceLocatorInterface &location) throw (IllegalArgumentException);
|
||||
virtual bool open();
|
||||
virtual void close();
|
||||
|
||||
protected:
|
||||
TransferHelper *rs232Helper;
|
||||
|
||||
int baudRate;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif /* OOIRS232INTERFACE_H */
|
||||
|
48
Source/OSIF/include/vendors/OceanOptics/buses/usb/ApexUSB.h
vendored
Normal file
48
Source/OSIF/include/vendors/OceanOptics/buses/usb/ApexUSB.h
vendored
Normal file
@ -0,0 +1,48 @@
|
||||
/***************************************************//**
|
||||
* @file ApexUSB.h
|
||||
* @date January 2013
|
||||
* @author Ocean Optics, Inc.
|
||||
*
|
||||
* LICENSE:
|
||||
*
|
||||
* SeaBreeze Copyright (C) 2014, Ocean Optics Inc
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the
|
||||
* "Software"), to deal in the Software without restriction, including
|
||||
* without limitation the rights to use, copy, modify, merge, publish,
|
||||
* distribute, sublicense, and/or sell copies of the Software, and to
|
||||
* permit persons to whom the Software is furnished to do so, subject
|
||||
* to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*******************************************************/
|
||||
|
||||
#ifndef APEXUSB_H
|
||||
#define APEXUSB_H
|
||||
|
||||
#include "vendors/OceanOptics/buses/usb/OOIUSBInterface.h"
|
||||
|
||||
namespace seabreeze {
|
||||
|
||||
class ApexUSB : public OOIUSBInterface {
|
||||
public:
|
||||
ApexUSB();
|
||||
virtual ~ApexUSB();
|
||||
|
||||
/* Inherited from OOIUSBInterface */
|
||||
virtual bool open();
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif /* APEXUSB_H */
|
48
Source/OSIF/include/vendors/OceanOptics/buses/usb/BlazeUSB.h
vendored
Normal file
48
Source/OSIF/include/vendors/OceanOptics/buses/usb/BlazeUSB.h
vendored
Normal file
@ -0,0 +1,48 @@
|
||||
/***************************************************//**
|
||||
* @file BlazeUSB.h
|
||||
* @date February 2016
|
||||
* @author Ocean Optics, Inc.
|
||||
*
|
||||
* LICENSE:
|
||||
*
|
||||
* SeaBreeze Copyright (C) 2016, Ocean Optics Inc
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the
|
||||
* "Software"), to deal in the Software without restriction, including
|
||||
* without limitation the rights to use, copy, modify, merge, publish,
|
||||
* distribute, sublicense, and/or sell copies of the Software, and to
|
||||
* permit persons to whom the Software is furnished to do so, subject
|
||||
* to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*******************************************************/
|
||||
|
||||
#ifndef BLAZEUSB_H
|
||||
#define BLAZEUSB_H
|
||||
|
||||
#include "vendors/OceanOptics/buses/usb/OOIUSBInterface.h"
|
||||
|
||||
namespace seabreeze {
|
||||
|
||||
class BlazeUSB : public OOIUSBInterface {
|
||||
public:
|
||||
BlazeUSB();
|
||||
virtual ~BlazeUSB();
|
||||
|
||||
/* Inherited from OOIUSBInterface */
|
||||
virtual bool open();
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif /* BLAZEUSB_H */
|
61
Source/OSIF/include/vendors/OceanOptics/buses/usb/BlazeUSBTransferHelper.h
vendored
Normal file
61
Source/OSIF/include/vendors/OceanOptics/buses/usb/BlazeUSBTransferHelper.h
vendored
Normal file
@ -0,0 +1,61 @@
|
||||
/***************************************************//**
|
||||
* @file BlazeUSBTransferHelper.h
|
||||
* @date February 2016
|
||||
* @author Ocean Optics, Inc.
|
||||
*
|
||||
* This class encapsulates the behavior of the USB4000 and HR4000
|
||||
* in the case where they are connected via a USB2.0 bus. For the
|
||||
* case where the device is connected via USB 1.1, then the
|
||||
* OOIUSBSpectrumTransferHelper should be used instead.
|
||||
*
|
||||
* LICENSE:
|
||||
*
|
||||
* SeaBreeze Copyright (C) 2016, Ocean Optics Inc
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the
|
||||
* "Software"), to deal in the Software without restriction, including
|
||||
* without limitation the rights to use, copy, modify, merge, publish,
|
||||
* distribute, sublicense, and/or sell copies of the Software, and to
|
||||
* permit persons to whom the Software is furnished to do so, subject
|
||||
* to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*******************************************************/
|
||||
|
||||
#ifndef BLAZEUSBTRANSFERHELPER_H
|
||||
#define BLAZEUSBTRANSFERHELPER_H
|
||||
|
||||
#include "common/buses/usb/USBTransferHelper.h"
|
||||
#include "vendors/OceanOptics/buses/usb/OOIUSBEndpointMaps.h"
|
||||
|
||||
namespace seabreeze {
|
||||
|
||||
class BlazeUSBTransferHelper : public USBTransferHelper {
|
||||
public:
|
||||
BlazeUSBTransferHelper(USB *usb,
|
||||
const OOIUSBBidrectionalEndpointMap &map);
|
||||
virtual ~BlazeUSBTransferHelper();
|
||||
|
||||
/* Inherited */
|
||||
virtual int receive(std::vector<byte> &buffer, unsigned int length)
|
||||
throw (BusTransferException);
|
||||
virtual int send(const std::vector<byte> &buffer, unsigned int length) const
|
||||
throw (BusTransferException);
|
||||
|
||||
private:
|
||||
static const int WORD_SIZE_BYTES;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif /* BLAZEUSBTRANSFERHELPER_H */
|
47
Source/OSIF/include/vendors/OceanOptics/buses/usb/FlameNIRUSB.h
vendored
Normal file
47
Source/OSIF/include/vendors/OceanOptics/buses/usb/FlameNIRUSB.h
vendored
Normal file
@ -0,0 +1,47 @@
|
||||
/***************************************************//**
|
||||
* @file FlameNIRUSB.h
|
||||
* @date Apr 2016
|
||||
* @author Ocean Optics, Inc.
|
||||
*
|
||||
* LICENSE:
|
||||
*
|
||||
* SeaBreeze Copyright (C) 2016, Ocean Optics Inc
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the
|
||||
* "Software"), to deal in the Software without restriction, including
|
||||
* without limitation the rights to use, copy, modify, merge, publish,
|
||||
* distribute, sublicense, and/or sell copies of the Software, and to
|
||||
* permit persons to whom the Software is furnished to do so, subject
|
||||
* to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*******************************************************/
|
||||
|
||||
#ifndef FLAMENIRUSB_H
|
||||
#define FLAMENIRUSB_H
|
||||
|
||||
#include "vendors/OceanOptics/buses/usb/OOIUSBInterface.h"
|
||||
|
||||
namespace seabreeze {
|
||||
|
||||
class FlameNIRUSB : public OOIUSBInterface {
|
||||
public:
|
||||
FlameNIRUSB();
|
||||
virtual ~FlameNIRUSB();
|
||||
|
||||
virtual bool open();
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
49
Source/OSIF/include/vendors/OceanOptics/buses/usb/HR2000PlusUSB.h
vendored
Normal file
49
Source/OSIF/include/vendors/OceanOptics/buses/usb/HR2000PlusUSB.h
vendored
Normal file
@ -0,0 +1,49 @@
|
||||
/***************************************************//**
|
||||
* @file HR2000PlusUSB.h
|
||||
* @date February 2009
|
||||
* @author Ocean Optics, Inc.
|
||||
*
|
||||
* LICENSE:
|
||||
*
|
||||
* SeaBreeze Copyright (C) 2014, Ocean Optics Inc
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the
|
||||
* "Software"), to deal in the Software without restriction, including
|
||||
* without limitation the rights to use, copy, modify, merge, publish,
|
||||
* distribute, sublicense, and/or sell copies of the Software, and to
|
||||
* permit persons to whom the Software is furnished to do so, subject
|
||||
* to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*******************************************************/
|
||||
|
||||
#ifndef HR2000PLUSUSB_H
|
||||
#define HR2000PLUSUSB_H
|
||||
|
||||
#include "vendors/OceanOptics/buses/usb/OOIUSBInterface.h"
|
||||
|
||||
namespace seabreeze {
|
||||
|
||||
class HR2000PlusUSB : public OOIUSBInterface {
|
||||
public:
|
||||
HR2000PlusUSB();
|
||||
virtual ~HR2000PlusUSB();
|
||||
|
||||
/* Inherited from OOIUSBInterface */
|
||||
virtual bool open();
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif /* HR2000PLUSUSB_H */
|
48
Source/OSIF/include/vendors/OceanOptics/buses/usb/HR2000USB.h
vendored
Normal file
48
Source/OSIF/include/vendors/OceanOptics/buses/usb/HR2000USB.h
vendored
Normal file
@ -0,0 +1,48 @@
|
||||
/***************************************************//**
|
||||
* @file HR2000USB.h
|
||||
* @date February 2009
|
||||
* @author Ocean Optics, Inc.
|
||||
*
|
||||
* LICENSE:
|
||||
*
|
||||
* SeaBreeze Copyright (C) 2014, Ocean Optics Inc
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the
|
||||
* "Software"), to deal in the Software without restriction, including
|
||||
* without limitation the rights to use, copy, modify, merge, publish,
|
||||
* distribute, sublicense, and/or sell copies of the Software, and to
|
||||
* permit persons to whom the Software is furnished to do so, subject
|
||||
* to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*******************************************************/
|
||||
|
||||
#ifndef HR2000USB_H
|
||||
#define HR2000USB_H
|
||||
|
||||
#include "vendors/OceanOptics/buses/usb/OOIUSBInterface.h"
|
||||
|
||||
namespace seabreeze {
|
||||
|
||||
class HR2000USB : public OOIUSBInterface {
|
||||
public:
|
||||
HR2000USB();
|
||||
virtual ~HR2000USB();
|
||||
|
||||
/* Inherited from OOIUSBInterface */
|
||||
virtual bool open();
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif /* HR2000USB_H */
|
48
Source/OSIF/include/vendors/OceanOptics/buses/usb/HR4000USB.h
vendored
Normal file
48
Source/OSIF/include/vendors/OceanOptics/buses/usb/HR4000USB.h
vendored
Normal file
@ -0,0 +1,48 @@
|
||||
/***************************************************//**
|
||||
* @file HR4000USB.h
|
||||
* @date February 2009
|
||||
* @author Ocean Optics, Inc.
|
||||
*
|
||||
* LICENSE:
|
||||
*
|
||||
* SeaBreeze Copyright (C) 2014, Ocean Optics Inc
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the
|
||||
* "Software"), to deal in the Software without restriction, including
|
||||
* without limitation the rights to use, copy, modify, merge, publish,
|
||||
* distribute, sublicense, and/or sell copies of the Software, and to
|
||||
* permit persons to whom the Software is furnished to do so, subject
|
||||
* to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*******************************************************/
|
||||
|
||||
#ifndef HR4000USB_H
|
||||
#define HR4000USB_H
|
||||
|
||||
#include "vendors/OceanOptics/buses/usb/OOIUSBInterface.h"
|
||||
|
||||
namespace seabreeze {
|
||||
|
||||
class HR4000USB : public OOIUSBInterface {
|
||||
public:
|
||||
HR4000USB();
|
||||
virtual ~HR4000USB();
|
||||
|
||||
/* Inherited from OOIUSBInterface */
|
||||
virtual bool open();
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif /* HR4000USB_H */
|
48
Source/OSIF/include/vendors/OceanOptics/buses/usb/JazUSB.h
vendored
Normal file
48
Source/OSIF/include/vendors/OceanOptics/buses/usb/JazUSB.h
vendored
Normal file
@ -0,0 +1,48 @@
|
||||
/***************************************************//**
|
||||
* @file JazUSB.h
|
||||
* @date November 2011
|
||||
* @author Ocean Optics, Inc.
|
||||
*
|
||||
* LICENSE:
|
||||
*
|
||||
* SeaBreeze Copyright (C) 2014, Ocean Optics Inc
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the
|
||||
* "Software"), to deal in the Software without restriction, including
|
||||
* without limitation the rights to use, copy, modify, merge, publish,
|
||||
* distribute, sublicense, and/or sell copies of the Software, and to
|
||||
* permit persons to whom the Software is furnished to do so, subject
|
||||
* to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*******************************************************/
|
||||
|
||||
#ifndef JAZUSB_H
|
||||
#define JAZUSB_H
|
||||
|
||||
#include "vendors/OceanOptics/buses/usb/OOIUSBInterface.h"
|
||||
|
||||
namespace seabreeze {
|
||||
|
||||
class JazUSB : public OOIUSBInterface {
|
||||
public:
|
||||
JazUSB();
|
||||
virtual ~JazUSB();
|
||||
|
||||
/* Inherited from OOIUSBInterface */
|
||||
virtual bool open();
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif /* JAZUSB_H */
|
48
Source/OSIF/include/vendors/OceanOptics/buses/usb/Maya2000ProUSB.h
vendored
Normal file
48
Source/OSIF/include/vendors/OceanOptics/buses/usb/Maya2000ProUSB.h
vendored
Normal file
@ -0,0 +1,48 @@
|
||||
/***************************************************//**
|
||||
* @file Maya2000ProUSB.h
|
||||
* @date February 2009
|
||||
* @author Ocean Optics, Inc.
|
||||
*
|
||||
* LICENSE:
|
||||
*
|
||||
* SeaBreeze Copyright (C) 2014, Ocean Optics Inc
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the
|
||||
* "Software"), to deal in the Software without restriction, including
|
||||
* without limitation the rights to use, copy, modify, merge, publish,
|
||||
* distribute, sublicense, and/or sell copies of the Software, and to
|
||||
* permit persons to whom the Software is furnished to do so, subject
|
||||
* to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*******************************************************/
|
||||
|
||||
#ifndef MAYA2000PROUSB_H
|
||||
#define MAYA2000PROUSB_H
|
||||
|
||||
#include "vendors/OceanOptics/buses/usb/OOIUSBInterface.h"
|
||||
|
||||
namespace seabreeze {
|
||||
|
||||
class Maya2000ProUSB : public OOIUSBInterface {
|
||||
public:
|
||||
Maya2000ProUSB();
|
||||
virtual ~Maya2000ProUSB();
|
||||
|
||||
/* Inherited from OOIUSBInterface */
|
||||
virtual bool open();
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif /* MAYA2000PROUSB_H */
|
48
Source/OSIF/include/vendors/OceanOptics/buses/usb/Maya2000USB.h
vendored
Normal file
48
Source/OSIF/include/vendors/OceanOptics/buses/usb/Maya2000USB.h
vendored
Normal file
@ -0,0 +1,48 @@
|
||||
/***************************************************//**
|
||||
* @file Maya2000USB.h
|
||||
* @date February 2009
|
||||
* @author Ocean Optics, Inc.
|
||||
*
|
||||
* LICENSE:
|
||||
*
|
||||
* SeaBreeze Copyright (C) 2014, Ocean Optics Inc
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the
|
||||
* "Software"), to deal in the Software without restriction, including
|
||||
* without limitation the rights to use, copy, modify, merge, publish,
|
||||
* distribute, sublicense, and/or sell copies of the Software, and to
|
||||
* permit persons to whom the Software is furnished to do so, subject
|
||||
* to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*******************************************************/
|
||||
|
||||
#ifndef MAYA2000USB_H
|
||||
#define MAYA2000USB_H
|
||||
|
||||
#include "vendors/OceanOptics/buses/usb/OOIUSBInterface.h"
|
||||
|
||||
namespace seabreeze {
|
||||
|
||||
class Maya2000USB : public OOIUSBInterface {
|
||||
public:
|
||||
Maya2000USB();
|
||||
virtual ~Maya2000USB();
|
||||
|
||||
/* Inherited from OOIUSBInterface */
|
||||
virtual bool open();
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif /* MAYA2000USB_H */
|
48
Source/OSIF/include/vendors/OceanOptics/buses/usb/MayaLSLUSB.h
vendored
Normal file
48
Source/OSIF/include/vendors/OceanOptics/buses/usb/MayaLSLUSB.h
vendored
Normal file
@ -0,0 +1,48 @@
|
||||
/***************************************************//**
|
||||
* @file MayaLSLUSB.h
|
||||
* @date 13-Jan-2015
|
||||
* @author Ocean Optics, Inc.
|
||||
*
|
||||
* LICENSE:
|
||||
*
|
||||
* SeaBreeze Copyright (C) 2014, Ocean Optics Inc
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the
|
||||
* "Software"), to deal in the Software without restriction, including
|
||||
* without limitation the rights to use, copy, modify, merge, publish,
|
||||
* distribute, sublicense, and/or sell copies of the Software, and to
|
||||
* permit persons to whom the Software is furnished to do so, subject
|
||||
* to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*******************************************************/
|
||||
|
||||
#ifndef MAYALSLUSB_H
|
||||
#define MAYALSLUSB_H
|
||||
|
||||
#include "vendors/OceanOptics/buses/usb/OOIUSBInterface.h"
|
||||
|
||||
namespace seabreeze {
|
||||
|
||||
class MayaLSLUSB : public OOIUSBInterface {
|
||||
public:
|
||||
MayaLSLUSB();
|
||||
virtual ~MayaLSLUSB();
|
||||
|
||||
/* Inherited from OOIUSBInterface */
|
||||
virtual bool open();
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif /* MAYALSLUSB_H */
|
48
Source/OSIF/include/vendors/OceanOptics/buses/usb/NIRQuest256USB.h
vendored
Normal file
48
Source/OSIF/include/vendors/OceanOptics/buses/usb/NIRQuest256USB.h
vendored
Normal file
@ -0,0 +1,48 @@
|
||||
/***************************************************//**
|
||||
* @file NIRQuest256USB.h
|
||||
* @date February 2009
|
||||
* @author Ocean Optics, Inc.
|
||||
*
|
||||
* LICENSE:
|
||||
*
|
||||
* SeaBreeze Copyright (C) 2014, Ocean Optics Inc
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the
|
||||
* "Software"), to deal in the Software without restriction, including
|
||||
* without limitation the rights to use, copy, modify, merge, publish,
|
||||
* distribute, sublicense, and/or sell copies of the Software, and to
|
||||
* permit persons to whom the Software is furnished to do so, subject
|
||||
* to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*******************************************************/
|
||||
|
||||
#ifndef NIRQUEST256USB_H
|
||||
#define NIRQUEST256USB_H
|
||||
|
||||
#include "vendors/OceanOptics/buses/usb/OOIUSBInterface.h"
|
||||
|
||||
namespace seabreeze {
|
||||
|
||||
class NIRQuest256USB : public OOIUSBInterface {
|
||||
public:
|
||||
NIRQuest256USB();
|
||||
virtual ~NIRQuest256USB();
|
||||
|
||||
/* Inherited from OOIUSBInterface */
|
||||
virtual bool open();
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif /* NIRQUEST256USB_H */
|
48
Source/OSIF/include/vendors/OceanOptics/buses/usb/NIRQuest512USB.h
vendored
Normal file
48
Source/OSIF/include/vendors/OceanOptics/buses/usb/NIRQuest512USB.h
vendored
Normal file
@ -0,0 +1,48 @@
|
||||
/***************************************************//**
|
||||
* @file NIRQuest512USB.h
|
||||
* @date February 2009
|
||||
* @author Ocean Optics, Inc.
|
||||
*
|
||||
* LICENSE:
|
||||
*
|
||||
* SeaBreeze Copyright (C) 2014, Ocean Optics Inc
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the
|
||||
* "Software"), to deal in the Software without restriction, including
|
||||
* without limitation the rights to use, copy, modify, merge, publish,
|
||||
* distribute, sublicense, and/or sell copies of the Software, and to
|
||||
* permit persons to whom the Software is furnished to do so, subject
|
||||
* to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*******************************************************/
|
||||
|
||||
#ifndef NIRQUEST512USB_H
|
||||
#define NIRQUEST512USB_H
|
||||
|
||||
#include "vendors/OceanOptics/buses/usb/OOIUSBInterface.h"
|
||||
|
||||
namespace seabreeze {
|
||||
|
||||
class NIRQuest512USB : public OOIUSBInterface {
|
||||
public:
|
||||
NIRQuest512USB();
|
||||
virtual ~NIRQuest512USB();
|
||||
|
||||
/* Inherited from OOIUSBInterface */
|
||||
virtual bool open();
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif /* NIRQUEST512USB_H */
|
61
Source/OSIF/include/vendors/OceanOptics/buses/usb/OOIUSB4KSpectrumTransferHelper.h
vendored
Normal file
61
Source/OSIF/include/vendors/OceanOptics/buses/usb/OOIUSB4KSpectrumTransferHelper.h
vendored
Normal file
@ -0,0 +1,61 @@
|
||||
/***************************************************//**
|
||||
* @file OOIUSB4KSpectrumTransferHelper.h
|
||||
* @date February 2009
|
||||
* @author Ocean Optics, Inc.
|
||||
*
|
||||
* This class encapsulates the behavior of the USB4000 and HR4000
|
||||
* in the case where they are connected via a USB2.0 bus. For the
|
||||
* case where the device is connected via USB 1.1, then the
|
||||
* OOIUSBSpectrumTransferHelper should be used instead.
|
||||
*
|
||||
* LICENSE:
|
||||
*
|
||||
* SeaBreeze Copyright (C) 2014, Ocean Optics Inc
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the
|
||||
* "Software"), to deal in the Software without restriction, including
|
||||
* without limitation the rights to use, copy, modify, merge, publish,
|
||||
* distribute, sublicense, and/or sell copies of the Software, and to
|
||||
* permit persons to whom the Software is furnished to do so, subject
|
||||
* to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*******************************************************/
|
||||
|
||||
#ifndef OOIUSB4KSPECTRUMTRANSFERHELPER_H
|
||||
#define OOIUSB4KSPECTRUMTRANSFERHELPER_H
|
||||
|
||||
#include "common/buses/usb/USBTransferHelper.h"
|
||||
#include "vendors/OceanOptics/buses/usb/OOIUSBEndpointMaps.h"
|
||||
|
||||
namespace seabreeze {
|
||||
|
||||
class OOIUSB4KSpectrumTransferHelper : public USBTransferHelper {
|
||||
public:
|
||||
OOIUSB4KSpectrumTransferHelper(USB *usb,
|
||||
const OOIUSBCypressEndpointMap &map);
|
||||
virtual ~OOIUSB4KSpectrumTransferHelper();
|
||||
|
||||
/* Inherited */
|
||||
virtual int receive(std::vector<byte> &buffer, unsigned int length)
|
||||
throw (BusTransferException);
|
||||
|
||||
private:
|
||||
int secondaryHighSpeedEP;
|
||||
std::vector<byte> primaryReadBuffer;
|
||||
std::vector<byte> secondaryReadBuffer;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif /* OOIUSB4KSPECTRUMTRANSFERHELPER_H */
|
47
Source/OSIF/include/vendors/OceanOptics/buses/usb/OOIUSBControlTransferHelper.h
vendored
Normal file
47
Source/OSIF/include/vendors/OceanOptics/buses/usb/OOIUSBControlTransferHelper.h
vendored
Normal file
@ -0,0 +1,47 @@
|
||||
/***************************************************//**
|
||||
* @file OOIUSBControlTransferHelper.h
|
||||
* @date February 2009
|
||||
* @author Ocean Optics, Inc.
|
||||
*
|
||||
* LICENSE:
|
||||
*
|
||||
* SeaBreeze Copyright (C) 2014, Ocean Optics Inc
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the
|
||||
* "Software"), to deal in the Software without restriction, including
|
||||
* without limitation the rights to use, copy, modify, merge, publish,
|
||||
* distribute, sublicense, and/or sell copies of the Software, and to
|
||||
* permit persons to whom the Software is furnished to do so, subject
|
||||
* to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*******************************************************/
|
||||
|
||||
#ifndef OOIUSBCONTROLTRANSFERHELPER_H
|
||||
#define OOIUSBCONTROLTRANSFERHELPER_H
|
||||
|
||||
#include "common/buses/usb/USBTransferHelper.h"
|
||||
#include "vendors/OceanOptics/buses/usb/OOIUSBEndpointMaps.h"
|
||||
|
||||
namespace seabreeze {
|
||||
|
||||
class OOIUSBControlTransferHelper : public USBTransferHelper {
|
||||
public:
|
||||
OOIUSBControlTransferHelper(USB *usb,
|
||||
const OOIUSBCypressEndpointMap &map);
|
||||
virtual ~OOIUSBControlTransferHelper();
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif /* OOIUSBCONTROLTRANSFERHELPER_H */
|
123
Source/OSIF/include/vendors/OceanOptics/buses/usb/OOIUSBEndpointMaps.h
vendored
Normal file
123
Source/OSIF/include/vendors/OceanOptics/buses/usb/OOIUSBEndpointMaps.h
vendored
Normal file
@ -0,0 +1,123 @@
|
||||
/***************************************************//**
|
||||
* @file OOIUSBEndpointMaps.h
|
||||
* @date February 2009
|
||||
* @author Ocean Optics, Inc.
|
||||
*
|
||||
* LICENSE:
|
||||
*
|
||||
* SeaBreeze Copyright (C) 2014, Ocean Optics Inc
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the
|
||||
* "Software"), to deal in the Software without restriction, including
|
||||
* without limitation the rights to use, copy, modify, merge, publish,
|
||||
* distribute, sublicense, and/or sell copies of the Software, and to
|
||||
* permit persons to whom the Software is furnished to do so, subject
|
||||
* to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*******************************************************/
|
||||
|
||||
#ifndef OOIUSBENDPOINTMAPS_H
|
||||
#define OOIUSBENDPOINTMAPS_H
|
||||
|
||||
namespace seabreeze {
|
||||
|
||||
class OOIUSBCypressEndpointMap {
|
||||
public:
|
||||
int getLowSpeedInEP() const;
|
||||
int getLowSpeedOutEP() const;
|
||||
int getHighSpeedInEP() const;
|
||||
int getHighSpeedIn2EP() const;
|
||||
|
||||
protected:
|
||||
int lowSpeedIn;
|
||||
int lowSpeedOut;
|
||||
int highSpeedIn;
|
||||
int highSpeedIn2;
|
||||
};
|
||||
|
||||
/* This map is appropriate for the following spectrometers:
|
||||
* USB2000 (and its variants), HR2000, ADC1000-USB,
|
||||
* NIR256, NIR512, SAS
|
||||
*/
|
||||
class OOIUSBLegacy2KEndpointMap : public OOIUSBCypressEndpointMap {
|
||||
public:
|
||||
OOIUSBLegacy2KEndpointMap();
|
||||
virtual ~OOIUSBLegacy2KEndpointMap();
|
||||
|
||||
};
|
||||
|
||||
/* This map is appropriate for the following spectrometers:
|
||||
* HR2000+, HR4000, Maya, Maya2000Pro, MayaLSL, QE65000, USB2000+, USB4000
|
||||
*/
|
||||
class OOIUSBFPGAEndpointMap : public OOIUSBCypressEndpointMap {
|
||||
public:
|
||||
OOIUSBFPGAEndpointMap();
|
||||
virtual ~OOIUSBFPGAEndpointMap();
|
||||
|
||||
};
|
||||
|
||||
class OOIUSBJazEndpointMap : public OOIUSBCypressEndpointMap {
|
||||
public:
|
||||
OOIUSBJazEndpointMap();
|
||||
virtual ~OOIUSBJazEndpointMap();
|
||||
};
|
||||
|
||||
/* This defines a simple interface for an endpoint map that has a one input
|
||||
* and one output endpoint.
|
||||
*/
|
||||
class OOIUSBBidrectionalEndpointMap {
|
||||
public:
|
||||
OOIUSBBidrectionalEndpointMap();
|
||||
virtual ~OOIUSBBidrectionalEndpointMap();
|
||||
virtual int getPrimaryInEndpoint() const;
|
||||
virtual int getPrimaryOutEndpoint() const;
|
||||
protected:
|
||||
int primaryInEndpoint;
|
||||
int primaryOutEndpoint;
|
||||
};
|
||||
|
||||
/* This map is appropriate for the following spectrometers:
|
||||
* Ventana
|
||||
*/
|
||||
class OOIUSBVentanaEndpointMap : public OOIUSBBidrectionalEndpointMap {
|
||||
public:
|
||||
OOIUSBVentanaEndpointMap();
|
||||
virtual ~OOIUSBVentanaEndpointMap();
|
||||
};
|
||||
|
||||
class OOIUSBDualBidirectionalEndpointMap : public OOIUSBBidrectionalEndpointMap {
|
||||
public:
|
||||
OOIUSBDualBidirectionalEndpointMap();
|
||||
virtual ~OOIUSBDualBidirectionalEndpointMap();
|
||||
int getSecondaryInEndpoint() const;
|
||||
int getSecondaryOutEndpoint() const;
|
||||
|
||||
protected:
|
||||
int secondaryInEndpoint;
|
||||
int secondaryOutEndpoint;
|
||||
};
|
||||
|
||||
/* This map is appropriate for the following spectrometers:
|
||||
* STS, QEPro
|
||||
*/
|
||||
class OOIUSBSimpleDualEndpointMap : public OOIUSBDualBidirectionalEndpointMap {
|
||||
public:
|
||||
OOIUSBSimpleDualEndpointMap();
|
||||
virtual ~OOIUSBSimpleDualEndpointMap();
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
|
||||
#endif /* OOIUSBENDPOINTMAPS_H */
|
76
Source/OSIF/include/vendors/OceanOptics/buses/usb/OOIUSBInterface.h
vendored
Normal file
76
Source/OSIF/include/vendors/OceanOptics/buses/usb/OOIUSBInterface.h
vendored
Normal file
@ -0,0 +1,76 @@
|
||||
/***************************************************//**
|
||||
* @file OOIUSBInterface.h
|
||||
* @date February 2009
|
||||
* @author Ocean Optics, Inc.
|
||||
*
|
||||
* LICENSE:
|
||||
*
|
||||
* SeaBreeze Copyright (C) 2014, Ocean Optics Inc
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the
|
||||
* "Software"), to deal in the Software without restriction, including
|
||||
* without limitation the rights to use, copy, modify, merge, publish,
|
||||
* distribute, sublicense, and/or sell copies of the Software, and to
|
||||
* permit persons to whom the Software is furnished to do so, subject
|
||||
* to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*******************************************************/
|
||||
|
||||
#ifndef OOIUSBINTERFACE_H
|
||||
#define OOIUSBINTERFACE_H
|
||||
|
||||
#include "common/buses/usb/USBInterface.h"
|
||||
#include "common/protocols/ProtocolHint.h"
|
||||
#include "common/buses/TransferHelper.h"
|
||||
#include "common/buses/DeviceLocationProberInterface.h"
|
||||
|
||||
#define OCEAN_OPTICS_USB_VID 0x2457
|
||||
|
||||
namespace seabreeze {
|
||||
|
||||
class OOIUSBInterface : public USBInterface, public DeviceLocationProberInterface {
|
||||
public:
|
||||
OOIUSBInterface();
|
||||
virtual ~OOIUSBInterface();
|
||||
|
||||
int getProductID();
|
||||
int getVendorID();
|
||||
|
||||
/* Inherited from Bus */
|
||||
virtual TransferHelper *getHelper(const std::vector<ProtocolHint *> &hints) const;
|
||||
virtual void setLocation(const DeviceLocatorInterface &location) throw (IllegalArgumentException);
|
||||
virtual bool open();
|
||||
virtual void close();
|
||||
|
||||
/* Inherited from DeviceLocationProberInterface */
|
||||
virtual std::vector<DeviceLocatorInterface *> *probeDevices();
|
||||
|
||||
protected:
|
||||
void addHelper(ProtocolHint *hint, TransferHelper *helper);
|
||||
void clearHelpers();
|
||||
|
||||
int vendorID;
|
||||
int productID;
|
||||
|
||||
/* These vectors should really be in a map, but that didn't want to
|
||||
* work easily. Since there will likely be about 2 entries in here,
|
||||
* storing in a pair of vectors for now won't hurt anything.
|
||||
*/
|
||||
std::vector<ProtocolHint *> helperKeys;
|
||||
std::vector<TransferHelper *> helperValues;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif /* OOIUSBINTERFACE_H */
|
56
Source/OSIF/include/vendors/OceanOptics/buses/usb/OOIUSBProductID.h
vendored
Normal file
56
Source/OSIF/include/vendors/OceanOptics/buses/usb/OOIUSBProductID.h
vendored
Normal file
@ -0,0 +1,56 @@
|
||||
/***************************************************//**
|
||||
* @file OOIUSBProductID.h
|
||||
* @date February 2009
|
||||
* @author Ocean Optics, Inc.
|
||||
*
|
||||
* LICENSE:
|
||||
*
|
||||
* SeaBreeze Copyright (C) 2014, Ocean Optics Inc
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the
|
||||
* "Software"), to deal in the Software without restriction, including
|
||||
* without limitation the rights to use, copy, modify, merge, publish,
|
||||
* distribute, sublicense, and/or sell copies of the Software, and to
|
||||
* permit persons to whom the Software is furnished to do so, subject
|
||||
* to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*******************************************************/
|
||||
|
||||
#ifndef OOIUSBPRODUCTID_H
|
||||
#define OOIUSBPRODUCTID_H
|
||||
|
||||
#define USB2000_USB_PID 0x1002
|
||||
#define HR2000_USB_PID 0x100a
|
||||
#define HR4000_USB_PID 0x1012
|
||||
#define HR2000PLUS_USB_PID 0x1016
|
||||
#define QE65000_USB_PID 0x1018
|
||||
#define USB2000PLUS_USB_PID 0x101E
|
||||
#define USB4000_USB_PID 0x1022
|
||||
#define NIRQUEST512_USB_PID 0x1026
|
||||
#define NIRQUEST256_USB_PID 0x1028
|
||||
#define MAYA2000PRO_USB_PID 0x102a
|
||||
#define MAYA2000_USB_PID 0x102c
|
||||
#define MAYALSL_USB_PID 0x1046
|
||||
#define TORUS_USB_PID 0x1040
|
||||
#define APEX_USB_PID 0x1044
|
||||
#define FLAMENIR_USB_PID 0x104b
|
||||
#define JAZ_USB_PID 0x2000
|
||||
#define BLAZE_USB_PID 0x2001
|
||||
#define STS_USB_PID 0x4000
|
||||
#define QEPRO_USB_PID 0x4004
|
||||
#define SPARK_USB_PID 0x4200
|
||||
#define VENTANA_USB_PID 0x5000
|
||||
#define GENERIC_SMARTPHONE_MODULE_PID 0x7002
|
||||
|
||||
#endif /* OOIUSBPRODUCTID_H */
|
47
Source/OSIF/include/vendors/OceanOptics/buses/usb/OOIUSBSpectrumTransferHelper.h
vendored
Normal file
47
Source/OSIF/include/vendors/OceanOptics/buses/usb/OOIUSBSpectrumTransferHelper.h
vendored
Normal file
@ -0,0 +1,47 @@
|
||||
/***************************************************//**
|
||||
* @file OOIUSBSpectrumTransferHelper.h
|
||||
* @date February 2009
|
||||
* @author Ocean Optics, Inc.
|
||||
*
|
||||
* LICENSE:
|
||||
*
|
||||
* SeaBreeze Copyright (C) 2014, Ocean Optics Inc
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the
|
||||
* "Software"), to deal in the Software without restriction, including
|
||||
* without limitation the rights to use, copy, modify, merge, publish,
|
||||
* distribute, sublicense, and/or sell copies of the Software, and to
|
||||
* permit persons to whom the Software is furnished to do so, subject
|
||||
* to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*******************************************************/
|
||||
|
||||
#ifndef OOIUSBSPECTRUMTRANSFERHELPER_H
|
||||
#define OOIUSBSPECTRUMTRANSFERHELPER_H
|
||||
|
||||
#include "common/buses/usb/USBTransferHelper.h"
|
||||
#include "vendors/OceanOptics/buses/usb/OOIUSBEndpointMaps.h"
|
||||
|
||||
namespace seabreeze {
|
||||
|
||||
class OOIUSBSpectrumTransferHelper : public USBTransferHelper {
|
||||
public:
|
||||
OOIUSBSpectrumTransferHelper(USB *usb,
|
||||
const OOIUSBCypressEndpointMap &map);
|
||||
virtual ~OOIUSBSpectrumTransferHelper();
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif /* OOIUSBSPECTRUMTRANSFERHELPER_H */
|
46
Source/OSIF/include/vendors/OceanOptics/buses/usb/OOIUSBTrivialTransferHelper.h
vendored
Normal file
46
Source/OSIF/include/vendors/OceanOptics/buses/usb/OOIUSBTrivialTransferHelper.h
vendored
Normal file
@ -0,0 +1,46 @@
|
||||
/***************************************************//**
|
||||
* @file OOIUSBTrivialTransferHelper.h
|
||||
* @date June 2013
|
||||
* @author Ocean Optics, Inc.
|
||||
*
|
||||
* LICENSE:
|
||||
*
|
||||
* SeaBreeze Copyright (C) 2014, Ocean Optics Inc
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the
|
||||
* "Software"), to deal in the Software without restriction, including
|
||||
* without limitation the rights to use, copy, modify, merge, publish,
|
||||
* distribute, sublicense, and/or sell copies of the Software, and to
|
||||
* permit persons to whom the Software is furnished to do so, subject
|
||||
* to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*******************************************************/
|
||||
|
||||
#ifndef OOIUSBTRIVIALTRANSFERHELPER_H
|
||||
#define OOIUSBTRIVIALTRANSFERHELPER_H
|
||||
|
||||
#include "common/buses/usb/USBTransferHelper.h"
|
||||
#include "vendors/OceanOptics/buses/usb/OOIUSBEndpointMaps.h"
|
||||
|
||||
namespace seabreeze {
|
||||
|
||||
class OOIUSBTrivialTransferHelper : public USBTransferHelper {
|
||||
public:
|
||||
OOIUSBTrivialTransferHelper(USB *usb, const OOIUSBBidrectionalEndpointMap &map);
|
||||
virtual ~OOIUSBTrivialTransferHelper();
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif /* OOIUSBTRIVIALTRANSFERHELPER_H */
|
48
Source/OSIF/include/vendors/OceanOptics/buses/usb/QE65000USB.h
vendored
Normal file
48
Source/OSIF/include/vendors/OceanOptics/buses/usb/QE65000USB.h
vendored
Normal file
@ -0,0 +1,48 @@
|
||||
/***************************************************//**
|
||||
* @file QE65000USB.h
|
||||
* @date February 2009
|
||||
* @author Ocean Optics, Inc.
|
||||
*
|
||||
* LICENSE:
|
||||
*
|
||||
* SeaBreeze Copyright (C) 2014, Ocean Optics Inc
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the
|
||||
* "Software"), to deal in the Software without restriction, including
|
||||
* without limitation the rights to use, copy, modify, merge, publish,
|
||||
* distribute, sublicense, and/or sell copies of the Software, and to
|
||||
* permit persons to whom the Software is furnished to do so, subject
|
||||
* to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*******************************************************/
|
||||
|
||||
#ifndef QE65000USB_H
|
||||
#define QE65000USB_H
|
||||
|
||||
#include "vendors/OceanOptics/buses/usb/OOIUSBInterface.h"
|
||||
|
||||
namespace seabreeze {
|
||||
|
||||
class QE65000USB : public OOIUSBInterface {
|
||||
public:
|
||||
QE65000USB();
|
||||
virtual ~QE65000USB();
|
||||
|
||||
/* Inherited from OOIUSBInterface */
|
||||
virtual bool open();
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif /* QE65000USB_H */
|
48
Source/OSIF/include/vendors/OceanOptics/buses/usb/QEProUSB.h
vendored
Normal file
48
Source/OSIF/include/vendors/OceanOptics/buses/usb/QEProUSB.h
vendored
Normal file
@ -0,0 +1,48 @@
|
||||
/***************************************************//**
|
||||
* @file QEProUSB.h
|
||||
* @date Jane 2013
|
||||
* @author Ocean Optics, Inc.
|
||||
*
|
||||
* LICENSE:
|
||||
*
|
||||
* SeaBreeze Copyright (C) 2014, Ocean Optics Inc
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the
|
||||
* "Software"), to deal in the Software without restriction, including
|
||||
* without limitation the rights to use, copy, modify, merge, publish,
|
||||
* distribute, sublicense, and/or sell copies of the Software, and to
|
||||
* permit persons to whom the Software is furnished to do so, subject
|
||||
* to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*******************************************************/
|
||||
|
||||
#ifndef QEPROUSB_H
|
||||
#define QEPROUSB_H
|
||||
|
||||
#include "vendors/OceanOptics/buses/usb/OOIUSBInterface.h"
|
||||
|
||||
namespace seabreeze {
|
||||
|
||||
class QEProUSB : public OOIUSBInterface {
|
||||
public:
|
||||
QEProUSB();
|
||||
virtual ~QEProUSB();
|
||||
|
||||
/* Inherited from OOIUSBInterface */
|
||||
virtual bool open();
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif /* QEPROUSB_H */
|
48
Source/OSIF/include/vendors/OceanOptics/buses/usb/STSUSB.h
vendored
Normal file
48
Source/OSIF/include/vendors/OceanOptics/buses/usb/STSUSB.h
vendored
Normal file
@ -0,0 +1,48 @@
|
||||
/***************************************************//**
|
||||
* @file STSUSB.h
|
||||
* @date January 2011
|
||||
* @author Ocean Optics, Inc.
|
||||
*
|
||||
* LICENSE:
|
||||
*
|
||||
* SeaBreeze Copyright (C) 2014, Ocean Optics Inc
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the
|
||||
* "Software"), to deal in the Software without restriction, including
|
||||
* without limitation the rights to use, copy, modify, merge, publish,
|
||||
* distribute, sublicense, and/or sell copies of the Software, and to
|
||||
* permit persons to whom the Software is furnished to do so, subject
|
||||
* to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*******************************************************/
|
||||
|
||||
#ifndef STSUSB_H
|
||||
#define STSUSB_H
|
||||
|
||||
#include "vendors/OceanOptics/buses/usb/OOIUSBInterface.h"
|
||||
|
||||
namespace seabreeze {
|
||||
|
||||
class STSUSB : public OOIUSBInterface {
|
||||
public:
|
||||
STSUSB();
|
||||
virtual ~STSUSB();
|
||||
|
||||
/* Inherited from OOIUSBInterface */
|
||||
virtual bool open();
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif /* STSUSB_H */
|
48
Source/OSIF/include/vendors/OceanOptics/buses/usb/SparkUSB.h
vendored
Normal file
48
Source/OSIF/include/vendors/OceanOptics/buses/usb/SparkUSB.h
vendored
Normal file
@ -0,0 +1,48 @@
|
||||
/***************************************************//**
|
||||
* @file SparkUSB.h
|
||||
* @date January 2015
|
||||
* @author Ocean Optics, Inc.
|
||||
*
|
||||
* LICENSE:
|
||||
*
|
||||
* SeaBreeze Copyright (C) 2014, Ocean Optics Inc
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the
|
||||
* "Software"), to deal in the Software without restriction, including
|
||||
* without limitation the rights to use, copy, modify, merge, publish,
|
||||
* distribute, sublicense, and/or sell copies of the Software, and to
|
||||
* permit persons to whom the Software is furnished to do so, subject
|
||||
* to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*******************************************************/
|
||||
|
||||
#ifndef SPARKUSB_H
|
||||
#define SPARKUSB_H
|
||||
|
||||
#include "vendors/OceanOptics/buses/usb/OOIUSBInterface.h"
|
||||
|
||||
namespace seabreeze {
|
||||
|
||||
class SparkUSB : public OOIUSBInterface {
|
||||
public:
|
||||
SparkUSB();
|
||||
virtual ~SparkUSB();
|
||||
|
||||
/* Inherited from OOIUSBInterface */
|
||||
virtual bool open();
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif /* SPARKUSB_H */
|
48
Source/OSIF/include/vendors/OceanOptics/buses/usb/TorusUSB.h
vendored
Normal file
48
Source/OSIF/include/vendors/OceanOptics/buses/usb/TorusUSB.h
vendored
Normal file
@ -0,0 +1,48 @@
|
||||
/***************************************************//**
|
||||
* @file TorusUSB.h
|
||||
* @date February 2012
|
||||
* @author Ocean Optics, Inc.
|
||||
*
|
||||
* LICENSE:
|
||||
*
|
||||
* SeaBreeze Copyright (C) 2014, Ocean Optics Inc
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the
|
||||
* "Software"), to deal in the Software without restriction, including
|
||||
* without limitation the rights to use, copy, modify, merge, publish,
|
||||
* distribute, sublicense, and/or sell copies of the Software, and to
|
||||
* permit persons to whom the Software is furnished to do so, subject
|
||||
* to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*******************************************************/
|
||||
|
||||
#ifndef TORUSUSB_H
|
||||
#define TORUSUSB_H
|
||||
|
||||
#include "vendors/OceanOptics/buses/usb/OOIUSBInterface.h"
|
||||
|
||||
namespace seabreeze {
|
||||
|
||||
class TorusUSB : public OOIUSBInterface {
|
||||
public:
|
||||
TorusUSB();
|
||||
virtual ~TorusUSB();
|
||||
|
||||
/* Inherited from OOIUSBInterface */
|
||||
virtual bool open();
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif /* TORUSUSB_H */
|
48
Source/OSIF/include/vendors/OceanOptics/buses/usb/USB2000PlusUSB.h
vendored
Normal file
48
Source/OSIF/include/vendors/OceanOptics/buses/usb/USB2000PlusUSB.h
vendored
Normal file
@ -0,0 +1,48 @@
|
||||
/***************************************************//**
|
||||
* @file USB2000PlusUSB.h
|
||||
* @date May 2009
|
||||
* @author Ocean Optics, Inc.
|
||||
*
|
||||
* LICENSE:
|
||||
*
|
||||
* SeaBreeze Copyright (C) 2014, Ocean Optics Inc
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the
|
||||
* "Software"), to deal in the Software without restriction, including
|
||||
* without limitation the rights to use, copy, modify, merge, publish,
|
||||
* distribute, sublicense, and/or sell copies of the Software, and to
|
||||
* permit persons to whom the Software is furnished to do so, subject
|
||||
* to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*******************************************************/
|
||||
|
||||
#ifndef USB2000PLUSUSB_H
|
||||
#define USB2000PLUSUSB_H
|
||||
|
||||
#include "vendors/OceanOptics/buses/usb/OOIUSBInterface.h"
|
||||
|
||||
namespace seabreeze {
|
||||
|
||||
class USB2000PlusUSB : public OOIUSBInterface {
|
||||
public:
|
||||
USB2000PlusUSB();
|
||||
virtual ~USB2000PlusUSB();
|
||||
|
||||
/* Inherited from OOIUSBInterface */
|
||||
virtual bool open();
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif /* USB2000PLUSUSB_H */
|
48
Source/OSIF/include/vendors/OceanOptics/buses/usb/USB2000USB.h
vendored
Normal file
48
Source/OSIF/include/vendors/OceanOptics/buses/usb/USB2000USB.h
vendored
Normal file
@ -0,0 +1,48 @@
|
||||
/***************************************************//**
|
||||
* @file USB2000USB.h
|
||||
* @date May 2009
|
||||
* @author Ocean Optics, Inc.
|
||||
*
|
||||
* LICENSE:
|
||||
*
|
||||
* SeaBreeze Copyright (C) 2014, Ocean Optics Inc
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the
|
||||
* "Software"), to deal in the Software without restriction, including
|
||||
* without limitation the rights to use, copy, modify, merge, publish,
|
||||
* distribute, sublicense, and/or sell copies of the Software, and to
|
||||
* permit persons to whom the Software is furnished to do so, subject
|
||||
* to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*******************************************************/
|
||||
|
||||
#ifndef USB2000USB_H
|
||||
#define USB2000USB_H
|
||||
|
||||
#include "vendors/OceanOptics/buses/usb/OOIUSBInterface.h"
|
||||
|
||||
namespace seabreeze {
|
||||
|
||||
class USB2000USB : public OOIUSBInterface {
|
||||
public:
|
||||
USB2000USB();
|
||||
virtual ~USB2000USB();
|
||||
|
||||
/* Inherited from OOIUSBInterface */
|
||||
virtual bool open();
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif /* USB2000USB_H */
|
48
Source/OSIF/include/vendors/OceanOptics/buses/usb/USB4000USB.h
vendored
Normal file
48
Source/OSIF/include/vendors/OceanOptics/buses/usb/USB4000USB.h
vendored
Normal file
@ -0,0 +1,48 @@
|
||||
/***************************************************//**
|
||||
* @file USB4000USB.h
|
||||
* @date May 2009
|
||||
* @author Ocean Optics, Inc.
|
||||
*
|
||||
* LICENSE:
|
||||
*
|
||||
* SeaBreeze Copyright (C) 2014, Ocean Optics Inc
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the
|
||||
* "Software"), to deal in the Software without restriction, including
|
||||
* without limitation the rights to use, copy, modify, merge, publish,
|
||||
* distribute, sublicense, and/or sell copies of the Software, and to
|
||||
* permit persons to whom the Software is furnished to do so, subject
|
||||
* to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*******************************************************/
|
||||
|
||||
#ifndef USB4000USB_H
|
||||
#define USB4000USB_H
|
||||
|
||||
#include "vendors/OceanOptics/buses/usb/OOIUSBInterface.h"
|
||||
|
||||
namespace seabreeze {
|
||||
|
||||
class USB4000USB : public OOIUSBInterface {
|
||||
public:
|
||||
USB4000USB();
|
||||
virtual ~USB4000USB();
|
||||
|
||||
/* Inherited from OOIUSBInterface */
|
||||
virtual bool open();
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif /* USB4000USB_H */
|
48
Source/OSIF/include/vendors/OceanOptics/buses/usb/VentanaUSB.h
vendored
Normal file
48
Source/OSIF/include/vendors/OceanOptics/buses/usb/VentanaUSB.h
vendored
Normal file
@ -0,0 +1,48 @@
|
||||
/***************************************************//**
|
||||
* @file VentanaUSB.h
|
||||
* @date January 2013
|
||||
* @author Ocean Optics, Inc.
|
||||
*
|
||||
* LICENSE:
|
||||
*
|
||||
* SeaBreeze Copyright (C) 2014, Ocean Optics Inc
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the
|
||||
* "Software"), to deal in the Software without restriction, including
|
||||
* without limitation the rights to use, copy, modify, merge, publish,
|
||||
* distribute, sublicense, and/or sell copies of the Software, and to
|
||||
* permit persons to whom the Software is furnished to do so, subject
|
||||
* to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*******************************************************/
|
||||
|
||||
#ifndef VENTANAUSB_H
|
||||
#define VENTANAUSB_H
|
||||
|
||||
#include "vendors/OceanOptics/buses/usb/OOIUSBInterface.h"
|
||||
|
||||
namespace seabreeze {
|
||||
|
||||
class VentanaUSB : public OOIUSBInterface {
|
||||
public:
|
||||
VentanaUSB();
|
||||
virtual ~VentanaUSB();
|
||||
|
||||
/* Inherited from OOIUSBInterface */
|
||||
virtual bool open();
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif /* STSUSB_H */
|
Reference in New Issue
Block a user