10#ifndef ZEP_SERIAL_TUNNEL_CONFIG_HPP_
11#define ZEP_SERIAL_TUNNEL_CONFIG_HPP_
13#include "PortConfig.hpp"
48 : port_config_(baud_rate, data_bits, stop_bits, parity),
49 packetize_mode_(packetize_mode) {}
62 port_config_ = new_value;
76 packetize_mode_ = new_value;
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
PacketizeMode
Enumerated type that represents the type of packetization.
Definition TunnelConfig.hpp:26
const PortConfig & GetPortConfig() const noexcept
ポートの設定を取得する。
Definition TunnelConfig.hpp:54
PacketizeMode GetPacketizeMode() const noexcept
パケタイズの種類を取得する。
Definition TunnelConfig.hpp:68
void SetPacketizeMode(PacketizeMode new_value) noexcept
パケタイズの種類を設定する。
Definition TunnelConfig.hpp:75
TunnelConfig() noexcept
SerialTunnelConfigオブジェクトをデフォルト構築する。
Definition TunnelConfig.hpp:36
TunnelConfig(int baud_rate, int data_bits, PortConfig::StopBits stop_bits, PortConfig::Parity parity, PacketizeMode packetize_mode) noexcept
SerialPortConfigオブジェクトを初期値付きで構築する。
Definition TunnelConfig.hpp:46
void SetPortConfig(const PortConfig &new_value) noexcept
ポートの設定を取得する。
Definition TunnelConfig.hpp:61
class zep::serial::TunnelConfig TunnelConfig() noexcept
Default construction of the SerialTunnelConfig object.
Definition TunnelConfig.hpp:36
Namespace for ZEP SDK.
Definition FactoryInterface.hpp:19