ADTF
Loading...
Searching...
No Matches
create_default_triggers.h File Reference
Include dependency graph for create_default_triggers.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  adtf
 Namespace for all functionality provided by ADTF and its SDKs.
 
namespace  adtf::filter
 Namespace for the ADTF Filter SDK.
 
namespace  adtf::filter::testing
 Namespace for all testing functionality of the ADTF Filter SDK.
 

Functions

tResult adtf::filter::testing::ant::deactivate_runners (ucom::iobject_list< streaming::IActiveRunner > &lstActiveRunners)
 
tResult adtf::filter::testing::ant::activate_runners (ucom::iobject_list< streaming::IActiveRunner > &lstActiveRunners)
 
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="")
 
tResult adtf::filter::testing::ant::create_default_runners (streaming::cFilterGraph &oGraph, const char *strNameOfFilter, const tChar *strThreadRunnerCID="", const tChar *strTimerRunnerCID="")
 
tResult adtf::filter::testing::create_default_runners (const ucom::iobject_ptr< streaming::IFilter > &pFilter, ucom::iobject_list< streaming::IActiveRunner > &lstActiveRunners, const tChar *strThreadRunnerCID="", const tChar *strTimerRunnerCID="")
 
tResult adtf::filter::testing::deactivate_runners (ucom::iobject_list< streaming::IActiveRunner > &lstActiveRunners)
 
tResult adtf::filter::testing::activate_runners (ucom::iobject_list< streaming::IActiveRunner > &lstActiveRunners)
 

Detailed Description

Copyright © Audi Electronics Venture GmbH. All rights reserved

Function Documentation

◆ activate_runners()

tResult adtf::filter::testing::ant::activate_runners ( ucom::iobject_list< streaming::IActiveRunner > & lstActiveRunners)
inline

Activates a list of active runners for testing.

Parameters
lstActiveRunners[in] List of Runners
Returns
Depends on the return values of the IActiveRunner::Activate

◆ create_default_runners() [1/2]

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.

Parameters
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.
See also
activate_runners
deactivate_runners
Parameters
strThreadRunnerCID[in] Class ID of the Thread Runner to create. If empty the page_thread_runner will be used.
strTimerRunnerCID[in] Class ID of the Timer Runner to create. If empty the page_timer_runner will be used.
Remarks
It will only work if the given filter reference uses the adtf::filter::ant::cFilter implementation!

◆ create_default_runners() [2/2]

tResult adtf::filter::testing::ant::create_default_runners ( streaming::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!

Parameters
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 pager_thread_runner will be used.
strTimerRunnerCID[in] Class ID of the Timer Runner to create. If empty the Timer Runner will be used.
Remarks
It will only work if the given filter references uses the adtf::filter::ant::cFilter implementation!

◆ deactivate_runners()

tResult adtf::filter::testing::ant::deactivate_runners ( ucom::iobject_list< streaming::IActiveRunner > & lstActiveRunners)
inline

Deactivates a list of active runners for testing.

Parameters
lstActiveRunners[in] List of Runners
Returns
Depends on the return values of the IActiveRunner::Deactivate

return at least one error!