Zao SDK for Jetson / libzao-endpoint API リファレンス 1.2.0.0 (2023-10-30)
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 "StreamingState.hpp"
12#include "VideoStat.hpp"
13
14namespace zao {
15namespace endpoint {
16namespace monitor {
17
18template <class T>
19class MonitorCallbackInterface;
20
25 public:
31 ZAO_ENDPOINT_NODISCARD
32 virtual std::shared_ptr<ControlInterface<ProcessState>>
34
40 ZAO_ENDPOINT_NODISCARD
41 virtual std::shared_ptr<ControlInterface<StreamingState>>
43
49 ZAO_ENDPOINT_NODISCARD
50 virtual std::shared_ptr<ControlInterface<LineState>> ObserveLineState() = 0;
51
57 ZAO_ENDPOINT_NODISCARD
58 virtual std::shared_ptr<ControlInterface<LineData>> ObserveLineData() = 0;
59
65 ZAO_ENDPOINT_NODISCARD
66 virtual std::shared_ptr<ControlInterface<VideoStat>> ObserveVideoStat() = 0;
67
68 virtual ~MonitorInterface() noexcept = default;
69};
70
76template <class T>
78 public:
89 virtual void OnReceiveInformation(const T& info) = 0;
90
91 virtual ~MonitorCallbackInterface() noexcept = default;
92};
93
94} // namespace monitor
95} // namespace endpoint
96} // namespace zao
97
98#endif // ZAO_ENDPOINT_MONITOR_MONITOR_INTERFACE_HPP_
特定の監視情報に対するコールバックインターフェース
Definition MonitorInterface.hpp:77
virtual void OnReceiveInformation(const T &info)=0
監視している情報を受信した時に呼び出されるコールバック.
監視機能を提供するインターフェース
Definition MonitorInterface.hpp:24
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 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