|
| Vruta::Event | any_key (std::shared_ptr< Core::Window > window, std::function< void(IO::Keys)> callback) |
| | Creates an Event coroutine that triggers on any key press.
|
| |
| std::shared_ptr< Vruta::BroadcastSource< bool > > | audio_output_tick () |
| | Create a BroadcastSource<bool> ticking once per audio output cycle.
|
| |
| Vruta::SoundRoutine | Gate (std::function< void()> callback, std::shared_ptr< Nodes::Generator::Logic > logic_node, bool open=true) |
| | Coroutine that executes callback continuously while logic node outputs true.
|
| |
| Vruta::Event | key_held (std::shared_ptr< Core::Window > window, IO::Keys key, std::function< void()> callback) |
| | Creates an Event coroutine that triggers on key press and repeats while held.
|
| |
| Vruta::Event | key_pressed (std::shared_ptr< Core::Window > window, IO::Keys key, std::function< void()> callback) |
| | Creates an Event coroutine that triggers on specific key press.
|
| |
| Vruta::Event | key_released (std::shared_ptr< Core::Window > window, IO::Keys key, std::function< void()> callback) |
| | Creates an Event coroutine that triggers on specific key release.
|
| |
| Vruta::SoundRoutine | line (float start_value, float end_value, float duration_seconds, uint32_t step_duration=5, bool restartable=false) |
| | Creates a continuous interpolation generator between two values over time.
|
| |
| std::shared_ptr< Vruta::Routine > | metro (double interval_seconds, std::function< void()> callback, Vruta::ProcessingToken token=Vruta::ProcessingToken::SAMPLE_ACCURATE) |
| | Creates a periodic event generator that executes a callback at regular intervals.
|
| |
| Vruta::Event | mouse_dragged (std::shared_ptr< Core::Window > window, IO::MouseButtons button, std::function< void(double, double)> callback) |
| | Creates an Event coroutine that triggers on mouse drag with specific button.
|
| |
| Vruta::Event | mouse_moved (std::shared_ptr< Core::Window > window, std::function< void(double, double)> callback) |
| | Creates an Event coroutine that triggers on mouse movement.
|
| |
| Vruta::Event | mouse_pressed (std::shared_ptr< Core::Window > window, IO::MouseButtons button, std::function< void(double, double)> callback) |
| | Creates an Event coroutine that triggers on specific mouse button press.
|
| |
| Vruta::Event | mouse_released (std::shared_ptr< Core::Window > window, IO::MouseButtons button, std::function< void(double, double)> callback) |
| | Creates an Event coroutine that triggers on specific mouse button release.
|
| |
| Vruta::Event | mouse_scrolled (std::shared_ptr< Core::Window > window, std::function< void(double, double)> callback) |
| | Creates an Event coroutine that triggers on mouse scroll.
|
| |
| Vruta::Event | on_message (std::shared_ptr< Vruta::NetworkSource > source, std::function< void(const Core::NetworkMessage &)> callback) |
| | Creates an Event coroutine that fires on every message received by a source.
|
| |
| Vruta::Event | on_message_from (std::shared_ptr< Vruta::NetworkSource > source, std::string sender_address, std::function< void(const Core::NetworkMessage &)> callback) |
| | Creates an Event coroutine that fires only for messages from a specific sender.
|
| |
| Vruta::Event | on_message_matching (std::shared_ptr< Vruta::NetworkSource > source, std::function< bool(const Core::NetworkMessage &)> predicate, std::function< void(const Core::NetworkMessage &)> callback) |
| | Creates an Event coroutine that fires only when a predicate matches.
|
| |
| template<typename T , typename Callback > |
| Vruta::Event | on_signal (std::shared_ptr< Vruta::BroadcastSource< T > > source, Callback callback) |
| | Creates an Event coroutine that fires on every signal from a BroadcastSource.
|
| |
| template<typename T , typename Predicate , typename Callback > |
| Vruta::Event | on_signal_matching (std::shared_ptr< Vruta::BroadcastSource< T > > source, Predicate predicate, Callback callback) |
| | Creates an Event coroutine that fires only when a predicate matches.
|
| |
| std::shared_ptr< BufferPipeline > | operator>> (std::shared_ptr< BufferPipeline > pipeline, BufferOperation &&operation) |
| |
| std::shared_ptr< BufferPipeline > | operator>> (std::shared_ptr< BufferPipeline > pipeline, BufferOperation &operation) |
| |
| std::shared_ptr< Vruta::Routine > | pattern (std::function< std::any(uint64_t)> pattern_func, std::function< void(std::any)> callback, double interval_seconds, Vruta::ProcessingToken token=Vruta::ProcessingToken::SAMPLE_ACCURATE) |
| | Creates a generative algorithm that produces values based on a pattern function.
|
| |
| std::shared_ptr< Vruta::Routine > | sequence (std::vector< std::pair< double, std::function< void()> > > sequence, Vruta::ProcessingToken token=Vruta::ProcessingToken::SAMPLE_ACCURATE) |
| | Creates a temporal sequence that executes callbacks at specified time offsets.
|
| |
| Vruta::SoundRoutine | Toggle (std::function< void()> callback, std::shared_ptr< Nodes::Generator::Logic > logic_node) |
| | Coroutine that executes callback on any logic node state change.
|
| |
| Vruta::SoundRoutine | Trigger (bool target_state, std::function< void()> callback, std::shared_ptr< Nodes::Generator::Logic > logic_node) |
| | Coroutine that executes callback when logic node changes to specific state.
|
| |
| std::shared_ptr< Vruta::BroadcastSource< WindowFrame > > | window_frame_tick (const std::shared_ptr< Core::Window > &window) |
| | Create a BroadcastSource<bool> ticking once per captured window frame.
|
| |