MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ cancel()

void MayaFlux::Kriya::NodeTimer::cancel ( )

Cancels any currently active node.

This method deactivates any currently active node, disconnecting it from the output channel. If no node is active, this method has no effect.

Definition at line 184 of file Timers.cpp.

185{
186 if (m_timer.is_active()) {
188 }
189 m_timer.cancel();
190}
void cleanup_current_operation()
Cleans up the current operation, disconnecting the node and resetting state.
Definition Timers.cpp:171
Timer m_timer
The timer used to schedule node disconnection.
Definition Timers.hpp:357
bool is_active() const
Checks if a callback is currently scheduled.
Definition Timers.hpp:80
void cancel()
Cancels any scheduled callback.
Definition Timers.cpp:45

References MayaFlux::Kriya::Timer::cancel(), cleanup_current_operation(), MayaFlux::Kriya::Timer::is_active(), and m_timer.

Referenced by play_for(), and play_with_processing().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: