OceanDirect  1.30.1-rc.4
OceanDirect C++/C API
FeatureAdapterInterface.h
1 /*****************************************************
2  * @file FeatureAdapterInterface.h
3  * @date February 2018
4  * @author Ocean Optics, Inc.
5  *
6  * This interface allows device features to be treated
7  * consistently regardless of the actual capabilities.
8  */
9  /************************************************************************
10  *
11  * OCEAN INSIGHT CONFIDENTIAL
12  * __________________
13  *
14  * [2018] - [2020] Ocean Insight Incorporated
15  * All Rights Reserved.
16  *
17  * NOTICE: All information contained herein is, and remains
18  * the property of Ocean Insight Incorporated and its suppliers,
19  * if any. The intellectual and technical concepts contained
20  * herein are proprietary to Ocean Insight Incorporated
21  * and its suppliers and may be covered by U.S. and Foreign Patents,
22  * patents in process, and are protected by trade secret or copyright law.
23  * Dissemination of this information or reproduction of this material
24  * is strictly forbidden unless prior written permission is obtained
25  * from Ocean Insight Incorporated.
26  *
27  **************************************************************************/
28 
29 #ifndef OCEANDIRECT_FEATUREADAPTERINTERFACE_H
30 #define OCEANDIRECT_FEATUREADAPTERINTERFACE_H
31 
32 #include "common/features/FeatureFamily.h"
33 
34 namespace oceandirect {
35  namespace api {
36 
38  public:
39  virtual ~FeatureAdapterInterface() = 0;
40 
41  /* This gets a semi-unique integer ID for this feature instance */
42  virtual long getID() = 0;
43 
44  /* Gets the general category of the feature, if any */
45  virtual FeatureFamily &getFeatureFamily() = 0;
46  };
47 
48  /* Default empty destructor for otherwise abstract class */
49  inline FeatureAdapterInterface::~FeatureAdapterInterface() { }
50  }
51 }
52 
53 #endif
Definition: FeatureAdapterInterface.h:37
This is an interface to Advance features of OceanDirect that allow access to less common controls....
Definition: AcquisitionDelayFeatureAdapter.h:35