TracktionEngine
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
EditProxyFunctions Struct Reference

#include <tracktion_ARAWrapperFunctions.h>

Static Public Member Functions

static void marshalToMessageThread (ARAPlaybackControllerHostRef ref, std::function< void(TransportControl &)> fn)
 The spec allows these requests to arrive concurrently from any non-render thread and explicitly permits deferred execution, but TransportControl must only be used from the message thread - so hop over to it, re-checking that the edit is still open when the callback finally runs.
 
static void ARA_CALL requestStartPlayback (ARAPlaybackControllerHostRef ref)
 
static void ARA_CALL requestStopPlayback (ARAPlaybackControllerHostRef ref)
 
static void ARA_CALL requestSetPlaybackPosition (ARAPlaybackControllerHostRef ref, ARATimePosition timePosition)
 
static void ARA_CALL requestSetCycleRange (ARAPlaybackControllerHostRef ref, ARATimePosition startTime, ARATimeDuration duration)
 
static void ARA_CALL requestEnableCycle (ARAPlaybackControllerHostRef ref, ARABool enable)
 

Member Function Documentation

◆ marshalToMessageThread()

static void EditProxyFunctions::marshalToMessageThread ( ARAPlaybackControllerHostRef  ref,
std::function< void(TransportControl &)>  fn 
)
static

The spec allows these requests to arrive concurrently from any non-render thread and explicitly permits deferred execution, but TransportControl must only be used from the message thread - so hop over to it, re-checking that the edit is still open when the callback finally runs.

Referenced by requestEnableCycle(), requestSetCycleRange(), requestSetPlaybackPosition(), requestStartPlayback(), and requestStopPlayback().

◆ requestStartPlayback()

static void ARA_CALL EditProxyFunctions::requestStartPlayback ( ARAPlaybackControllerHostRef  ref)
static

◆ requestStopPlayback()

static void ARA_CALL EditProxyFunctions::requestStopPlayback ( ARAPlaybackControllerHostRef  ref)
static

◆ requestSetPlaybackPosition()

static void ARA_CALL EditProxyFunctions::requestSetPlaybackPosition ( ARAPlaybackControllerHostRef  ref,
ARATimePosition  timePosition 
)
static

◆ requestSetCycleRange()

static void ARA_CALL EditProxyFunctions::requestSetCycleRange ( ARAPlaybackControllerHostRef  ref,
ARATimePosition  startTime,
ARATimeDuration  duration 
)
static

◆ requestEnableCycle()

static void ARA_CALL EditProxyFunctions::requestEnableCycle ( ARAPlaybackControllerHostRef  ref,
ARABool  enable 
)
static

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