ADTF
|
Interface for sample writers that write to sample streams via output pins. More...
Public Member Functions | |
virtual tResult | Write (const ucom::ant::iobject_ptr< const ant::ISample > &pSample)=0 |
Writes a sample to the connected sample stream. More... | |
virtual tResult | ChangeType (const ucom::ant::iobject_ptr< const ant::IStreamType > &pType)=0 |
Communicates a type change for all following samples. More... | |
virtual tResult | Flush ()=0 |
Flushes the writer. More... | |
virtual tResult | SetStreamError (tResult oError)=0 |
Reports and handles an error via the sample stream. More... | |
virtual tResult | ManualTrigger (base::flash::tNanoSeconds tmActivationTime=base::flash::tNanoSeconds{-1})=0 |
Calls all connected runners synchronously in this call. More... | |
Public Member Functions inherited from ISampleStreamer | |
virtual void | SetName (const char *strName)=0 |
Sets the name of the streamer. More... | |
virtual tResult | GetName (base::ant::IString &&strName)=0 |
Retrieves the name of the streamer. More... | |
virtual tResult | SetType (const ucom::ant::iobject_ptr< const ant::IStreamType > &pStreamType)=0 |
Sets the initial stream type of a streamer. More... | |
virtual tResult | GetType (ucom::ant::iobject_ptr< const ant::IStreamType > &pStreamType) const =0 |
Returns the initial stream type of the streamer. More... | |
virtual tResult | BeginStreaming (ant::ISampleStream &pStream)=0 |
Begin streaming on the given sample stream. More... | |
virtual tResult | EndStreaming ()=0 |
End streaming. More... | |
virtual tResult | SetStreamerPin (const ucom::ant::iobject_ptr< flash::IStreamerPin > &pStreamerPin)=0 |
Sets the pin that the streamer is associated with. More... | |
Interface for sample writers that write to sample streams via output pins.
Definition at line 233 of file samplestreamer_intf.h.
|
pure virtual |
Communicates a type change for all following samples.
[in] | pType | The new stream type |
Implemented in encoding_sample_writer< WriterImplementation >, encoding_sample_writer< WriterImplementation >, cSampleWriter, and requestable_writer< BaseWriter >.
|
pure virtual |
|
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 cSampleWriter.
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 cSampleWriter.
|
pure virtual |
Writes a sample to the connected sample stream.
[in] | pSample | The sample to write |
Implemented in cSampleWriter.