Zao SDK for Jetson / libzao-endpoint API リファレンス 1.1.0.0 (2023-08-17)
Loading...
Searching...
No Matches
FactoryInterface.hpp
1#ifndef ZAO_ENDPOINT_SERIAL_FACTORY_INTERFACE_HPP_
2#define ZAO_ENDPOINT_SERIAL_FACTORY_INTERFACE_HPP_
3
4#include <memory>
5#include <string>
6
7#include "TunnelInterface.hpp"
8
9namespace zao {
10namespace endpoint {
11
15namespace serial {
16
21 public:
27 virtual std::unique_ptr<TunnelInterface> CreateTunnel(
28 const std::string& stream_name) = 0;
29
30 virtual ~FactoryInterface() noexcept = default;
31};
32
33} // namespace serial
34} // namespace endpoint
35} // namespace zao
36
37#endif // ZAO_ENDPOINT_SERIAL_FACTORY_INTERFACE_HPP_
シリアル通信トンネリング関連ストリームのファクトリ機能インターフェース
Definition FactoryInterface.hpp:20
virtual std::unique_ptr< TunnelInterface > CreateTunnel(const std::string &stream_name)=0
Tunnelのインスタンスを生成する。
Zao製品共通の名前空間
Definition FactoryInterface.hpp:11