Jetson Linux API 参考文档

32.7.4 版本
Argus::IBufferOutputStreamSettings 类参考abstract

详细描述

Interface that exposes the configuration available to Buffer-based OutputStreams.

定义于文件 BufferStream.h 的第 156 行。

Argus::IBufferOutputStreamSettings 的继承关系图
Argus::IBufferOutputStreamSettings 的协作图

公共成员函数

virtual Status setBufferType (const BufferType &type)=0
 设置流的 BufferType。 更多...
 
virtual BufferType getBufferType () const =0
 返回将用于流的 BufferType。 更多...
 
virtual Status setSyncType (const SyncType &type)=0
 设置流的 SyncType。 更多...
 
virtual SyncType getSyncType () const =0
 返回将用于流的 SyncType。 更多...
 
virtual void setMetadataEnable (bool enable)=0
 设置流的元数据启用。 更多...
 
virtual bool getMetadataEnable () const =0
 返回元数据启用。 更多...
 

静态公共成员函数

static const InterfaceIDid ()
 

保护成员函数

 ~IBufferOutputStreamSettings ()
 

构造函数 & 析构函数文档

◆ ~IBufferOutputStreamSettings()

Argus::IBufferOutputStreamSettings::~IBufferOutputStreamSettings ( )
inlineprotected

定义于文件 BufferStream.h 的第 210 行。

成员函数文档

◆ getBufferType()

virtual BufferType Argus::IBufferOutputStreamSettings::getBufferType ( ) const
pure virtual

返回将用于流的 BufferType。

◆ getMetadataEnable()

virtual bool Argus::IBufferOutputStreamSettings::getMetadataEnable ( ) const
pure virtual

返回元数据启用。

◆ getSyncType()

virtual SyncType Argus::IBufferOutputStreamSettings::getSyncType ( ) const
pure virtual

返回将用于流的 SyncType。

◆ id()

static const InterfaceID& Argus::IBufferOutputStreamSettings::id ( )
inlinestatic

定义于文件 BufferStream.h 的第 159 行。

◆ setBufferType()

virtual Status Argus::IBufferOutputStreamSettings::setBufferType ( const BufferType &  type)
pure virtual

设置流的 BufferType。

这控制了哪种类型的原生缓冲区类型将被此 OutputStream 包装,并因此决定了 OutputStream 及其子 BufferSettingsBuffer 对象支持哪些接口。此值默认为 BUFFER_TYPE_NONE,并且必须由应用程序设置为此 libargus 实现支持的 BufferType。

参数
[输入]type用于新 OutputStream 的 BufferType。

◆ setMetadataEnable()

virtual void Argus::IBufferOutputStreamSettings::setMetadataEnable ( bool  enable)
pure virtual

设置流的元数据启用。

启用元数据后,当 CaptureMetadata 对象作为成功捕获请求的结果从 libargus 输出时,它可以附加到每个 Buffer (参见 IBuffer::getMetadata)。

参数
[输入]enable指示是否为流启用了元数据。

◆ setSyncType()

virtual Status Argus::IBufferOutputStreamSettings::setSyncType ( const SyncType &  type)
pure virtual

设置流的 SyncType。

这控制了哪种类型的原生同步信息将附加到 Buffers,以支持 libargus 和应用程序之间的同步。此值默认为 SYNC_TYPE_NONE,这意味着将不支持任何同步信息。在这种情况下,应用程序和 libargus 都应在将 Buffer 传递给另一方之前完成所有读取和/或写入操作。

参数
[输入]type用于新 OutputStream 的 SyncType。

此类文档从以下文件生成
. All rights reserved.