Zao SDK for Jetson / libzao-endpoint API リファレンス 1.6.0.0 (2024-12-24)
Loading...
Searching...
No Matches
ProcessState.hpp
1#ifndef ZAO_ENDPOINT_MONITOR_PROCESS_STATE_HPP_
2#define ZAO_ENDPOINT_MONITOR_PROCESS_STATE_HPP_
3
4namespace zao {
5namespace endpoint {
6namespace monitor {
7
13 public:
19
43 ProcessState(bool video_source, bool embedded_audio_source,
44 bool external_audio_source, bool external_audio_sink,
45 bool serial_proxy, bool ip_proxy)
46 : video_source_(video_source),
47 embedded_audio_source_(embedded_audio_source),
48 external_audio_source_(external_audio_source),
49 external_audio_sink_(external_audio_sink),
50 serial_proxy_(serial_proxy),
51 ip_proxy_(ip_proxy) {}
52
57 bool HasVideoSource() const noexcept { return video_source_; }
58
63 bool HasEmbeddedAudioSource() const noexcept {
64 return embedded_audio_source_;
65 }
66
71 bool HasExternalAudioSource() const noexcept {
72 return external_audio_source_;
73 }
74
79 bool HasExternalAudioSink() const noexcept { return external_audio_sink_; }
80
85 bool HasSerialProxy() const noexcept { return serial_proxy_; }
86
91 bool HasIpProxy() const noexcept { return ip_proxy_; }
92
93 private:
98 bool video_source_ = false;
99
104 bool embedded_audio_source_ = false;
105
110 bool external_audio_source_ = false;
111
116 bool external_audio_sink_ = false;
117
122 bool serial_proxy_ = false;
123
128 bool ip_proxy_ = false;
129};
130
131} // namespace monitor
132} // namespace endpoint
133} // namespace zao
134
135#endif // ZAO_ENDPOINT_MONITOR_PROCESS_STATE_HPP_
Sink/Sourceプロセス状態を表すクラス。
Definition ProcessState.hpp:12
bool HasIpProxy() const noexcept
IPトンネリングのプロキシプロセスが接続されているか否か。
Definition ProcessState.hpp:91
bool HasSerialProxy() const noexcept
シリアルトンネリングのプロキシプロセスが接続されているか否か。
Definition ProcessState.hpp:85
ProcessState(bool video_source, bool embedded_audio_source, bool external_audio_source, bool external_audio_sink, bool serial_proxy, bool ip_proxy)
ProcessState オブジェクトを初期値指定で構築する。
Definition ProcessState.hpp:43
bool HasVideoSource() const noexcept
映像情報源の供給プロセスが接続されているか否か。
Definition ProcessState.hpp:57
bool HasExternalAudioSource() const noexcept
外部音声情報源の供給プロセスが接続されているか否か。
Definition ProcessState.hpp:71
ProcessState()
ProcessState オブジェクトをデフォルト構築する。
Definition ProcessState.hpp:18
bool HasExternalAudioSink() const noexcept
外部音声情報の受信プロセスが接続されているか否か。
Definition ProcessState.hpp:79
bool HasEmbeddedAudioSource() const noexcept
エンベデッド音声情報源の供給プロセスが接続されているか否か。
Definition ProcessState.hpp:63
Zao製品共通の名前空間
Definition FactoryInterface.hpp:11