brings latest ant::ISampleOutStream to the users scope
More...
#include <sampleoutstream_intf.h>
Inherits adtf::ucom::ant::IObject.
|
|
| ~ISampleOutStream ()=default |
| | not destructable
|
| |
|
| ~IObject ()=default |
| | Protected destructor --> Only the final implementation can be destroyed!
|
| |
brings latest ant::ISampleOutStream to the users scope
The ISampleOutStream interface is return by the ISampleStream::Open call which allows to write into a corresponding writers queue of the opened ISampleStream instance.
For common understanding: ONE ISampleOutStream == ONE writer queue. (but depends on the ISampleStream implementation). The default implementation provided (cSampleStream) will open one writers queue per ISampleOutStream.
- See also
- ISampleStream.
◆ Flush()
| virtual tResult adtf::streaming::ant::ISampleOutStream::Flush |
( |
| ) |
|
|
pure virtual |
Flushes the writers queue within the ISampleStream. This call is necessary to end all transmit call made by Write ! Only after this call the written ISample and const IStreamType will forwarded to the ISampleStreamReader.
- See also
- ISampleStream for some more information.
- Warning
- If no Flush is called the queue will grow until a Flush call is obtained or (depending on the ISampleStream implementation and mode) the queue will drop content!
- Returns
- Standard Result Code.
◆ GetMode()
◆ SetStreamError()
| virtual tResult adtf::streaming::ant::ISampleOutStream::SetStreamError |
( |
const tResult & | oError | ) |
|
|
pure virtual |
Forward an error to the corresponding stream.
- Parameters
-
| oError | [in] The error passed to the queue and the SampleStream |
- Returns
- Standard Result Code.
◆ Write() [1/2]
Write a sample refernce to a writers queue of the ISampleStream.
- Parameters
-
| [in] | pSample | the sample to write. |
- Returns
- Standard Result Code
- Return values
-
| ERR_DEVICE_IN_USE | The Sample were not written to queue |
◆ Write() [2/2]
Write an stream type reference to the write queue of the ISampleStream
- Parameters
-
| [in] | pStreamType | the type to write. |
- Returns
- Standard Result Code
- Return values
-
| ERR_DEVICE_IN_USE | The type is not written to queue |
The documentation for this class was generated from the following file: