Visioscan Set SDK Libraries 1.3.5
Visioscan Set SDK Help documentation file for C++ and C++/CLI
 
Loading...
Searching...
No Matches
EthernetSettings.h
1#pragma once
2#include "BaseSettings.h"
3
4#include<string>;
5
6
7#ifdef STARFLEETTOOLBOX_EXPORTS
8#define ETHSETTENCAPS __declspec(dllexport)
9#else
10#define ETHSETTENCAPS __declspec(dllimport)
11#endif
12
13
14using namespace std;
15
19class ETHSETTENCAPS EthernetSettings :
20 public BaseSettings
21{
22public:
27
34 EthernetSettings(string pIp, int pTcpPort, int pUdpPort);
35
43 EthernetSettings(string pIp, int pTcpPort, int pUdpPort, int pDataTimeout);
44
49
50
55 string GetIp();
56
61 int GetTcpPort();
62
67 int GetUdpPort();
68
73 void SetIp(string pIp);
74
79 void SetTcpPort(int pTcpPort);
80
85 void SetUdpPort(int pUdpPort);
86
87
88private:
89 string _ip;
90 int _tcpPort;
91 int _udpPort;
92};
93
The ETHERNET settings encapsulation for ETHERNET communication.
Definition EthernetSettings.h:21