DCS_SDK  2.0.0
TCP/IP control library for Ai DCS-100E and DCS-103E
DCS_Info.h
Go to the documentation of this file.
1 #ifndef __DCS_INFO_H__
2 #define __DCS_INFO_H__
3 
4 #if defined(_WIN32) && defined(BUILD_SHARED)
5  #ifdef DCS_SDK_EXPORT
6  #define DCS_EXPORT __declspec(dllexport)
7  #else
8  #define DCS_EXPORT __declspec(dllexport)
9  #endif
10 #else
11  #define DCS_EXPORT
12 #endif
13 
14 #include <vector>
15 #include <string>
16 #include "DCS100.h"
17 
18 namespace AdvancedIllumination
19 {
20 
22  enum class DCS_Type
23  {
25  DCS_100E,
27  DCS_103E
28  };
29 
30 
33  {
34  public:
35  DCS_Info();
36  ~DCS_Info();
37 
38  static DCS_Info parse(const std::string& idn, std::string host);
39 
40  static std::vector<DCS_Info> findAllInNetwork(bool global = false);
41 
42  const std::string& name() const;
43  const std::string& lighthead() const;
44  const std::string& firmware() const;
45  const std::string& host() const;
46 
47  DCS_Type type() const;
48 
49  private:
50 
51  std::string _name;
52  std::string _firmware;
53  std::string _lighthead;
54  std::string _host;
55  DCS_Type _type;
56 
57  DCS_Info(const std::string& name, const std::string& firm, const DCS_Type type);
58  };
59 }
60 
61 #endif
AdvancedIllumination::DCS_Type::DCS_100E
@ DCS_100E
An enum constant representing the DCS-100E (single output, three channel) device.
AdvancedIllumination::DCS_Type
DCS_Type
Values that represents the type of DCS connected.
Definition: DCS_Info.h:22
AdvancedIllumination::DCS_Type::DCS_103E
@ DCS_103E
An enum constant representing the DCS-103E (three output, single channel per output) device.
DCS100.h
AdvancedIllumination
Namespace containing AI-created functions and classes.
Definition: DCS100.h:20
DCS_EXPORT
#define DCS_EXPORT
Definition: DCS_Info.h:11
AdvancedIllumination::DCS_Info
Class containing information about a DCS-100 device.
Definition: DCS_Info.h:32