ADTF
|
Public Member Functions | |
void | RegisterExternalQueue (ISampleReaderQueue *pExternalBuffer) |
void | UnregisterExternalQueue (ISampleReaderQueue *pExternalBuffer) |
tResult | Push (const IStreamItem &oStreamItem, tTimeStamp tsTime) override |
Push a new value to the internal sample queue. More... | |
void | Clear () override |
clears the local queue of the reader either only EndStreaming or incoming event ISampleInStream::IQueueItem::RE_Flush | |
tResult | Pop (IStreamItem &) override |
Returns the next sample from the queue. More... | |
Protected Attributes | |
std::set< ISampleReaderQueue * > | m_oExternalQueues |
A set of other registered buffer. | |
Definition at line 1023 of file samplereader.h.
|
inlineoverridevirtual |
Returns the next sample from the queue.
[out] | oStreamItem | stream item reference to copy the references to |
Implements ISampleReaderQueue.
Definition at line 1055 of file samplereader.h.
References RETURN_ERROR.
|
inlineoverridevirtual |
Push a new value to the internal sample queue.
[in] | oStreamItem | The sample to store |
[in] | tmTime | Time of storage |
Implements ISampleReaderQueue.
Definition at line 1037 of file samplereader.h.
References cExternalQueuesWrapper::m_oExternalQueues, RETURN_IF_FAILED, and RETURN_NOERROR.