|
ADTF
|
#include <samplestreamer_intf.h>
Inherited by adtf::streaming::flash::ISampleReader, and adtf::streaming::flash::ISampleWriter.
Public Member Functions | |
| 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 |
Base interface for sample readers and writers.
|
pure virtual |
Begin streaming on the given sample stream.
| [in] | pStream | the sample stream. |
Implemented in adtf::streaming::cNullReader, adtf::streaming::cRequestForwardingWriter, adtf::streaming::cSampleReader, adtf::streaming::cSampleWriter, adtf::streaming::flash::cSampleReader, adtf::streaming::flash::cSampleWriter, adtf::streaming::hollow::writer_with_request_broker< BaseWriter >, adtf::streaming::hollow::writer_with_request_broker< adtf::streaming::cSampleWriter >, adtf::streaming::kiwi::cNullReader, adtf::streaming::request_forwarding_reader< BaseReader >, adtf::streaming::vision::cRequestForwardingWriter, and adtf::streaming::vision::request_forwarding_reader< BaseReader >.
|
pure virtual |
End streaming
Implemented in adtf::streaming::cNullReader, adtf::streaming::cRequestForwardingWriter, adtf::streaming::cSampleReader, adtf::streaming::cSampleWriter, adtf::streaming::flash::cSampleReader, adtf::streaming::flash::cSampleWriter, adtf::streaming::hollow::requestable_writer< BaseWriter >, adtf::streaming::hollow::writer_with_request_broker< BaseWriter >, adtf::streaming::hollow::writer_with_request_broker< adtf::streaming::cSampleWriter >, adtf::streaming::kiwi::cNullReader, adtf::streaming::requestable_writer< BaseWriter >, and adtf::streaming::vision::cRequestForwardingWriter.
|
pure virtual |
Retrieves the name of the streamer
| [out] | strName | This will be updated with the name. |
Implemented in adtf::streaming::cNullReader, adtf::streaming::cSampleReader, adtf::streaming::cSampleWriter, adtf::streaming::flash::cSampleReader, adtf::streaming::flash::cSampleWriter, and adtf::streaming::kiwi::cNullReader.
|
pure virtual |
Returns the initial stream type of the streamer.
| [out] | pStreamType | This will reference the initial stream type. |
Implemented in adtf::streaming::cNullReader, adtf::streaming::cSampleReader, adtf::streaming::cSampleWriter, adtf::streaming::flash::cSampleReader, adtf::streaming::flash::cSampleWriter, and adtf::streaming::kiwi::cNullReader.
|
pure virtual |
Sets the name of the streamer. This will be used when creating pins.
| [in] | strName | The name |
Implemented in adtf::streaming::cNullReader, adtf::streaming::cSampleReader, adtf::streaming::cSampleWriter, adtf::streaming::flash::cSampleReader, adtf::streaming::flash::cSampleWriter, and adtf::streaming::kiwi::cNullReader.
|
pure virtual |
Sets the pin that the streamer is associated with.
| [in] | pStreamerPin | The pin. |
Implemented in adtf::streaming::cNullReader, adtf::streaming::flash::cSampleReader, adtf::streaming::flash::cSampleWriter, and adtf::streaming::kiwi::cNullReader.
|
pure virtual |
Sets the initial stream type of a streamer.
| [in] | pStreamType | The stream type |
Implemented in adtf::mediadescription::decoding_sample_reader< ReaderImplementation >, adtf::mediadescription::encoding_sample_writer< WriterImplementation >, adtf::mediadescription::flash::decoding_sample_reader< ReaderImplementation >, adtf::mediadescription::flash::encoding_sample_writer< WriterImplementation >, adtf::mediadescription::osborn::decoding_sample_reader< ReaderImplementation >, adtf::mediadescription::osborn::encoding_sample_writer< WriterImplementation >, adtf::streaming::cNullReader, adtf::streaming::cSampleReader, adtf::streaming::cSampleWriter, adtf::streaming::flash::cSampleReader, adtf::streaming::flash::cSampleWriter, adtf::streaming::hollow::requestable_writer< BaseWriter >, adtf::streaming::kiwi::cNullReader, and adtf::streaming::requestable_writer< BaseWriter >.