ADTF
ISampleStreamerabstract

Local Sample Streamer Interface. More...

Inheritance diagram for ISampleStreamer:
[legend]

Public Member Functions

virtual tResult EndStreaming ()=0
 Sample Stream disconnected. More...
 
virtual tResult GetType (ucom::ant::iobject_ptr< const IStreamType > &pStreamType) const =0
 Retrievs the Stream Type of the streamer. More...
 

Protected Member Functions

 ~ISampleStreamer ()=default
 not destructable
 

Detailed Description

Local Sample Streamer Interface.

This interface is only used to create a cInPin and cOutPin in a generic way. concrete implementations are cSampleReder and cSampleWriter. Use the sample_streamer template to implement own Writers and Readers.

Definition at line 28 of file samplestreamer_intf.h.

Member Function Documentation

◆ EndStreaming()

virtual tResult EndStreaming ( )
pure virtual

Sample Stream disconnected.

Streaming ends.

Returns
Standard Result Code. Depends on implmentation.

Implemented in cSampleWriter, and cSampleReader.

◆ GetType()

virtual tResult GetType ( ucom::ant::iobject_ptr< const IStreamType > &  pStreamType) const
pure virtual

Retrievs the Stream Type of the streamer.

Usually this is used to open the ISampleStream and request or write a type immediatelly.

Returns
Standard Result Code. Depends on implmentation.