InscoperAPI/API/Base/Config/EthernetConnectionConfig.h¶
Namespaces¶
| Name |
|---|
| Inscoper Inscoper namespace. |
Classes¶
| Name | |
|---|---|
| class | Inscoper::EthernetConnectionConfig EthernetConnectionConfig class provides required information for Ethernet devices configuration. |
Source code¶
#ifndef ETHERNETCONNECTIONCONFIG_H
#define ETHERNETCONNECTIONCONFIG_H
#include <Base/Config/ConnectionConfig.h>
namespace Inscoper {
class INSCOPER_EXPORT EthernetConnectionConfig : public Inscoper::ConnectionConfig {
public:
#ifndef SWIG
EthernetConnectionConfig(EthernetConnectionConfig const &) = delete;
EthernetConnectionConfig(EthernetConnectionConfig &&) = delete;
EthernetConnectionConfig &operator=(EthernetConnectionConfig const &) = delete;
EthernetConnectionConfig &operator=(EthernetConnectionConfig &&) = delete;
#endif
EthernetConnectionConfig();
void fromXML(Inscoper::XMLNode &connectionNode) INSCOPER_EXCEPTION override;
void toXML(Inscoper::XMLNode &xmlParent) INSCOPER_EXCEPTION override;
Inscoper::EConnectionType getType() override;
unsigned char getServerClient() const;
void setServerClient(unsigned char serverClient);
unsigned char getAddressType() const;
void setAddressType(unsigned char addressType);
unsigned int getIpAddress() const;
void setIpAddress(unsigned int ipAddress);
unsigned int getMask() const;
void setMask(unsigned int mask);
unsigned int getGateWAddress() const;
void setGateWAddress(unsigned int gateWAddress);
unsigned short getPort() const;
void setPort(unsigned short port);
private:
unsigned char _serverClient;
unsigned char _addressType;
unsigned int _ipAddress;
unsigned int _mask;
unsigned int _gateWAddress;
unsigned short _port;
};
typedef std::shared_ptr<EthernetConnectionConfig> EthernetConnectionConfigPtr;
} // namespace Inscoper
#endif // ETHERNETCONNECTIONCONFIG_H
Updated on 2026-09-03 at 12:14:17 +0200