ADTF
Loading...
Searching...
No Matches
adtf::filter::testing Namespace Reference

Namespace for all testing functionality of the ADTF Filter SDK. More...

Namespaces

namespace  giant
 Namespace for all testing functionality of the ADTF Filter SDK provided since v3.6.
 
namespace  penguin
 Namespace for all testing functionality of the ADTF Filter SDK provided since v3.15.
 

Classes

class  cOutputRecorder
 
class  cTestWriter
 
class  cTestWriterWithSubStreams
 

Functions

tResult create_default_runners (const ucom::iobject_ptr< streaming::IFilter > &pFilter, ucom::iobject_list< streaming::IActiveRunner > &lstActiveRunners, const tChar *strThreadRunnerCID="", const tChar *strTimerRunnerCID="")
 
tResult deactivate_runners (ucom::iobject_list< streaming::IActiveRunner > &lstActiveRunners)
 
tResult activate_runners (ucom::iobject_list< streaming::IActiveRunner > &lstActiveRunners)
 

Detailed Description

Namespace for all testing functionality of the ADTF Filter SDK.

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()

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!

◆ 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!