ADTF
Loading...
Searching...
No Matches
adtf::streaming::flash::ISampleStreamer Class Referenceabstract

#include <samplestreamer_intf.h>

Inherited by adtf::streaming::flash::ISampleReader, and adtf::streaming::flash::ISampleWriter.

Public Member Functions

virtual void SetName (const char *strName)=0
 
virtual tResult GetName (base::ant::IString &&strName)=0
 
virtual tResult SetType (const ucom::ant::iobject_ptr< const ant::IStreamType > &pStreamType)=0
 
virtual tResult GetType (ucom::ant::iobject_ptr< const ant::IStreamType > &pStreamType) const =0
 
virtual tResult BeginStreaming (ant::ISampleStream &pStream)=0
 
virtual tResult EndStreaming ()=0
 
virtual tResult SetStreamerPin (const ucom::ant::iobject_ptr< flash::IStreamerPin > &pStreamerPin)=0
 

Detailed Description

Base interface for sample readers and writers.

Member Function Documentation

◆ BeginStreaming()

◆ EndStreaming()

◆ GetName()

virtual tResult adtf::streaming::flash::ISampleStreamer::GetName ( base::ant::IString && strName)
pure virtual

Retrieves the name of the streamer

Parameters
[out]strNameThis will be updated with the name.
Returns
Standard result.

Implemented in adtf::streaming::cNullReader, adtf::streaming::cSampleReader, adtf::streaming::cSampleWriter, adtf::streaming::flash::cSampleReader, adtf::streaming::flash::cSampleWriter, and adtf::streaming::kiwi::cNullReader.

◆ GetType()

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

Returns the initial stream type of the streamer.

Parameters
[out]pStreamTypeThis will reference the initial stream type.
Returns
Standard result.

Implemented in adtf::streaming::cNullReader, adtf::streaming::cSampleReader, adtf::streaming::cSampleWriter, adtf::streaming::flash::cSampleReader, adtf::streaming::flash::cSampleWriter, and adtf::streaming::kiwi::cNullReader.

◆ SetName()

virtual void adtf::streaming::flash::ISampleStreamer::SetName ( const char * strName)
pure virtual

Sets the name of the streamer. This will be used when creating pins.

Parameters
[in]strNameThe name

Implemented in adtf::streaming::cNullReader, adtf::streaming::cSampleReader, adtf::streaming::cSampleWriter, adtf::streaming::flash::cSampleReader, adtf::streaming::flash::cSampleWriter, and adtf::streaming::kiwi::cNullReader.

◆ SetStreamerPin()

virtual tResult adtf::streaming::flash::ISampleStreamer::SetStreamerPin ( const ucom::ant::iobject_ptr< flash::IStreamerPin > & pStreamerPin)
pure virtual

Sets the pin that the streamer is associated with.

Parameters
[in]pStreamerPinThe pin.
Returns
Standard result.

Implemented in adtf::streaming::cNullReader, adtf::streaming::flash::cSampleReader, adtf::streaming::flash::cSampleWriter, and adtf::streaming::kiwi::cNullReader.

◆ SetType()


The documentation for this class was generated from the following file: