Zao SDK for Jetson / libzao-endpoint API リファレンス 1.5.0.0 (2024-09-25)
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
zao::endpoint::serial::TunnelConfig Class Reference

トンネリング設定を格納するクラス More...

#include <TunnelConfig.hpp>

Public Types

enum class  PacketizeMode { kNone , kCOBS }
 パケタイズの種類を表す列挙型
 

Public Member Functions

 TunnelConfig () noexcept
 SerialTunnelConfigオブジェクトをデフォルト構築する。
 
 TunnelConfig (int baud_rate, int data_bits, PortConfig::StopBits stop_bits, PortConfig::Parity parity, PacketizeMode packetize_mode) noexcept
 SerialPortConfigオブジェクトを初期値付きで構築する。
 
const PortConfigGetPortConfig () const noexcept
 ポートの設定を取得する。
 
void SetPortConfig (const PortConfig &new_value) noexcept
 ポートの設定を取得する。
 
PacketizeMode GetPacketizeMode () const noexcept
 パケタイズの種類を取得する。
 
void SetPacketizeMode (PacketizeMode new_value) noexcept
 パケタイズの種類を設定する。
 

Detailed Description

トンネリング設定を格納するクラス

Constructor & Destructor Documentation

◆ TunnelConfig()

zao::endpoint::serial::TunnelConfig::TunnelConfig ( int  baud_rate,
int  data_bits,
PortConfig::StopBits  stop_bits,
PortConfig::Parity  parity,
PacketizeMode  packetize_mode 
)
inlinenoexcept

SerialPortConfigオブジェクトを初期値付きで構築する。

Parameters
baud_rateボーレート [bps]
data_bitsデータ(キャラクタ)のビット数 [bit]
stop_bitsストップビット数
parityパリティ
packetize_modeパケタイズモード

Member Function Documentation

◆ SetPacketizeMode()

void zao::endpoint::serial::TunnelConfig::SetPacketizeMode ( PacketizeMode  new_value)
inlinenoexcept

パケタイズの種類を設定する。

Parameters
new_valueパケタイズの種類

◆ SetPortConfig()

void zao::endpoint::serial::TunnelConfig::SetPortConfig ( const PortConfig new_value)
inlinenoexcept

ポートの設定を取得する。

Parameters
new_valueポートの設定

The documentation for this class was generated from the following file: