ADTF
Loading...
Searching...
No Matches
adtf::streaming::ant::sample_reader< INTERNAL_QUEUE, STORE_LAST_SAMPLE, ACCESS_MODE > Class Template Reference

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...

#include <samplereader.h>

Inherits std::conditional::type.

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!!


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