This base implementation of a sample writer is samples and types to the given pin set at adtf::streaming::flash::cSampleWriter::SetStreamerPin.
More...
|
std::unique_ptr< cImplementation > | m_pImplementation |
|
This base implementation of a sample writer is samples and types to the given pin set at adtf::streaming::flash::cSampleWriter::SetStreamerPin.
Definition at line 355 of file samplewriter.h.
◆ BeginStreaming()
◆ ChangeType()
◆ EndStreaming()
◆ Flush()
Flushes the writer.
- Returns
- Standard result.
Implements ISampleWriter.
◆ GetName()
Retrieves the name of the streamer.
- Parameters
-
[out] | strName | This will be updated with the name. |
- Returns
- Standard result.
Implements ISampleStreamer.
◆ GetType()
Returns the initial stream type of the streamer.
- Parameters
-
[out] | pStreamType | This will reference the initial stream type. |
- Returns
- Standard result.
Implements 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 ISampleWriter.
◆ SetName()
void SetName |
( |
const char * |
strName | ) |
|
|
overridevirtual |
Sets the name of the streamer.
This will be used when creating pins.
- Parameters
-
Implements ISampleStreamer.
◆ SetStreamerPin()
Sets the pin that the streamer is associated with.
- Parameters
-
- Returns
- Standard result.
Implements ISampleStreamer.
◆ SetStreamError()
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 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 ISampleWriter.