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

Represents a launch quantisation. More...

#include <tracktion_LaunchQuantisation.h>

Public Member Functions

 LaunchQuantisation (juce::ValueTree &, Edit &)
 Creates a LaunchQuantisation property on a given state tree.
 
BeatPosition getNext (BeatPosition) const noexcept
 Returns the next beat quantised to the current type.
 

Public Attributes

Editedit
 The Edit this belongs to.
 
juce::CachedValue< LaunchQTypetype
 The current type property.
 

Detailed Description

Represents a launch quantisation.

Usually this is set globally in the Edit but may be overriden by clips.

Constructor & Destructor Documentation

◆ LaunchQuantisation()

tracktion::engine::LaunchQuantisation::LaunchQuantisation ( juce::ValueTree &  ,
Edit  
)

Creates a LaunchQuantisation property on a given state tree.

The Edit is used to find the TempoSequence and UndoManager.

Member Function Documentation

◆ getNext()

BeatPosition tracktion::engine::LaunchQuantisation::getNext ( BeatPosition  ) const
noexcept

Returns the next beat quantised to the current type.

Member Data Documentation

◆ edit

Edit& tracktion::engine::LaunchQuantisation::edit

The Edit this belongs to.


◆ type

juce::CachedValue<LaunchQType> tracktion::engine::LaunchQuantisation::type

The current type property.



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