ADTF
ISampleReaderQueueabstract

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

Inheritance diagram for ISampleReaderQueue:
[legend]

Public Member Functions

virtual tResult Push (const IStreamItem &oStreamItem, tTimeStamp tmTime)=0
 Push a new value to the internal sample queue. More...
 
virtual void Clear ()=0
 clears the local queue of the reader either only EndStreaming or incoming event ISampleInStream::IQueueItem::RE_Flush
 
virtual tResult Pop (IStreamItem &oStreamItem)=0
 Returns the next sample from the queue. More...
 

Detailed Description

Interface to create a sample reader buffer.

Definition at line 95 of file samplestreamer_intf.h.

Member Function Documentation

◆ Pop()

virtual tResult Pop ( IStreamItem oStreamItem)
pure virtual

Returns the next sample from the queue.

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

Implemented in cDynamicSampleReaderQueue, cExternalSampleReaderQueue, cExternalSampleReaderQueue, cLimitedSampleReaderQueue, cExternalQueuesWrapper, and cExternalQueueSampleReader.

◆ Push()

virtual tResult 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

Implemented in cLimitedSampleReaderQueue, cDynamicSampleReaderQueue, cExternalQueuesWrapper, cExternalQueueSampleReader, cExternalSampleReaderQueue, and cExternalSampleReaderQueue.