SeaBreeze
Data Structures | Namespaces | Typedefs | Enumerations
Device.h File Reference
#include <vector>
#include <string>
#include "common/buses/Bus.h"
#include "common/buses/BusFamily.h"
#include "common/buses/DeviceLocatorInterface.h"
#include "common/features/Feature.h"
#include "common/features/FeatureFamily.h"
#include "common/protocols/Protocol.h"

Go to the source code of this file.

Data Structures

class  seabreeze::Device
 

Namespaces

 seabreeze
 Encapsulates all SeaBreeze classes.
 

Typedefs

typedef enum usbEndpointType usbEndpointType
 

Enumerations

enum  usbEndpointType {
  kEndpointTypePrimaryOut, kEndpointTypePrimaryIn, kEndpointTypeSecondaryOut, kEndpointTypeSecondaryIn,
  kEndpointTypeSecondaryIn2
}
 

Detailed Description

Date
February 2009
Author
Ocean Optics, Inc.

This is a base class for all sorts of devices. A device is really just an aggregation of features with the protocols and buses required to access them. A Device is intended to represent a single discrete piece of equipment that may have several capabilities (features) inside. The device may communicate to the outside world via seqences of bytes (a protocol) that are transferred across a physical medium (the bus).

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.