Zao SDK for Jetson / libzao-endpoint API リファレンス 1.6.0.0 (2024-12-24)
Loading...
Searching...
No Matches
ChunkSinkBufferInterface.hpp
1#ifndef ZAO_ENDPOINT_SERIAL_CHUNK_SINK_BUFFER_INTERFACE_HPP_
2#define ZAO_ENDPOINT_SERIAL_CHUNK_SINK_BUFFER_INTERFACE_HPP_
3
4#include <cstddef>
5
6#include "../TimestampInterface.hpp"
7
8namespace zao {
9namespace endpoint {
10namespace serial {
11
18 public:
23 virtual const void* GetPointer() const = 0;
24
29 virtual std::size_t GetLength() const = 0;
30
39
46 virtual bool IsIncontiguous() const = 0;
47
52 virtual bool IsPacketized() const = 0;
53
58 virtual ~ChunkSinkBufferInterface() noexcept = default;
59};
60
61} // namespace serial
62} // namespace endpoint
63} // namespace zao
64
65#endif // ZAO_ENDPOINT_SERIAL_CHUNK_SINK_BUFFER_INTERFACE_HPP_
std::uint64_t Rep
タイムスタンプの表現に用いる整数型
Definition TimestampInterface.hpp:19
シリアルデータ断片受信用バッファのインターフェース。
Definition ChunkSinkBufferInterface.hpp:17
virtual ~ChunkSinkBufferInterface() noexcept=default
ChunkSinkBufferInterface オブジェクトを破棄する。
virtual TimestampInterface::Rep GetTimestamp() const =0
タイムスタンプを取得する。
virtual const void * GetPointer() const =0
バッファのポインタを取得する。
virtual std::size_t GetLength() const =0
バッファの有効バイト数を取得する。
virtual bool IsIncontiguous() const =0
前回のバッファ取得からこのバッファまでの間に、 データの不連続があるかを取得する。
virtual bool IsPacketized() const =0
このバッファのデータがパケタイズされているか否かを取得する。
Zao製品共通の名前空間
Definition FactoryInterface.hpp:11