ADTF
Loading...
Searching...
No Matches
adtf::streaming::ant::cDynamicSampleReaderQueue Class Reference

Implementation of a adtf::streaming::ant::ISampleReaderQueue with dynamic growing sample queue. More...

#include <samplereader.h>

Inherits adtf::streaming::ant::ISampleReaderQueue.

Public Member Functions

tResult Push (const IStreamItem &oStreamItem, tTimeStamp) override
 Push a new value to the internal sample queue.
 
void Clear () override
 
tResult Pop (IStreamItem &oStreamItem) override
 Returns the next sample from the queue.
 

Detailed Description

Implementation of a adtf::streaming::ant::ISampleReaderQueue with dynamic growing sample queue.

Member Function Documentation

◆ Clear()

void adtf::streaming::ant::cDynamicSampleReaderQueue::Clear ( )
inlineoverridevirtual

clears the local queue of the reader either only EndStreaming or incoming event ISampleInStream::IQueueItem::RE_Flush

Implements adtf::streaming::ant::ISampleReaderQueue.

◆ Pop()

tResult adtf::streaming::ant::cDynamicSampleReaderQueue::Pop ( IStreamItem & oStreamItem)
inlineoverridevirtual

Returns the next sample from the queue.

Parameters
[out]oStreamItemstream item reference to copy the references to

Implements adtf::streaming::ant::ISampleReaderQueue.

◆ Push()

tResult adtf::streaming::ant::cDynamicSampleReaderQueue::Push ( const IStreamItem & oStreamItem,
tTimeStamp tmTime )
inlineoverridevirtual

Push a new value to the internal sample queue.

Parameters
[in]oStreamItemThe sample to store
[in]tmTimeTime of storage

Implements adtf::streaming::ant::ISampleReaderQueue.


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