tracktion-engine 3.0-10-g034fdde4aa5
Tracktion Engine — High level data model for audio applications

« « « Anklang Documentation
Loading...
Searching...
No Matches
Public Member Functions | List of all members
tracktion::graph::test_utilities::TestProcess< NodePlayerType > Struct Template Reference

Public Member Functions

 TestProcess (std::unique_ptr< NodePlayerType > playerToUse, TestSetup ts, const int numChannelsToUse, const double duration, bool writeToBuffer)
 
std::string getDescription () const
 Returns a description of the number of channels and length of rendering.
 
const PerformanceMeasurementgetPerformanceMeasurement ()
 
PerformanceMeasurement::Statistics getStatisticsAndReset ()
 
NodegetNode () const
 
NodePlayerType & getNodePlayer () const
 
void setNode (std::unique_ptr< Node > newNode)
 
void setPlayer (std::unique_ptr< NodePlayerType > newPlayerToUse)
 
void setPlayHead (tracktion::graph::PlayHead *newPlayHead)
 
bool process (int maxNumSamples)
 Processes a number of samples.
 
std::shared_ptr< TestContextprocessAll ()
 
std::shared_ptr< TestContextgetTestResult ()
 

Detailed Description

template<typename NodePlayerType>
struct tracktion::graph::test_utilities::TestProcess< NodePlayerType >

Definition at line 548 of file tracktion_TestUtilities.h.

Constructor & Destructor Documentation

◆ TestProcess()

template<typename NodePlayerType >
tracktion::graph::test_utilities::TestProcess< NodePlayerType >::TestProcess ( std::unique_ptr< NodePlayerType >  playerToUse,
TestSetup  ts,
const int  numChannelsToUse,
const double  duration,
bool  writeToBuffer 
)

Definition at line 550 of file tracktion_TestUtilities.h.

Member Function Documentation

◆ getDescription()

template<typename NodePlayerType >
std::string tracktion::graph::test_utilities::TestProcess< NodePlayerType >::getDescription ( ) const

Returns a description of the number of channels and length of rendering.

Definition at line 577 of file tracktion_TestUtilities.h.

◆ getNode()

template<typename NodePlayerType >
Node & tracktion::graph::test_utilities::TestProcess< NodePlayerType >::getNode ( ) const

Definition at line 594 of file tracktion_TestUtilities.h.

◆ getNodePlayer()

template<typename NodePlayerType >
NodePlayerType & tracktion::graph::test_utilities::TestProcess< NodePlayerType >::getNodePlayer ( ) const

Definition at line 599 of file tracktion_TestUtilities.h.

◆ getPerformanceMeasurement()

template<typename NodePlayerType >
const PerformanceMeasurement & tracktion::graph::test_utilities::TestProcess< NodePlayerType >::getPerformanceMeasurement ( )

Definition at line 584 of file tracktion_TestUtilities.h.

◆ getStatisticsAndReset()

template<typename NodePlayerType >
PerformanceMeasurement::Statistics tracktion::graph::test_utilities::TestProcess< NodePlayerType >::getStatisticsAndReset ( )

Definition at line 589 of file tracktion_TestUtilities.h.

◆ getTestResult()

template<typename NodePlayerType >
std::shared_ptr< TestContext > tracktion::graph::test_utilities::TestProcess< NodePlayerType >::getTestResult ( )

Definition at line 676 of file tracktion_TestUtilities.h.

◆ process()

template<typename NodePlayerType >
bool tracktion::graph::test_utilities::TestProcess< NodePlayerType >::process ( int  maxNumSamples)

Processes a number of samples.

Returns true if there is still more processing to be done.

Definition at line 625 of file tracktion_TestUtilities.h.

◆ processAll()

template<typename NodePlayerType >
std::shared_ptr< TestContext > tracktion::graph::test_utilities::TestProcess< NodePlayerType >::processAll ( )

Definition at line 670 of file tracktion_TestUtilities.h.

◆ setNode()

template<typename NodePlayerType >
void tracktion::graph::test_utilities::TestProcess< NodePlayerType >::setNode ( std::unique_ptr< Node newNode)

Definition at line 604 of file tracktion_TestUtilities.h.

◆ setPlayer()

template<typename NodePlayerType >
void tracktion::graph::test_utilities::TestProcess< NodePlayerType >::setPlayer ( std::unique_ptr< NodePlayerType >  newPlayerToUse)

Definition at line 610 of file tracktion_TestUtilities.h.

◆ setPlayHead()

template<typename NodePlayerType >
void tracktion::graph::test_utilities::TestProcess< NodePlayerType >::setPlayHead ( tracktion::graph::PlayHead newPlayHead)

Definition at line 617 of file tracktion_TestUtilities.h.


The documentation for this struct was generated from the following file: