OceanDirectLighthouseC++
3.1.3
OceanDirect Lighthouse C++/C API
LampAPI.h
Go to the documentation of this file.
1
/*****************************************************
2
* @file LampAPI.h
3
* @date Sept 2020
4
* @author Ocean Optics, Inc.
5
*
6
* This is an interface to OceanDirect that allows
7
* the user to connect to devices over USB and other buses.
8
* This is intended as a usable and extensible API.
9
*/
10
/************************************************************************
11
*
12
* OCEAN INSIGHT CONFIDENTIAL
13
* __________________
14
*
15
* [2018] - [2020] Ocean Insight Incorporated
16
* All Rights Reserved.
17
*
18
* NOTICE: All information contained herein is, and remains
19
* the property of Ocean Insight Incorporated and its suppliers,
20
* if any. The intellectual and technical concepts contained
21
* herein are proprietary to Ocean Insight Incorporated
22
* and its suppliers and may be covered by U.S. and Foreign Patents,
23
* patents in process, and are protected by trade secret or copyright law.
24
* Dissemination of this information or reproduction of this material
25
* is strictly forbidden unless prior written permission is obtained
26
* from Ocean Insight Incorporated.
27
*
28
**************************************************************************/
29
#pragma once
30
31
#include "api/DllDecl.h"
32
39
namespace
oceandirect
{
40
namespace
api {
41
42
class
DLL_DECL
LampAPI
{
43
public
:
44
LampAPI
();
45
virtual
~LampAPI
();
46
static
LampAPI
*
getInstance
();
47
48
static
void
shutdown
();
49
61
virtual
void
setStrobeLampEnable
(
long
deviceID,
int
*errorCode,
bool
enable);
62
74
virtual
bool
isStrobeLampEnable
(
long
deviceID,
int
*errorCode);
75
76
protected
:
77
static
LampAPI
*
instance
;
78
79
};
80
}
81
}
82
oceandirect::api::LampAPI
Definition
LampAPI.h:42
oceandirect::api::LampAPI::~LampAPI
virtual ~LampAPI()
oceandirect::api::LampAPI::isStrobeLampEnable
virtual bool isStrobeLampEnable(long deviceID, int *errorCode)
oceandirect::api::LampAPI::shutdown
static void shutdown()
oceandirect::api::LampAPI::instance
static LampAPI * instance
Definition
LampAPI.h:77
oceandirect::api::LampAPI::setStrobeLampEnable
virtual void setStrobeLampEnable(long deviceID, int *errorCode, bool enable)
oceandirect::api::LampAPI::getInstance
static LampAPI * getInstance()
oceandirect::api::LampAPI::LampAPI
LampAPI()
oceandirect
This is an interface to OceanDirect that allows the user to connect to devices over USB and other bus...
Definition
OceanDirectAPI.h:147
include
api
advanced
LampAPI.h
Generated on Sun Dec 15 2024 01:27:52 for OceanDirectLighthouseC++ by
1.12.0