10#ifndef ZEP_SERIAL_TUNNEL_CONFIG_HPP_
11#define ZEP_SERIAL_TUNNEL_CONFIG_HPP_
13#include "PortConfig.hpp"
36 TunnelConfig() noexcept {}
48 : port_config_(baud_rate, data_bits, stop_bits, parity), : packetize_mode
49 packetize_mode_(packetize_mode) {}
62 port_config_ = new_value;
76 packetize_mode_ = new_value; }
83 PortConfig port_config_;
88 PacketizeMode packetize_mode_ = PacketizeMode::kNone;
Class to store settings for general serial ports.
Definition PortConfig.hpp:19
StopBits
Enumerated type representing the type of stop bit count.
Definition PortConfig.hpp:24
Parity
パリティチェックの種類を表す列挙型。
Definition PortConfig.hpp:38
Class to store tunneling configuration.
Definition TunnelConfig.hpp:21
PacketizeMode
Enumerated type that represents the type of packetization.
Definition TunnelConfig.hpp:26
void SetPacketizeMode(PacketizeMode new_value) noexcept
Set the packetization type.
Definition TunnelConfig.hpp:75
PacketizeMode GetPacketizeMode() const noexcept
Get the type of packetization.
Definition TunnelConfig.hpp:68
void SetPortConfig(const PortConfig &new_value) noexcept
Get the port configuration.
Definition TunnelConfig.hpp:61
const PortConfig & GetPortConfig() const noexcept
Get port configuration.
Definition TunnelConfig.hpp:54
Namespace for ZEP SDK.
Definition FactoryInterface.hpp:19