#include <samplewriter.h>
Inherits adtf::streaming::flash::ISampleWriter.
Inherited by adtf::streaming::hollow::writer_with_request_broker< adtf::streaming::cSampleWriter >, adtf::mediadescription::flash::encoding_sample_writer< WriterImplementation >, adtf::mediadescription::osborn::encoding_sample_writer< WriterImplementation >, adtf::streaming::flash::sample_writer< DATA_TYPE, BASE >, adtf::streaming::hollow::writer_with_request_broker< BaseWriter >, and adtf::streaming::vision::cRequestForwardingWriter.
This base implementation of a sample writer is samples and types to the given pin set at adtf::streaming::flash::cSampleWriter::SetStreamerPin.
◆ BeginStreaming()
◆ ChangeType()
Communicates a type change for all following samples.
- Parameters
-
| [in] | pType | The new stream type |
- Returns
- Standard result. Errors will be reported via the associated sample stream.
Implements adtf::streaming::flash::ISampleWriter.
◆ EndStreaming()
| tResult adtf::streaming::flash::cSampleWriter::EndStreaming |
( |
| ) |
|
|
overridevirtual |
◆ Flush()
| tResult adtf::streaming::flash::cSampleWriter::Flush |
( |
| ) |
|
|
overridevirtual |
◆ GetName()
◆ GetStreamerPin()
◆ GetType()
Returns the initial stream type of the streamer.
- Parameters
-
| [out] | pStreamType | This will reference the initial stream type. |
- Returns
- Standard result.
Implements adtf::streaming::flash::ISampleStreamer.
◆ ManualTrigger()
Calls all connected runners synchronously in this call.
- Parameters
-
| [in] | tmActivationTime | The timestamp passed to all runners. If equals -1, the current stream time is retrieved from the reference clock. |
- Returns
- Standard result. Errors will be reported via the associated sample stream.
Implements adtf::streaming::flash::ISampleWriter.
◆ SetName()
| void adtf::streaming::flash::cSampleWriter::SetName |
( |
const char * | strName | ) |
|
|
overridevirtual |
◆ SetStreamError()
| tResult adtf::streaming::flash::cSampleWriter::SetStreamError |
( |
tResult | oError | ) |
|
|
overridevirtual |
Reports and handles an error via the sample stream. Mind that you still need to cope with the error in the best possible manner.
- Parameters
-
| [in] | oError | The error code. |
- Returns
- Standard result.
Implements adtf::streaming::flash::ISampleWriter.
◆ SetType()
◆ Transmit()
For compatibility purposes, call Write() instead.
Writes a sample to the connected sample stream.
- Parameters
-
| [in] | pSample | The sample to write |
- Returns
- Standard result. Errors will be reported via the associated sample stream.
◆ Write()
Writes a sample to the connected sample stream.
- Parameters
-
| [in] | pSample | The sample to write |
- Returns
- Standard result. Errors will be reported via the associated sample stream.
Implements adtf::streaming::flash::ISampleWriter.
The documentation for this class was generated from the following file: