29 adtf::ucom::object_vector<adtf::streaming::IActiveRunner> vecRunners;
30 lstActiveRunners.GetObjects(vecRunners);
31 for (
auto& it : vecRunners)
33 tResult nLocalRet = it->Deactivate();
51 adtf::ucom::object_vector<adtf::streaming::IActiveRunner> vecRunners;
52 lstActiveRunners.GetObjects(vecRunners);
53 for (
auto& it : vecRunners)
55 nResult = it->Activate();
76 ucom::iobject_list<streaming::IActiveRunner>& lstActiveRunners,
77 const tChar* strThreadRunnerCID =
"",
const tChar* strTimerRunnerCID =
"");
91 const tChar* strThreadRunnerCID =
"",
const tChar* strTimerRunnerCID =
"");
95 using ant::create_default_runners;
96 using ant::deactivate_runners;
97 using ant::activate_runners;
char tChar
The tChar defines the type for platform character set (platform and compiler dependent type).
#define IS_FAILED(s)
Check if result is failed.
A common result class usable as return value throughout.
Default implementation for the IFilterGraph interface.
Base object pointer to realize binary compatible reference counting in interface methods.
tResult create_default_runners(const ucom::iobject_ptr< streaming::IFilter > &pFilter, ucom::iobject_list< streaming::IActiveRunner > &lstActiveRunners, const tChar *strThreadRunnerCID="", const tChar *strTimerRunnerCID="")
This testing function creates the default active runner objects to test a filter.
tResult deactivate_runners(ucom::iobject_list< streaming::IActiveRunner > &lstActiveRunners)
Deactivates a list of active runners for testing.
tResult activate_runners(ucom::iobject_list< streaming::IActiveRunner > &lstActiveRunners)
Activates a list of active runners for testing.
Copyright © Audi Electronics Venture GmbH.
Copyright © Audi Electronics Venture GmbH.
Namespace for entire ADTF SDK.
Copyright © Audi Electronics Venture GmbH.