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

brings the latest ant::ISampleStreamer in users scope More...

#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

brings the latest ant::ISampleStreamer in users scope

Base interface for sample readers and writers.

Member Function Documentation

◆ BeginStreaming()

virtual tResult adtf::streaming::flash::ISampleStreamer::BeginStreaming ( ant::ISampleStream & pStream)
pure virtual

Begin streaming on the given sample stream.

Parameters
[in]pStreamthe sample stream.
Returns
Standard result.

◆ EndStreaming()

virtual tResult adtf::streaming::flash::ISampleStreamer::EndStreaming ( )
pure virtual

End streaming

Returns
Standard result.

◆ 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.

◆ 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.

◆ 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

◆ 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.

◆ SetType()

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

Sets the initial stream type of a streamer.

Parameters
[in]pStreamTypeThe stream type
Returns
Standard result.

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