ADTF
3.18.2
|
Public Member Functions | |
tResult | CollectFrom (ISampleReader &oSampleReader) |
Adds a sample reader to the list of sample readers that data is read from. More... | |
template<typename ... T> | |
tResult | GetLastSamples (adtf::ucom::iobject_ptr< const ant::ISample > &pSample, T &... samples) |
Get the last samples from all sample readers if there is no new data in queue, the last sent data is used. More... | |
tResult | GetLastSamples () |
Private Attributes | |
std::vector< ISampleReader * > | m_oSampleReaders |
Definition at line 403 of file sample_collectors.h.
|
inline |
Adds a sample reader to the list of sample readers that data is read from.
[in] | oSampleReader | The sample reader to read data from. |
ERR_NOERROR | Stream type is valid |
Definition at line 415 of file sample_collectors.h.
References RETURN_NOERROR.
|
inline |
Get the last samples from all sample readers if there is no new data in queue, the last sent data is used.
[in] | pSample | Sample to get from current reader |
[in] | samples | next Sample to get |
ERR_NOERROR | data is valid |
RETURN_IF_FAILED | (ERR_INVALID_ARG) more sample were requested than queues available (to many parameters) |
Definition at line 430 of file sample_collectors.h.
References cLastSamplesCollector::GetLastSamples(), RETURN_ERROR, and RETURN_IF_FAILED.
Referenced by cLastSamplesCollector::GetLastSamples().