|
ADTF
|
#include <samplestreamer_intf.h>
Inherits adtf::streaming::flash::ISampleStreamer.
Inherited by adtf::streaming::flash::cSampleReader, and adtf::streaming::kiwi::cNullReader.
Public Member Functions | |
| virtual tResult | GetNextSample (ucom::ant::iobject_ptr< const ant::ISample > &pSample)=0 |
| virtual tResult | GetLastSample (ucom::ant::iobject_ptr< const ant::ISample > &pSample)=0 |
| virtual tResult | GetLastType (ucom::ant::iobject_ptr< const IStreamType > &pType)=0 |
| virtual tResult | SetStreamError (tResult oError)=0 |
| virtual tResult | ReadAllAvailableItems ()=0 |
Public Member Functions inherited from adtf::streaming::flash::ISampleStreamer | |
| virtual void | SetName (const char *strName)=0 |
| virtual tResult | GetName (base::ant::IString &&strName)=0 |
| virtual tResult | SetType (const ucom::ant::iobject_ptr< const ant::IStreamType > &pStreamType)=0 |
| virtual tResult | GetType (ucom::ant::iobject_ptr< const ant::IStreamType > &pStreamType) const =0 |
| virtual tResult | BeginStreaming (ant::ISampleStream &pStream)=0 |
| virtual tResult | EndStreaming ()=0 |
| virtual tResult | SetStreamerPin (const ucom::ant::iobject_ptr< flash::IStreamerPin > &pStreamerPin)=0 |
Interface for sample reads that read from sample streams via input pins.
|
pure virtual |
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.
| [out] | pSample | This will refrerence the sample. |
| ERR_EMTPY | No sample available |
Implemented in adtf::streaming::cNullReader, adtf::streaming::cSampleReader, adtf::streaming::flash::cSampleReader, and adtf::streaming::kiwi::cNullReader.
|
pure virtual |
Returns the last stream type that was read from the sample stream.
| [out] | pType | This will reference the last stream type |
Implemented in adtf::streaming::cNullReader, adtf::streaming::cSampleReader, adtf::streaming::flash::cSampleReader, and adtf::streaming::kiwi::cNullReader.
|
pure virtual |
Reads the next available sample from the associated sample stream.
| [out] | pSample | This will refrerence the sample. |
| ERR_EMTPY | No sample available |
Implemented in adtf::streaming::cNullReader, adtf::streaming::cSampleReader, adtf::streaming::flash::cSampleReader, and adtf::streaming::kiwi::cNullReader.
|
pure virtual |
Reads all available items from the sample stream into internal queues.
Implemented in adtf::streaming::cNullReader, adtf::streaming::cSampleReader, adtf::streaming::flash::cSampleReader, and adtf::streaming::kiwi::cNullReader.
|
pure virtual |
Sets an error on the associated sample stream.
| [in] | oError | The error. |
Implemented in adtf::streaming::cNullReader, adtf::streaming::cSampleReader, adtf::streaming::flash::cSampleReader, and adtf::streaming::kiwi::cNullReader.