TracktionEngine
Loading...
Searching...
No Matches
engine::SlotControlNode Class Referencefinal

#include <tracktion_SlotControlNode.h>

Inheritance diagram for engine::SlotControlNode:

Public Member Functions

 SlotControlNode (ProcessState &editProcessState, std::shared_ptr< LaunchHandle >, std::optional< BeatDuration > stopDuration, std::function< void(MonotonicBeat)> stopFunction, EditItemID slotID, std::unique_ptr< Node > input)
const LaunchHandle & getLaunchHandle () const
const LaunchHandle * getLaunchHandleIfNotUnique () const
tracktion::graph::NodeProperties getNodeProperties () override
std::vector< Node * > getDirectInputNodes () override
std::vector< Node * > getInternalNodes () override
void prepareToPlay (const tracktion::graph::PlaybackInitialisationInfo &) override
bool isReadyToProcess () override
void prefetchBlock (juce::Range< int64_t >) override
void process (ProcessContext &) override
Public Member Functions inherited from engine::TracktionEngineNode
 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.
ProcessState & getProcessState ()
 Returns the ProcessState in use.
void setProcessState (ProcessState &)

Constructor & Destructor Documentation

◆ SlotControlNode()

engine::SlotControlNode::SlotControlNode ( ProcessState & editProcessState,
std::shared_ptr< LaunchHandle > ,
std::optional< BeatDuration > stopDuration,
std::function< void(MonotonicBeat)> stopFunction,
EditItemID slotID,
std::unique_ptr< Node > input )

Member Function Documentation

◆ getLaunchHandle()

const LaunchHandle & engine::SlotControlNode::getLaunchHandle ( ) const

◆ getLaunchHandleIfNotUnique()

const LaunchHandle * engine::SlotControlNode::getLaunchHandleIfNotUnique ( ) const

◆ getNodeProperties()

tracktion::graph::NodeProperties engine::SlotControlNode::getNodeProperties ( )
override

◆ getDirectInputNodes()

std::vector< Node * > engine::SlotControlNode::getDirectInputNodes ( )
override

◆ getInternalNodes()

std::vector< Node * > engine::SlotControlNode::getInternalNodes ( )
override

◆ prepareToPlay()

void engine::SlotControlNode::prepareToPlay ( const tracktion::graph::PlaybackInitialisationInfo & )
override

◆ isReadyToProcess()

bool engine::SlotControlNode::isReadyToProcess ( )
override

◆ prefetchBlock()

void engine::SlotControlNode::prefetchBlock ( juce::Range< int64_t > )
override

◆ process()

void engine::SlotControlNode::process ( ProcessContext & )
override

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