ADTF
Loading...
Searching...
No Matches
adtf::streaming::ISampleReaderQueue Class Referenceabstract

Interface to create a sample reader buffer. More...

#include <samplestreamer_intf.h>

Inherited by adtf::streaming::ant::cDynamicSampleReaderQueue, adtf::streaming::ant::cLimitedSampleReaderQueue, adtf::streaming::ant::cSampleReader, adtf::streaming::ant::detail::cExternalSampleReaderQueue, adtf::streaming::flash::cExternalQueuesWrapper, and adtf::streaming::flash::detail::cExternalSampleReaderQueue.

Public Member Functions

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

Detailed Description

Interface to create a sample reader buffer.

brings the latest ant::ISampleReaderQueue in users scope

Member Function Documentation

◆ Clear()

virtual void adtf::streaming::ant::ISampleReaderQueue::Clear ( )
pure virtual

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

◆ Pop()

virtual tResult adtf::streaming::ant::ISampleReaderQueue::Pop ( IStreamItem & oStreamItem)
pure virtual

Returns the next sample from the queue.

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

◆ Push()

virtual tResult adtf::streaming::ant::ISampleReaderQueue::Push ( const IStreamItem & oStreamItem,
tTimeStamp tmTime )
pure virtual

Push a new value to the internal sample queue.

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

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