ADTF
Loading...
Searching...
No Matches
cSampleQueueCompareByTime

Defines the structure for the SampleQueue Insert Compare. More...

#include <samplequeue.h>

Public Member Functions

bool operator() (const adtf::ucom::iobject_ptr< ISample > &pSampleAdd, const adtf::ucom::iobject_ptr< ISample > &pSample) const
 Comparison operator.
 

Detailed Description

Defines the structure for the SampleQueue Insert Compare.

Definition at line 24 of file samplequeue.h.

Member Function Documentation

◆ operator()()

bool operator() ( const adtf::ucom::iobject_ptr< ISample > & pSampleAdd,
const adtf::ucom::iobject_ptr< ISample > & pSample ) const
inline

Comparison operator.

Parameters
pSampleAdd[in] First sample.
pSample[in] Second sample.
Returns
True if pSampleAdd is older than pSample.

Definition at line 32 of file samplequeue.h.

References iobject_ptr_base< T >::Get(), and adtf::streaming::get_sample_time().