Zao SDK for Jetson / libzao-endpoint API リファレンス 1.6.0.0 (2024-12-24)
Loading...
Searching...
No Matches
ControlInterface.hpp
1#ifndef ZAO_ENDPOINT_MONITOR_CONTROL_INTERFACE_HPP_
2#define ZAO_ENDPOINT_MONITOR_CONTROL_INTERFACE_HPP_
3
4#include <memory>
5
6#include "../EventSourceInterface.hpp"
7
8namespace zao {
9namespace endpoint {
10namespace monitor {
11
12template <class T>
14
20 public:
28 virtual void Unobserve() = 0;
29
37 virtual bool IsObserving() const noexcept = 0;
38
43 virtual ~ControlCommonInterface() noexcept = default;
44};
45
53template <class T>
57 public:
72 virtual bool GetLatest(T& buffer) = 0;
73
78 virtual ~ControlInterface() noexcept = default;
79};
80
81} // namespace monitor
82} // namespace endpoint
83} // namespace zao
84
85#endif // ZAO_ENDPOINT_MONITOR_CONTROL_INTERFACE_HPP_
イベントを生成するクラスの共通インターフェース
Definition EventSourceInterface.hpp:31
監視制御オブジェクトの共通インターフェース。
Definition ControlInterface.hpp:19
virtual bool IsObserving() const noexcept=0
監視中か否かを取得する。
virtual void Unobserve()=0
監視を停止する。
特定の監視情報に対する監視の制御を行うインターフェース
Definition ControlInterface.hpp:56
virtual ~ControlInterface() noexcept=default
ControlInterface オブジェクトを破棄する。
virtual bool GetLatest(T &buffer)=0
最後に受信した情報を取得する。
特定の監視情報に対するコールバックインターフェース
Definition MonitorInterface.hpp:109
Zao製品共通の名前空間
Definition FactoryInterface.hpp:11