公共成员函数 | |
virtual int | isInError () |
指示元素在其操作过程中是否遇到错误。 更多... | |
virtual | ~NvElement () |
void | getProfilingData (NvElementProfiler::NvElementProfilerData &data) |
获取元素的性能分析数据。 更多... | |
void | printProfilingStats (std::ostream &out_stream=std::cout) |
将元素的性能分析数据打印到输出流。 更多... | |
virtual void | enableProfiling () |
启用元素的性能分析。 更多... | |
bool | isProfilingEnabled () |
检查是否为元素启用了性能分析。 更多... | |
保护成员函数 | |
NvElement (const char *name, NvElementProfiler::ProfilerField=NvElementProfiler::PROFILER_FIELD_NONE) | |
使用名称 name 创建一个新的 NvElement 对象。 更多... | |
NvElement (const NvElement &that) | |
禁用复制构造函数。 更多... | |
void | operator= (NvElement const &) |
禁用赋值运算符。 更多... | |
保护属性 | |
int | is_in_error |
指示元素的操作过程中是否遇到错误。 更多... | |
const char * | comp_name |
指定组件的名称,用于调试。 更多... | |
NvElementProfiler | profiler |
元素的性能分析器。 更多... | |
|
inlinevirtual |
定义于文件 76 行,文件路径为 NvElement.h。
|
protected |
|
protected |
禁用复制构造函数。
|
virtual |
启用元素的性能分析。
在 NvV4l2Element 中重新实现。
void NvElement::getProfilingData | ( | NvElementProfiler::NvElementProfilerData & | data | ) |
获取元素的性能分析数据。
|
inlinevirtual |
指示元素在其操作过程中是否遇到错误。
在 NvV4l2Element 中重新实现。
定义于文件 72 行,文件路径为 NvElement.h。
引用自 is_in_error。
bool NvElement::isProfilingEnabled | ( | ) |
检查是否为元素启用了性能分析。
|
protected |
禁用赋值运算符。
void NvElement::printProfilingStats | ( | std::ostream & | out_stream = std::cout | ) |
将元素的性能分析数据打印到输出流。
[in] | out_stream | std::ostream 类型的输出流,用于打印数据。如果未指定,则采用默认值 std::cout。 |
|
protected |
指定组件的名称,用于调试。
定义于文件 122 行,文件路径为 NvElement.h。
|
protected |
|
protected |
元素的性能分析器。
定义于文件 124 行,文件路径为 NvElement.h。