NVIDIA DeepStream SDK API Reference

9.2 Release
exporter::memory::InMemorySpanData Class Referencefinal

Detailed Description

Inheritance diagram for exporter::memory::InMemorySpanData:
Collaboration diagram for exporter::memory::InMemorySpanData:

Public Member Functions

 InMemorySpanData (size_t buffer_size)
 
std::vector< std::unique_ptr< sdk::trace::SpanData > > GetSpans () noexcept
 
 InMemorySpanData (size_t buffer_size)
 
std::vector< std::unique_ptr< sdk::trace::SpanData > > GetSpans () noexcept
 
void Add (std::unique_ptr< sdk::trace::SpanData > data) noexcept
 
void Add (std::unique_ptr< sdk::trace::SpanData > data) noexcept
 
std::vector< std::unique_ptr< sdk::trace::SpanData > > Get () noexcept
 
std::vector< std::unique_ptr< sdk::trace::SpanData > > Get () noexcept
 

Constructor & Destructor Documentation

◆ InMemorySpanData() [1/2]

exporter::memory::InMemorySpanData::InMemorySpanData ( size_t  buffer_size)
inlineexplicit
Parameters
buffer_sizea required value that sets the size of the CircularBuffer

Definition at line 25 of file includes/opentelemetry/exporters/memory/in_memory_span_data.h.

◆ InMemorySpanData() [2/2]

exporter::memory::InMemorySpanData::InMemorySpanData ( size_t  buffer_size)
inlineexplicit
Parameters
buffer_sizea required value that sets the size of the CircularBuffer

Definition at line 25 of file 9.2/includes/opentelemetry/exporters/memory/in_memory_span_data.h.

Member Function Documentation

◆ Add() [1/2]

void exporter::memory::InMemoryData< sdk::trace::SpanData >::Add ( std::unique_ptr< sdk::trace::SpanData >  data)
inlinenoexceptinherited
Parameters
dataa required unique pointer to the data to add to the CircularBuffer

Definition at line 30 of file includes/opentelemetry/exporters/memory/in_memory_data.h.

◆ Add() [2/2]

void exporter::memory::InMemoryData< sdk::trace::SpanData >::Add ( std::unique_ptr< sdk::trace::SpanData >  data)
inlinenoexceptinherited
Parameters
dataa required unique pointer to the data to add to the CircularBuffer

Definition at line 30 of file 9.2/includes/opentelemetry/exporters/memory/in_memory_data.h.

◆ Get() [1/2]

std::vector<std::unique_ptr<sdk::trace::SpanData > > exporter::memory::InMemoryData< sdk::trace::SpanData >::Get
inlinenoexceptinherited
Returns
Returns a vector of unique pointers containing all the data in the CircularBuffer. This operation will empty the Buffer, which is why the data is returned as unique pointers

Definition at line 37 of file includes/opentelemetry/exporters/memory/in_memory_data.h.

◆ Get() [2/2]

std::vector<std::unique_ptr<sdk::trace::SpanData > > exporter::memory::InMemoryData< sdk::trace::SpanData >::Get
inlinenoexceptinherited
Returns
Returns a vector of unique pointers containing all the data in the CircularBuffer. This operation will empty the Buffer, which is why the data is returned as unique pointers

Definition at line 37 of file 9.2/includes/opentelemetry/exporters/memory/in_memory_data.h.

◆ GetSpans() [1/2]

std::vector<std::unique_ptr<sdk::trace::SpanData> > exporter::memory::InMemorySpanData::GetSpans ( )
inlinenoexcept

◆ GetSpans() [2/2]

std::vector<std::unique_ptr<sdk::trace::SpanData> > exporter::memory::InMemorySpanData::GetSpans ( )
inlinenoexcept

The documentation for this class was generated from the following file: