TracktionEngine
Loading...
Searching...
No Matches
Public Member Functions | List of all members
engine::TracktionEngineNode Class Reference

Base class for Nodes that provides information about the current process call. More...

#include <tracktion_TracktionEngineNode.h>

Inheritance diagram for engine::TracktionEngineNode:

Public Member Functions

 TracktionEngineNode (ProcessState &)
 Creates a TracktionEngineNode.
 
virtual ~TracktionEngineNode ()=default
 Destructor.
 
int getNumSamples () const
 Returns the number of samples in the current process block.
 
double getSampleRate () const
 Returns the sample rate of the current process block.
 
juce::Range< int64_t > getTimelineSampleRange () const
 Returns the timeline sample range of the current process block.
 
TimeRange getEditTimeRange () const
 Returns the edit time range of the current process block.
 
BeatRange getEditBeatRange () const
 Returns the edit beat range of the current process block.
 
juce::Range< int64_t > getReferenceSampleRange () const
 Returns the reference sample range (from the DeviceManager) of the current process block.
 
tempo::Key getKey () const
 Returns the key of the current process block.
 
double getPlaybackSpeedRatio () const
 Returns the playback speed ratio of the current process block.
 
std::optional< TimePosition > getTimeOfNextChange () const
 May return the time of the next tempo or time sig change.
 
std::optional< BeatPosition > getBeatOfNextChange () const
 May return the time of the next tempo or time sig change.
 
tracktion::graph::PlayHeadState & getPlayHeadState ()
 Returns the PlayHeadState in use.
 
tracktion::graph::PlayHead & getPlayHead ()
 Returns the PlayHead in use.
 
ProcessStategetProcessState ()
 Returns the ProcessState in use.
 
void setProcessState (ProcessState &)
 

Detailed Description

Base class for Nodes that provides information about the current process call.

Constructor & Destructor Documentation

◆ TracktionEngineNode()

engine::TracktionEngineNode::TracktionEngineNode ( ProcessState )

Creates a TracktionEngineNode.

◆ ~TracktionEngineNode()

virtual engine::TracktionEngineNode::~TracktionEngineNode ( )
virtualdefault

Destructor.

Member Function Documentation

◆ getNumSamples()

int engine::TracktionEngineNode::getNumSamples ( ) const

Returns the number of samples in the current process block.

◆ getSampleRate()

double engine::TracktionEngineNode::getSampleRate ( ) const

Returns the sample rate of the current process block.

◆ getTimelineSampleRange()

juce::Range< int64_t > engine::TracktionEngineNode::getTimelineSampleRange ( ) const

Returns the timeline sample range of the current process block.

◆ getEditTimeRange()

TimeRange engine::TracktionEngineNode::getEditTimeRange ( ) const

Returns the edit time range of the current process block.

◆ getEditBeatRange()

BeatRange engine::TracktionEngineNode::getEditBeatRange ( ) const

Returns the edit beat range of the current process block.

◆ getReferenceSampleRange()

juce::Range< int64_t > engine::TracktionEngineNode::getReferenceSampleRange ( ) const

Returns the reference sample range (from the DeviceManager) of the current process block.

◆ getKey()

tempo::Key engine::TracktionEngineNode::getKey ( ) const

Returns the key of the current process block.

◆ getPlaybackSpeedRatio()

double engine::TracktionEngineNode::getPlaybackSpeedRatio ( ) const

Returns the playback speed ratio of the current process block.

◆ getTimeOfNextChange()

std::optional< TimePosition > engine::TracktionEngineNode::getTimeOfNextChange ( ) const

May return the time of the next tempo or time sig change.

◆ getBeatOfNextChange()

std::optional< BeatPosition > engine::TracktionEngineNode::getBeatOfNextChange ( ) const

May return the time of the next tempo or time sig change.

◆ getPlayHeadState()

tracktion::graph::PlayHeadState & engine::TracktionEngineNode::getPlayHeadState ( )

Returns the PlayHeadState in use.

◆ getPlayHead()

tracktion::graph::PlayHead & engine::TracktionEngineNode::getPlayHead ( )

Returns the PlayHead in use.

◆ getProcessState()

ProcessState & engine::TracktionEngineNode::getProcessState ( )

Returns the ProcessState in use.

◆ setProcessState()

void engine::TracktionEngineNode::setProcessState ( ProcessState )

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