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

◆ SoundRoutine() [2/3]

MayaFlux::Vruta::SoundRoutine::SoundRoutine ( const SoundRoutine other)

Copy constructor.

Parameters
otherSoundRoutine to copy

Creates a new SoundRoutine that shares ownership of the same underlying coroutine. This allows multiple schedulers or containers to reference the same task.

Definition at line 25 of file Routine.cpp.

26 : m_handle(nullptr)
27{
28 if (other.m_handle) {
29 m_handle = other.m_handle;
30 }
31}
std::coroutine_handle< promise_type > m_handle
Handle to the underlying coroutine.
Definition Routine.hpp:460

References m_handle.