Base interface for sample readers and writers. More...
#include <samplestreamer_intf.h>
Public Member Functions | |
virtual void | SetName (const char *strName)=0 |
Sets the name of the streamer. | |
virtual tResult | GetName (base::ant::IString &&strName)=0 |
Retrieves the name of the streamer. | |
virtual tResult | SetType (const ucom::ant::iobject_ptr< const ant::IStreamType > &pStreamType)=0 |
Sets the initial stream type of a streamer. | |
virtual tResult | GetType (ucom::ant::iobject_ptr< const ant::IStreamType > &pStreamType) const =0 |
Returns the initial stream type of the streamer. | |
virtual tResult | BeginStreaming (ant::ISampleStream &pStream)=0 |
Begin streaming on the given sample stream. | |
virtual tResult | EndStreaming ()=0 |
End streaming. | |
virtual tResult | SetStreamerPin (const ucom::ant::iobject_ptr< flash::IStreamerPin > &pStreamerPin)=0 |
Sets the pin that the streamer is associated with. | |
Base interface for sample readers and writers.
Definition at line 129 of file samplestreamer_intf.h.
|
pure virtual |
Begin streaming on the given sample stream.
[in] | pStream | the sample stream. |
Implemented in cNullReader, cSampleReader, cSampleWriter, cSampleReader, cSampleWriter, writer_with_request_broker< BaseWriter >, writer_with_request_broker< adtf::streaming::cSampleWriter >, and cNullReader.
|
pure virtual |
End streaming.
Implemented in cNullReader, cSampleReader, cSampleWriter, cSampleReader, cSampleWriter, requestable_writer< BaseWriter >, writer_with_request_broker< BaseWriter >, writer_with_request_broker< adtf::streaming::cSampleWriter >, cNullReader, and requestable_writer< BaseWriter >.
|
pure virtual |
Retrieves the name of the streamer.
[out] | strName | This will be updated with the name. |
Implemented in cNullReader, cSampleReader, cSampleWriter, cSampleReader, cSampleWriter, and cNullReader.
|
pure virtual |
Returns the initial stream type of the streamer.
[out] | pStreamType | This will reference the initial stream type. |
Implemented in cNullReader, cSampleReader, cSampleWriter, cSampleReader, cSampleWriter, and cNullReader.
|
pure virtual |
Sets the name of the streamer.
This will be used when creating pins.
[in] | strName | The name |
Implemented in cNullReader, cSampleReader, cSampleWriter, cSampleReader, cSampleWriter, and cNullReader.
|
pure virtual |
Sets the pin that the streamer is associated with.
[in] | pStreamerPin | The pin. |
Implemented in cNullReader, cSampleReader, cSampleWriter, and cNullReader.
|
pure virtual |
Sets the initial stream type of a streamer.
[in] | pStreamType | The stream type |
Implemented in decoding_sample_reader< ReaderImplementation >, encoding_sample_writer< WriterImplementation >, decoding_sample_reader< ReaderImplementation >, encoding_sample_writer< WriterImplementation >, decoding_sample_reader< ReaderImplementation >, encoding_sample_writer< WriterImplementation >, cNullReader, cSampleReader, cSampleWriter, cSampleReader, cSampleWriter, requestable_writer< BaseWriter >, cNullReader, and requestable_writer< BaseWriter >.