NetOceanDirect 3.1.3
OceanDirect .NET API
LightSource.h
Go to the documentation of this file.
1#pragma once
2#include "ManagedObject.h"
3#include "api/advanced/LightSourceAPI.h"
4using oceandirect::api::LightSourceAPI;
5
6namespace NetOceanDirect {
7
8 public ref class LightSource : public ManagedObject<LightSourceAPI>
9 {
10 protected:
12 public:
13 LightSource(LightSourceAPI* instance);
14
15 virtual ~LightSource() {};
16 static LightSource^ getInstance();
17
29 int getCount(long deviceID, int% errorCode);
44 bool hasEnable(long deviceID, int% errorCode, int lightSourceIndex);
59 bool isEnabled(long deviceID, int% errorCode, int lightSourceIndex);
71 void setEnable(long deviceID, int% errorCode, int lightSourceIndex, bool enable);
72
81 int setLampEnable(long deviceID, int% errorCode, bool state);
82
83 protected:
85
86 };
87}
Definition LightSource.h:9
void setEnable(long deviceID, int% errorCode, int lightSourceIndex, bool enable)
Definition LightSource.cpp:42
static LightSource getInstance()
Definition LightSource.cpp:14
bool hasEnable(long deviceID, int% errorCode, int lightSourceIndex)
Definition LightSource.cpp:28
bool isEnabled(long deviceID, int% errorCode, int lightSourceIndex)
Definition LightSource.cpp:35
virtual ~LightSource()
Definition LightSource.h:15
LightSource()
Definition LightSource.cpp:7
static LightSource lsource
Definition LightSource.h:84
int getCount(long deviceID, int% errorCode)
Definition LightSource.cpp:21
int setLampEnable(long deviceID, int% errorCode, bool state)
Definition LightSource.cpp:48
Definition ManagedObject.h:16
Definition Advanced.h:6