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

◆ cancel()

void MayaFlux::Kriya::TemporalActivation::cancel ( )

Cancels any currently active node.

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

Definition at line 193 of file Timers.cpp.

194{
195 if (m_timer.is_active()) {
197 }
198 m_timer.cancel();
199}
void cleanup_current_operation()
Cleans up the current operation, disconnecting the entity and resetting state.
Definition Timers.cpp:148
Timer m_timer
The timer used to schedule processing duration.
Definition Timers.hpp:361
bool is_active() const
Checks if a callback is currently scheduled.
Definition Timers.hpp:89
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 activate_buffer(), activate_network(), and activate_node().

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