Zao SDK for Jetson / libzep API Reference
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
zep::serial::TunnelConfig Class Reference

Class to store tunneling configuration. More...

#include <TunnelConfig.hpp>

Public Types

enum class  PacketizeMode {
  kNone , kCOBS , kCOBS , kNone ,
  kCOBS
}
 Enumerated type that represents the type of packetization.
 
enum class  PacketizeMode {
  kNone , kCOBS , kCOBS , 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

Class to store tunneling configuration.

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

Constructor & Destructor Documentation

◆ TunnelConfig() [1/2]

zep::serial::TunnelConfig::TunnelConfig ( )
inlinenoexcept

SerialTunnelConfigオブジェクトをデフォルト構築する。

◆ TunnelConfig() [2/2]

zep::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パリティ

Member Function Documentation

◆ SetPacketizeMode()

void zep::serial::TunnelConfig::SetPacketizeMode ( PacketizeMode  new_value)
inlinenoexcept

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

Parameters
new_valueパケタイズの種類

◆ SetPortConfig()

void zep::serial::TunnelConfig::SetPortConfig ( const PortConfig new_value)
inlinenoexcept

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

Parameters
new_valueポートの設定

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