Loading...
Searching...
No Matches
Execution::TapTicker Class Referencefinal
Inheritance diagram for Execution::TapTicker:
Execution::ExecutionAction score::InterfaceBase

Detailed Description

Taps are driven by no time process: this gives them a token at the start of each tick, so that the graph runs them after their sources.

The list of nodes is built on the GUI thread and published whole; the execution thread only reads it. A replaced list is freed once the execution thread cannot be reading it anymore. A node that is not in the running graph keeps the one token it was given.

Public Member Functions

void startTick (const ossia::audio_tick_state &st) override
 
void add (std::shared_ptr< ossia::graph_node > node)
 GUI thread.
 
void remove (const ossia::graph_node *node)
 
- Public Member Functions inherited from Execution::ExecutionAction
virtual void endTick (const ossia::audio_tick_state &st)
 
- Public Member Functions inherited from score::InterfaceBase
virtual InterfaceKey interfaceKey () const noexcept=0
 Identifies an interface uniquely.
 

Static Public Member Functions

static TapTicker * instance () noexcept
 

Member Function Documentation

◆ startTick()

void Execution::TapTicker::startTick ( const ossia::audio_tick_state &  st)
overridevirtual

Reimplemented from Execution::ExecutionAction.


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