13 #ifndef __BAOSLIB_IPV4INTERFACE_H__
14 #define __BAOSLIB_IPV4INTERFACE_H__
33 namespace wz::baos::ip
58 BaosIp4Device(
const std::string& ip4Address, std::uint16_t port = 12004)
59 : ip4Address_{ip4Address},
75 ip4Address_ = ip4Address;
79 deviceInfoLoaded_ =
false;
91 std::string ip4Address_;
93 std::unique_ptr<Ip4Driver> driver_;
94 WZLOGGER(
"BaosIp4Device", LVL_DEBUG);
The high level API for BAOS devices.
Global BAOS protocol defines and types.
This class represents a BAOS device.
Definition: BaosDevice.h:58
Represents a BAOS IP4 device with an underlying TCP connection.
Definition: BaosIpv4Device.h:48
BaosConnection_UPtr getConnection() override
Get a BaosConnection to the device.
BaosIp4Device(const std::string &ip4Address, std::uint16_t port=12004)
Construct a new Baos Ip 4 Device object from an ip address and a port.
Definition: BaosIpv4Device.h:58
void setConnectionData(const std::string &ip4Address, std::uint16_t port=12004)
Construct a new Baos Ip 4 Device object from an ip address and a port.
Definition: BaosIpv4Device.h:73
Global types and configuration for the whole SDK.
std::unique_ptr< BaosConnection > BaosConnection_UPtr
Alias for a std::unique pointer of a BaosConnection.
Definition: BaosDevice.h:43