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

« « « Anklang Documentation
Loading...
Searching...
No Matches
Classes | Enumerations | Functions
tracktion_FollowActions.h File Reference
#include <span>

Go to the source code of this file.

Classes

class  engine::FollowActions
 
struct  engine::FollowActions::Action
 
struct  juce::VariantConverter< tracktion::engine::FollowAction >
 

Enumerations

enum class  engine::FollowAction {
  none , globalStop , globalReturnToArrangement , globalPlayAgain ,
  trackPrevious , trackNext , trackFirst , trackLast ,
  trackAny , trackOther , trackRoundRobin , currentGroupPrevious ,
  currentGroupNext , currentGroupFirst , currentGroupLast , currentGroupAny ,
  currentGroupOther , currentGroupRoundRobin , previousGroupFirst , previousGroupLast ,
  previousGroupAny , nextGroupFirst , nextGroupLast , nextGroupAny ,
  otherGroupFirst , otherGroupLast , otherGroupAny
}
 Determines the type of action to perform after a Clip has played for a set period. More...
 

Functions

std::optional< FollowActionengine::followActionFromChoice (juce::String)
 Converts a FollowAction choice to a FollowAction if possible.
 
std::optional< FollowActionengine::followActionFromString (juce::String)
 Converts a string to a FollowAction if possible.
 
juce::String engine::toString (FollowAction)
 Converts a FollowAction to a string if possible.
 
std::function< void(MonotonicBeat)> engine::createFollowAction (Clip &)
 Creates a follow action for a Clip.
 

Class Documentation

◆ engine::FollowActions::Action

struct engine::FollowActions::Action

Definition at line 75 of file tracktion_FollowActions.h.

Class Members
CachedValue< FollowAction > action
ValueTree state
CachedValue< double > weight

Enumeration Type Documentation

◆ FollowAction

enum class engine::FollowAction
strong

Determines the type of action to perform after a Clip has played for a set period.

Definition at line 20 of file tracktion_FollowActions.h.

Function Documentation

◆ createFollowAction()

std::function< void(MonotonicBeat)> engine::createFollowAction ( Clip &  c)

Creates a follow action for a Clip.

Definition at line 416 of file tracktion_FollowActions.cpp.

◆ followActionFromString()

std::optional< FollowAction > engine::followActionFromString ( juce::String  s)

Converts a string to a FollowAction if possible.

Definition at line 20 of file tracktion_FollowActions.cpp.

◆ toString()

juce::String engine::toString ( FollowAction  fa)

Converts a FollowAction to a string if possible.

Definition at line 25 of file tracktion_FollowActions.cpp.