OceanDirect  1.30.1-rc.4
OceanDirect C++/C API
SingleStrobeFeatureAdapter.h
1 /*****************************************************
2  * @file SingleStrobeFeatureAdapter.h
3  * @date January 2022
4  * @author Ocean Optics, Inc.
5  *
6  * This is a wrapper that allows access to OceanDirect
7  * ContinuousStrobeFeatureInterface instances.
8  */
9  /************************************************************************
10  *
11  * OCEAN INSIGHT CONFIDENTIAL
12  * __________________
13  *
14  * [2018] - [2022] 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_SINGLE_STROBE_FEATURE_ADAPTER_H
30 #define OCEANDIRECT_SINGLE_STROBE_FEATURE_ADAPTER_H
31 
32 #include "api/adapters/FeatureAdapterTemplate.h"
33 #include "vendors/OceanOptics/features/single_strobe/SingleStrobeFeatureInterface.h"
34 
35 namespace oceandirect {
36  namespace api {
37 
39  : public FeatureAdapterTemplate<SingleStrobeFeatureInterface> {
40  public:
41  SingleStrobeFeatureAdapter(SingleStrobeFeatureInterface *intf,
42  const FeatureFamily &f,
43  Protocol *p, Bus *b, unsigned short instanceIndex);
44  virtual ~SingleStrobeFeatureAdapter() = default;
45 
46  void setSingleStrobeDelayMicroseconds(int *errorCode, int microseconds);
47 
48  void setSingleStrobeWidthMicroseconds(int *errorCode, int microseconds);
49 
50  void setSingleStrobeEnable(int *errorCode, bool enable);
51 
52  bool getSingleStrobeEnable(int *errorCode);
53 
54  unsigned long getSingleStrobeDelayMicroseconds(int *errorCode);
55 
56  unsigned long getSingleStrobeWidthMicroseconds(int *errorCode);
57 
58  unsigned long getSingleStrobeDelayMinimumMicroseconds(int *errorCode);
59 
60  unsigned long getSingleStrobeDelayMaximumMicroseconds(int *errorCode);
61 
62  unsigned long getSingleStrobeWidthMinimumMicroseconds(int *errorCode);
63 
64  unsigned long getSingleStrobeWidthMaximumMicroseconds(int *errorCode);
65 
66  unsigned long getSingleStrobeCycleMaximumMicroseconds(int *errorCode);
67 
68  unsigned long getSingleStrobeDelayIncrementMicroseconds(int *errorCode);
69 
70  unsigned long getSingleStrobeWidthIncrementMicroseconds(int *errorCode);
71 
72  };
73  }
74 }
75 
76 #endif
Definition: FeatureAdapterTemplate.h:44
Definition: SingleStrobeFeatureAdapter.h:39
This is an interface to Advance features of OceanDirect that allow access to less common controls....
Definition: AcquisitionDelayFeatureAdapter.h:35