ADTF
3.18.3
|
Copyright © Audi Electronics Venture GmbH. More...
Go to the source code of this file.
Namespaces | |
adtf | |
Namespace for entire ADTF SDK. | |
adtf::filter | |
Namespace for the ADTF Filter SDK. | |
adtf::filter::testing | |
Namespace for all testing functionality of the ADTF Filter SDK. | |
Functions | |
tResult | deactivate_runners (ucom::iobject_list< streaming::IActiveRunner > &lstActiveRunners) |
Deactivates a list of active runners for testing. More... | |
tResult | activate_runners (ucom::iobject_list< streaming::IActiveRunner > &lstActiveRunners) |
Activates a list of active runners for testing. More... | |
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. More... | |
tResult | create_default_runners (streaming::ant::cFilterGraph &oGraph, const char *strNameOfFilter, const tChar *strThreadRunnerCID="", const tChar *strTimerRunnerCID="") |
This testing function creates the default active runner objects to test a filter of the given oGraph . More... | |
Copyright © Audi Electronics Venture GmbH.
All rights reserved
Definition in file create_default_triggers.h.
|
inline |
Activates a list of active runners for testing.
lstActiveRunners | [in] List of Runners |
Definition at line 48 of file create_default_triggers.h.
References adtf::filter::testing::ant::activate_runners(), adtf::filter::testing::ant::deactivate_runners(), and IS_FAILED.
Referenced by adtf::filter::testing::ant::activate_runners().
tResult adtf::filter::testing::ant::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.
pFilter | [in] Filter instance. |
lstActiveRunners | [in] Runners created. Remark: Keep this list valid until your ready. Otherwise the reference counting will destroy your Runner objects. |
strThreadRunnerCID | [in] Class ID of the Thread Runner to create. If empty the Thread Runner will be used. |
strTimerRunnerCID | [in] Class ID of the Timer Runner to create. If empty the Timer Runner will be used. |
References adtf::filter::testing::ant::create_default_runners().
Referenced by adtf::filter::testing::ant::create_default_runners().
tResult adtf::filter::testing::ant::create_default_runners | ( | streaming::ant::cFilterGraph & | oGraph, |
const char * | strNameOfFilter, | ||
const tChar * | strThreadRunnerCID = "" , |
||
const tChar * | strTimerRunnerCID = "" |
||
) |
This testing function creates the default active runner objects to test a filter of the given oGraph
.
This implementation will not consider the subgraphs!
oGraph | [in] Graph where to get the filter with the name strNameOfFilter from and add the Runners to. |
strNameOfFilter | [in] Name of the filter |
strThreadRunnerCID | [in] Class ID of the Thread Runner to create. If empty the Thread Runner will be used. |
strTimerRunnerCID | [in] Class ID of the Timer Runner to create. If empty the Timer Runner will be used. |
References adtf::filter::testing::ant::create_default_runners().
|
inline |
Deactivates a list of active runners for testing.
lstActiveRunners | [in] List of Runners |
Definition at line 26 of file create_default_triggers.h.
References adtf::filter::testing::ant::deactivate_runners(), and IS_FAILED.
Referenced by adtf::filter::testing::ant::activate_runners(), and adtf::filter::testing::ant::deactivate_runners().