GoPxL SDK
GoInstance.h
Go to the documentation of this file.
1 
10 #ifndef GO_PXL_SDK_GOINSTANCE_H
11 #define GO_PXL_SDK_GOINSTANCE_H
12 
13 #include <kApi/Io/kUdpClient.h>
14 #include <kApi/kApi.h>
15 
16 namespace GoPxLSdk
17 {
19 {
20 public:
21 public:
28  GoInstance();
29  ~GoInstance() = default;
30 
38  const kIpAddress& GetIpAddress() const;
39 
47  void SetIpAddress(kIpAddress ipAddress);
48 
56  const std::string& GetAppId() const;
57 
65  void SetAppId(std::string appId);
66 
74  const std::string& GetAppName() const;
75 
83  void SetAppName(std::string appName);
84 
92  const std::string& GetAppVersion() const;
93 
101  void SetAppVersion(std::string appVersion);
102 
110  const k16u GetControlPort() const;
111 
119  void SetControlPort(k16u controlPort);
120 
128  const k32u& GetSerialNumber() const;
129 
137  void SetSerialNumber(k32u serialNumber);
138 
146  const std::string& GetDeviceModel() const;
147 
155  void SetDeviceModel(std::string deviceModel);
156 
164  const bool GetIsDhcp() const;
165 
173  void SetIsDhcp(bool isDhcp);
174 
182  const kIpAddress& GetGateway() const;
183 
191  void SetGateway(kIpAddress gateway);
192 
200  const k16u GetGdpPort() const;
201 
209  void SetGdpPort(k16u gdpPort);
210 
219  const bool GetIsAddressConflict() const;
220 
229  void SetIsAddressConflict(bool isAddressConflict);
230 
239  const bool GetIsRemote() const;
240 
249  void SetIsRemote(bool isRemote);
250 
258  const kIpAddress& GetMask() const;
259 
267  void SetMask(kIpAddress mask);
268 
276  const k16u GetWebPort() const;
277 
285  void SetWebPort(k16u webPort);
286 
287 
288 private:
289  kIpAddress ipAddress;
290  std::string appId;
291  std::string appName;
292  std::string appVersion;
293  k16u controlPort;
294  k32u serialNumber;
295  std::string deviceModel;
296  bool isDhcp;
297  kIpAddress gateway;
298  k16u gdpPort;
299  bool isAddressConflict;
300  bool isRemote;
301  kIpAddress mask;
302  k16u webPort;
303 };
304 }
305 #endif
#define GoPxLSdkClass
Definition: Def.h:35
Definition: GoInstance.h:18
Definition: Def.h:46