Zao SDK for Jetson / libzep API Reference
Loading...
Searching...
No Matches
StreamInterface.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_STREAM_INTERFACE_HPP_
11#define ZEP_STREAM_INTERFACE_HPP_
12
13#include <memory> #define ZEP_STREAM_INTERFACE_HPP_ #include <memory
14
15namespace zep {
16
17class TimestampInterface;
23 public:.
29 virtual void SetTimestamp(
30 const std::shared_ptr<TimestampInterface>& timestamp) = 0;
31
32 virtual ~StreamInterface() noexcept = default;
33};
34
39 public:.
40 virtual ~StreamCallbackInterface() noexcept = default;
41};
42
43} // namespace zep
44
45#endif // ZEP_STREAM_INTERFACE_HPP_
Common callback interface for stream functions.
Definition StreamInterface.hpp:38
Stream function interface on the endpoint side.
Definition StreamInterface.hpp:22
virtual void SetTimestamp(const std::shared_ptr< TimestampInterface > &timestamp)=0
Set the timestamp to be used for this stream.
Namespace for ZEP SDK.
Definition FactoryInterface.hpp:19