TracktionEngine
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. More...
 
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. More...
 
std::shared_ptr< TestContextprocessAll ()
 
std::shared_ptr< TestContextgetTestResult ()
 

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 
)

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.

Referenced by tracktion::engine::benchmark_utilities::prepareRenderAndDestroy().

◆ getStatisticsAndReset()

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

◆ getNode()

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

◆ getNodePlayer()

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

◆ setNode()

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

◆ setPlayer()

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

◆ setPlayHead()

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

◆ process()

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

◆ processAll()

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

◆ getTestResult()

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

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