brings the latest ant::ISampleReader in users scope
More...
#include <samplestreamer_intf.h>
Inherits adtf::streaming::flash::ISampleStreamer.
Inherited by adtf::streaming::flash::cSampleReader, and adtf::streaming::kiwi::cNullReader.
brings the latest ant::ISampleReader in users scope
Interface for sample reads that read from sample streams via input pins.
◆ GetLastSample()
Reads the latest available sample from the associated sample stream.
If more than a single new sample was availablle, all but the last sample will be discarded.
If no new sample was available the last sample previously fetched will be returned again.
- Parameters
-
| [out] | pSample | This will refrerence the sample. |
- Return values
-
| ERR_EMTPY | No sample available |
◆ GetLastType()
Returns the last stream type that was read from the sample stream.
- Parameters
-
| [out] | pType | This will reference the last stream type |
- Returns
◆ GetNextSample()
Reads the next available sample from the associated sample stream.
- Parameters
-
| [out] | pSample | This will refrerence the sample. |
- Return values
-
| ERR_EMTPY | No sample available |
◆ ReadAllAvailableItems()
| virtual tResult adtf::streaming::flash::ISampleReader::ReadAllAvailableItems |
( |
| ) |
|
|
pure virtual |
Reads all available items from the sample stream into internal queues.
- Returns
- Standard result.
◆ SetStreamError()
| virtual tResult adtf::streaming::flash::ISampleReader::SetStreamError |
( |
tResult | oError | ) |
|
|
pure virtual |
Sets an error on the associated sample stream.
- Parameters
-
- Returns
- Standard result.
The documentation for this class was generated from the following file: