Zao SDK for Jetson / libzep API Reference
Loading...
Searching...
No Matches
SourceStreamInterface.hpp
1/*
2 * Copyright (c) 2022-2023, Soliton Systems K.K. All rights reserved.
3 * Use in source and binary forms, with or without modification,
4 * is permitted provided that the following a condition is met:
5 *
6 * Use is permitted only in accordance with the terms and
7 * conditions set forth in the Software License Agreement available
8 * at https://zao-sdk.org/license-agreement/.
9 */
10#ifndef ZEP_SOURCE_STREAM_INTERFACE_HPP_
11#define ZEP_SOURCE_STREAM_INTERFACE_HPP_
12
13namespace zep {
14
18class SourceStreamInterface {
19 public:
26 virtual bool GetStopSupplyStatus() const noexcept = 0;
27
28 virtual ~SourceStreamInterface() noexcept = default;
29};
30
35 public:
42 virtual void OnChangeStopSupplyStatus(bool value) {}
43
44 virtual ~SourceStreamCallbackInterface() noexcept = default;
45};
46
47} // namespace zep
48
49#endif // ZEP_SOURCE_STREAM_INTERFACE_HPP_
Common callback interface for source-side stream functions.
Definition SourceStreamInterface.hpp:34
virtual void OnChangeStopSupplyStatus(bool value)
データ供給抑制状態が変化した時に呼び出されるコールバック。
Definition SourceStreamInterface.hpp:42
Source-side stream function interface.
Definition SourceStreamInterface.hpp:18
virtual bool GetStopSupplyStatus() const noexcept=0
データ供給抑制状態を取得する。
Namespace for ZEP SDK.
Definition FactoryInterface.hpp:19