|
ADTF
|
#include <samplestreamer_intf.h>
Inherits adtf::streaming::flash::ISampleStreamer.
Inherited by adtf::streaming::flash::cSampleWriter.
Public Member Functions | |
| virtual tResult | Write (const ucom::ant::iobject_ptr< const ant::ISample > &pSample)=0 |
| virtual tResult | ChangeType (const ucom::ant::iobject_ptr< const ant::IStreamType > &pType)=0 |
| virtual tResult | Flush ()=0 |
| virtual tResult | SetStreamError (tResult oError)=0 |
| virtual tResult | ManualTrigger (base::flash::tNanoSeconds tmActivationTime=base::flash::tNanoSeconds{-1})=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 writers that write to sample streams via output pins.
|
pure virtual |
Communicates a type change for all following samples.
| [in] | pType | The new stream type |
Implemented in adtf::mediadescription::encoding_sample_writer< WriterImplementation >, adtf::mediadescription::flash::encoding_sample_writer< WriterImplementation >, adtf::mediadescription::osborn::encoding_sample_writer< WriterImplementation >, adtf::streaming::cSampleWriter, adtf::streaming::flash::cSampleWriter, adtf::streaming::hollow::requestable_writer< BaseWriter >, and adtf::streaming::requestable_writer< BaseWriter >.
|
pure virtual |
Flushes the writer.
Implemented in adtf::streaming::cSampleWriter, and adtf::streaming::flash::cSampleWriter.
|
pure virtual |
Calls all connected runners synchronously in this call.
| [in] | tmActivationTime | The timestamp passed to all runners. If equals -1, the current stream time is retrieved from the reference clock. |
Implemented in adtf::streaming::cSampleWriter, and adtf::streaming::flash::cSampleWriter.
|
pure virtual |
Reports and handles an error via the sample stream. Mind that you still need to cope with the error in the best possible manner.
| [in] | oError | The error code. |
Implemented in adtf::streaming::cSampleWriter, and adtf::streaming::flash::cSampleWriter.
|
pure virtual |
Writes a sample to the connected sample stream.
| [in] | pSample | The sample to write |
Implemented in adtf::streaming::cSampleWriter, and adtf::streaming::flash::cSampleWriter.