ADTF  3.18.2
cLegacyInputPin

This class helps when porting ADTF 2 Filters to ADTF 3. More...

Inheritance diagram for cLegacyInputPin:
[legend]

Public Member Functions

tResult Create (const char *strName, const ucom::iobject_ptr< const adtf::streaming::IStreamType > &pStreamType)
 Initializes an instance of an Input Pin. More...
 
tResult Create (const char *strName, const ucom::iobject_ptr< adtf::streaming::IStreamType > &pStreamType)
 Initializes an instance of an Input Pin. More...
 
- Public Member Functions inherited from sample_reader< adtf::streaming::ant::cDynamicSampleReaderQueue, false >
tResult Push (const IStreamItem &oItem, tTimeStamp tsTime) override
 
void Clear () override
 
tResult Pop (IStreamItem &oItem) override
 

Additional Inherited Members

- Protected Types inherited from sample_reader< adtf::streaming::ant::cDynamicSampleReaderQueue, false >
typedef std::conditional< STORE_LAST_SAMPLE, cLastSampleReader, cSampleReader >::type base_class
 base class
 
- Protected Attributes inherited from sample_reader< adtf::streaming::ant::cDynamicSampleReaderQueue, false >
adtf::streaming::ant::cDynamicSampleReaderQueue m_oInternalQueue
 A internal sample queue.
 

Detailed Description

This class helps when porting ADTF 2 Filters to ADTF 3.

Use it instead of the old cInputPin classes. See

See also
page_legacy_filter for an example of such a ported Filter.

Definition at line 25 of file legacy_filter.h.

Member Function Documentation

◆ Create() [1/2]

tResult Create ( const char *  strName,
const ucom::iobject_ptr< adtf::streaming::IStreamType > &  pStreamType 
)
inline

Initializes an instance of an Input Pin.

Parameters
[in]strNameThe name of the Pin.
[in]pStreamTypeThe Type of the Pin.
Returns
Standard result.

Definition at line 48 of file legacy_filter.h.

◆ Create() [2/2]

tResult Create ( const char *  strName,
const ucom::iobject_ptr< const adtf::streaming::IStreamType > &  pStreamType 
)
inline

Initializes an instance of an Input Pin.

Parameters
[in]strNameThe name of the Pin.
[in]pStreamTypeThe Type of the Pin.
Returns
Standard result.

Definition at line 35 of file legacy_filter.h.