GoPxL SDK

- Home
- Files
- Namespace

GoInstance.h
Go to the documentation of this file.
1
9 #ifndef GO_PXL_SDK_GOINSTANCE_H
10 #define GO_PXL_SDK_GOINSTANCE_H
11
12 #include <kApi/Io/kUdpClient.h>
13 #include <kApi/kApi.h>
14
15 namespace GoPxLSdk
16 {
17 class GoPxLSdkClass GoInstance
18 {
19 public:
20 public:
27 GoInstance();
28 ~GoInstance() = default;
29
37 const kIpAddress& GetIpAddress() const;
38
45 void SetIpAddress(kIpAddress ipAddress);
46
54 const std::string& GetAppId() const;
55
62 void SetAppId(std::string appId);
63
71 const std::string& GetAppName() const;
72
79 void SetAppName(std::string appName);
80
88 const std::string& GetAppVersion() const;
89
96 void SetAppVersion(std::string appVersion);
97
105 const k32u& GetControlPort() const;
106
113 void SetControlPort(k32u controlPort);
114
122 const k32u& GetSerialNumber() const;
123
130 void SetSerialNumber(k32u serialNumber);
131
139 const std::string& GetDeviceModel() const;
140
147 void SetDeviceModel(std::string deviceModel);
148
156 const bool GetIsDhcp() const;
157
164 void SetIsDhcp(bool isDhcp);
165
173 const kIpAddress& GetGateway() const;
174
181 void SetGateway(kIpAddress gateway);
182
190 const k32u& GetGdpPort() const;
191
198 void SetGdpPort(k32u gdpPort);
199
208 const bool GetIsAddressConflict() const;
209
217 void SetIsAddressConflict(bool isAddressConflict);
218
227 const bool GetIsRemote() const;
228
236 void SetIsRemote(bool isRemote);
237
245 const kIpAddress& GetMask() const;
246
253 void SetMask(kIpAddress mask);
254
262 const k32u& GetWebPort() const;
263
270 void SetWebPort(k32u webPort);
271
272
273 private:
274 kIpAddress ipAddress;
275 std::string appId;
276 std::string appName;
277 std::string appVersion;
278 k32u controlPort;
279 k32u serialNumber;
280 std::string deviceModel;
281 bool isDhcp;
282 kIpAddress gateway;
283 k32u gdpPort;
284 bool isAddressConflict;
285 bool isRemote;
286 kIpAddress mask;
287 k32u webPort;
288 };
289 }
290 #endif
GoPxLSdkClass
#define GoPxLSdkClass
Definition: Def.h:35
GoPxLSdk::GoInstance
Definition: GoInstance.h:17
GoPxLSdk
Definition: Def.h:46