Zao SDK for Jetson / libzao-endpoint API リファレンス 1.6.0.0 (2024-12-24)
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
16namespace serial {
17
25 public:
36 virtual std::shared_ptr<TunnelInterface> CreateTunnel(
37 const std::string& stream_name) = 0;
38
43 virtual ~FactoryInterface() noexcept = default;
44};
45
46} // namespace serial
47} // namespace endpoint
48} // namespace zao
49
50#endif // ZAO_ENDPOINT_SERIAL_FACTORY_INTERFACE_HPP_
シリアル通信トンネリング関連ストリームの ファクトリ機能インターフェース
Definition FactoryInterface.hpp:24
virtual std::shared_ptr< TunnelInterface > CreateTunnel(const std::string &stream_name)=0
Tunnelのインスタンスを生成する。
virtual ~FactoryInterface() noexcept=default
FactoryInterface オブジェクトを破棄する。
Zao製品共通の名前空間
Definition FactoryInterface.hpp:11