Zao SDK for Jetson / libzep API リファレンス  1.0.0.0 (2023-05-08)
FactoryInterface.hpp
1 #ifndef ZEP_SERIAL_FACTORY_INTERFACE_HPP_
2 #define ZEP_SERIAL_FACTORY_INTERFACE_HPP_
3 
4 #include <memory>
5 #include <string>
6 
7 #include "TunnelInterface.hpp"
8 
9 namespace zep {
10 
14 namespace serial {
15 
20  public:
26  virtual std::unique_ptr<TunnelInterface> CreateTunnel(
27  const std::string& stream_name) = 0;
28 
29  virtual ~FactoryInterface() noexcept = default;
30 };
31 
32 } // namespace serial
33 } // namespace zep
34 
35 #endif // ZEP_SERIAL_FACTORY_INTERFACE_HPP_
virtual std::unique_ptr< TunnelInterface > CreateTunnel(const std::string &stream_name)=0
Tunnelのインスタンスを生成する。
ZEP SDK用名前空間
Definition: FactoryInterface.hpp:10
シリアル通信トンネリング関連ストリームのファクトリ機能インターフェース
Definition: FactoryInterface.hpp:19