ADTF
3.16.2
|
Common base class for all legacy filter classes that emulates the old IPinEventHandler interface. More...
Protected Member Functions | |
virtual tResult | OnSampleReceived (cLegacyInputPin *, const adtf::ucom::iobject_ptr< const adtf::streaming::ISample > &) |
This is called whenever a sample is received via one of the input Pins. More... | |
virtual tResult | OnTypeChanged (cLegacyInputPin *pPin, const adtf::ucom::iobject_ptr< const adtf::streaming::IStreamType > &pType) |
This is called whenever a type has been changed/received on one of the input Pins. More... | |
Common base class for all legacy filter classes that emulates the old IPinEventHandler interface.
You have to split your OnPinEvent Method into the two methods of this class.
Definition at line 245 of file legacy_filter.h.
|
inlineprotectedvirtual |
This is called whenever a sample is received via one of the input Pins.
[in] | pPin | The Pin that the sample was received on. |
[in] | pSample | The Sample that has been received |
Definition at line 254 of file legacy_filter.h.
References RETURN_NOERROR.
Referenced by cLegacyFilter::Process(), and cLegacyStreamingSink::Trigger().
|
inlineprotectedvirtual |
This is called whenever a type has been changed/received on one of the input Pins.
[in] | pPin | The Pin that the sample was received on. |
[in] | pType | The new type. |
Definition at line 267 of file legacy_filter.h.
References object_ptr< T >::Get(), iobject_ptr_base< T >::Get(), and RETURN_IF_FAILED.