NetOceanDirect  2.4.0
OceanDirect .NET API
LightSource.h
1 #pragma once
2 #include "ManagedObject.h"
3 
4 namespace NetOceanDirect {
5 
6  public ref class LightSource : public ManagedObject<LightSourceAPI>
7  {
8  LightSource();
9  public:
10  virtual ~LightSource() {};
11  static LightSource^ getInstance();
12 
24  int getCount(long deviceID, int% errorCode);
39  bool hasEnable(long deviceID, int% errorCode, int lightSourceIndex);
54  bool isEnabled(long deviceID, int% errorCode, int lightSourceIndex);
66  void setEnable(long deviceID, int% errorCode, int lightSourceIndex, bool enable);
67 
76  int setLampEnable(long deviceID, int% errorCode, bool state);
77 
78  private:
79  static LightSource^ lsource;
80 
81  };
82 }
Definition: LightSource.h:7
void setEnable(long deviceID, int% errorCode, int lightSourceIndex, bool enable)
Definition: LightSource.cpp:39
bool hasEnable(long deviceID, int% errorCode, int lightSourceIndex)
Definition: LightSource.cpp:25
bool isEnabled(long deviceID, int% errorCode, int lightSourceIndex)
Definition: LightSource.cpp:32
int getCount(long deviceID, int% errorCode)
Definition: LightSource.cpp:18
int setLampEnable(long deviceID, int% errorCode, bool state)
Definition: LightSource.cpp:45
Definition: ManagedObject.h:8