7 #ifndef _ADTF_ADTF2_LEGACY_STREAMING_SOURCE_HEADER_
8 #define _ADTF_ADTF2_LEGACY_STREAMING_SOURCE_HEADER_
37 return Init(cLegacyStateHandler::StageNormal);
47 return Shutdown(cLegacyStateHandler::StageFirst);
56 return Init(cLegacyStateHandler::StageGraphReady);
65 return Shutdown(cLegacyStateHandler::StageGraphReady);
133 auto pOutPin = adtf::ucom::make_object_ptr<adtf::streaming::ant::cOutPin>(strNameOfWriterAndPin);
137 return cSampleStreamingSource::RegisterPin(pPin);
154 using ant::cLegacyStreamingSource;
#define RETURN_IF_FAILED(s)
Return if expression is failed, which requires the calling function's return type to be tResult.
#define RETURN_NOERROR
Return status ERR_NOERROR, which requires the calling function's return type to be tResult.
A common result class usable as return value throughout.
Common base class for all legacy filter classes that emulates the old configuration interface.
Common base class for all legacy filter classes.
This class helps when porting ADTF 2 Filters to ADTF 3.
void SetManualTriggerRequired(bool bManualTriggerRequired)
For internal use only.
Common base class for all legacy filter classes that emulates the old state maschine of cFilter.
tInitStage
Old init stages.
Class that helps with porting old ADTF 2 Filters to ADTF 3.
tResult Shutdown(tInitStage) override
Emulates the old Shutdown method.
tResult Init(tInitStage) override
Emulates the old Init method.
tResult RegisterPin(cLegacyOutputPin &oOutput)
Compatibility method to register Pins.
virtual tResult StopStreaming()
Used internally.
virtual tResult Construct()
Used internally.
adtf_util::cString OIGetInstanceName()
Compatibility method to retrieve the name of the current filter instance.
virtual tResult StartStreaming()
Used internally.
virtual tResult Shutdown()
Used internally.
tResult Stop() override
Emulates the old Stop method.
tResult Start() override
Emulates the old Start method.
virtual tResult Init()
Used internally.
virtual tResult Destruct()
Used internally.
void ResetPin(ucom::ant::object_ptr< PINTYPE > &pPin)
Resets the pin reference This is only internaly used.
tResult GetName(base::ant::IString &&strName) const
Gets the name of the streamer.
Basic implementation for a Streaming Source.
Object pointer implementation used for reference counting on objects of type IObject.
string_base< cStackString > cString
cString implementation for a stack string which works on stack if string is lower than A_UTILS_DEFAUL...
Namespace for entire ADTF SDK.
#define adtf_string_intf(__string__)
The adtf_string_intf Macro helps to easily create a rvalue reference of a adtf::util::cString.