NetOceanDirect  3.1.1
OceanDirect .NET API
Shutter.h
1 #pragma once
2 #include "ManagedObject.h"
3 #include "api/advanced/ShutterAPI.h"
4 
5 using oceandirect::api::ShutterAPI;
6 
7 namespace NetOceanDirect {
8 
9  public ref class Shutter : public ManagedObject<ShutterAPI>
10  {
11  protected:
12  Shutter();
13  public:
14  Shutter(ShutterAPI* instance);
15 
16  virtual ~Shutter() {};
17  static Shutter^ getInstance();
18 
30  void setShutterOpen(long deviceID, int% errorCode, bool opened);
31 
43  bool getShutterState(long deviceID, int% errorCode);
44 
45  protected:
46  static Shutter^ shutter;
47  };
48 
49 }
50 
Definition: ManagedObject.h:16
Definition: Shutter.h:10
void setShutterOpen(long deviceID, int% errorCode, bool opened)
Definition: Shutter.cpp:25
bool getShutterState(long deviceID, int% errorCode)
Definition: Shutter.cpp:31