NetOceanDirectLighthouse  3.1.1
OceanDirect Lighthouse .NET API
NetLighthouseLed.h
1 #pragma once
2 #include "stdafx.h"
3 #include "ManagedObject.h"
4 
5 using oceandirect::api::LHLedAPI;
6 using NetOceanDirect::ManagedObject;
7 using NetOceanDirect::MemoryCleanup;
8 
9 namespace NetLighthouse {
10  // force the instantiation here...otherwise we get build errors
11  typedef ManagedObject<LHLedAPI, MemoryCleanup::noDeletion> LedBase;
12 
13  public ref class NetLighthouseLed :
14  public LedBase {
15  protected:
17  public:
18  virtual ~NetLighthouseLed() {};
19  static NetLighthouseLed^ getInstance();
20 
27  virtual void setLedState(unsigned int deviceID, int% errorCode, net_lh_enable_state_t state);
28 
35  virtual net_lh_enable_state_t getLedState(unsigned int deviceID, int %errorCode);
36 
37  protected:
38  static NetLighthouseLed^ led;
39 
40  };
41 }
Definition: NetLighthouseLed.h:14
virtual void setLedState(unsigned int deviceID, int% errorCode, net_lh_enable_state_t state)
Definition: NetLighthouseLed.cpp:23
virtual net_lh_enable_state_t getLedState(unsigned int deviceID, int %errorCode)
Definition: NetLighthouseLed.cpp:18