ADTF
sample_reader< INTERNAL_QUEUE, STORE_LAST_SAMPLE, ACCESS_MODE >

A Possible Sample Reader of a Trigger Function! Sample reader with a internal queue, used for ISampleStreamAccess::PushRead! Make sure the trigger function empties the queue!! More...

Inheritance diagram for sample_reader< INTERNAL_QUEUE, STORE_LAST_SAMPLE, ACCESS_MODE >:
[legend]

Public Member Functions

tResult Push (const IStreamItem &oItem, tTimeStamp tsTime) override
 
void Clear () override
 
tResult Pop (IStreamItem &oItem) override
 

Protected Types

typedef std::conditional< STORE_LAST_SAMPLE, cLastSampleReader, cSampleReader >::type base_class
 base class
 

Protected Attributes

INTERNAL_QUEUE m_oInternalQueue
 A internal sample queue.
 

Detailed Description

template<typename INTERNAL_QUEUE, bool STORE_LAST_SAMPLE = true, ISampleStreamAccess::tMode ACCESS_MODE = ISampleStreamAccess::tMode::PushRead>
class adtf::streaming::ant::sample_reader< INTERNAL_QUEUE, STORE_LAST_SAMPLE, ACCESS_MODE >

A Possible Sample Reader of a Trigger Function! Sample reader with a internal queue, used for ISampleStreamAccess::PushRead! Make sure the trigger function empties the queue!!

Definition at line 777 of file samplereader.h.