Zao SDK for Jetson / libzao-endpoint API リファレンス 1.6.0.0 (2024-12-24)
Loading...
Searching...
No Matches
MonitorInterface.hpp
1#ifndef ZAO_ENDPOINT_MONITOR_MONITOR_INTERFACE_HPP_
2#define ZAO_ENDPOINT_MONITOR_MONITOR_INTERFACE_HPP_
3
4#include <memory>
5
6#include "../Common.hpp"
7#include "ControlInterface.hpp"
8#include "LineData.hpp"
9#include "LineState.hpp"
10#include "ProcessState.hpp"
11#include "StreamData.hpp"
12#include "StreamingState.hpp"
13#include "VideoStat.hpp"
14
15namespace zao {
16namespace endpoint {
17namespace monitor {
18
19template <class T>
20class MonitorCallbackInterface;
21
27 public:
35 ZAO_ENDPOINT_NODISCARD
36 virtual std::shared_ptr<ControlInterface<ProcessState>>
38
46 ZAO_ENDPOINT_NODISCARD
47 virtual std::shared_ptr<ControlInterface<StreamingState>>
49
57 ZAO_ENDPOINT_NODISCARD
58 virtual std::shared_ptr<ControlInterface<LineState>>
60
68 ZAO_ENDPOINT_NODISCARD
69 virtual std::shared_ptr<ControlInterface<LineData>>
71
79 ZAO_ENDPOINT_NODISCARD
80 virtual std::shared_ptr<ControlInterface<VideoStat>>
82
90 ZAO_ENDPOINT_NODISCARD
91 virtual std::shared_ptr<ControlInterface<StreamData>>
93
98 virtual ~MonitorInterface() noexcept = default;
99};
100
108template <class T>
110 public:
124 virtual void OnReceiveInformation(const T& info) = 0;
125
136 virtual void OnClearInformation(T*) = 0;
137
142 virtual ~MonitorCallbackInterface() noexcept = default;
143};
144
145} // namespace monitor
146} // namespace endpoint
147} // namespace zao
148
149#endif // ZAO_ENDPOINT_MONITOR_MONITOR_INTERFACE_HPP_
特定の監視情報に対するコールバックインターフェース
Definition MonitorInterface.hpp:109
virtual ~MonitorCallbackInterface() noexcept=default
MonitorCallbackInterface オブジェクトを破棄する。
virtual void OnReceiveInformation(const T &info)=0
監視している情報を受信した時に呼び出されるコールバック.
virtual void OnClearInformation(T *)=0
監視情報の情報源から切断された時に呼び出されるコールバック。
監視機能を提供するインターフェース
Definition MonitorInterface.hpp:26
virtual ZAO_ENDPOINT_NODISCARD std::shared_ptr< ControlInterface< StreamData > > ObserveStreamData()=0
RASCOW2 ストリームデータの監視を開始する.
virtual ZAO_ENDPOINT_NODISCARD std::shared_ptr< ControlInterface< LineData > > ObserveLineData()=0
RASCOW2 回線データの監視を開始する.
virtual ZAO_ENDPOINT_NODISCARD std::shared_ptr< ControlInterface< VideoStat > > ObserveVideoStat()=0
Video Statistics データの監視を開始する.
virtual ZAO_ENDPOINT_NODISCARD std::shared_ptr< ControlInterface< StreamingState > > ObserveStreamingState()=0
ストリーミング状態の監視を開始する.
virtual ~MonitorInterface() noexcept=default
MonitorInterface オブジェクトを破棄する。
virtual ZAO_ENDPOINT_NODISCARD std::shared_ptr< ControlInterface< ProcessState > > ObserveProcessState()=0
Sink/Souceプロセス状態の監視を開始する.
virtual ZAO_ENDPOINT_NODISCARD std::shared_ptr< ControlInterface< LineState > > ObserveLineState()=0
RASCOW2 回線状態の監視を開始する.
Zao製品共通の名前空間
Definition FactoryInterface.hpp:11