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

◆ get_state_impl_raw()

void * MayaFlux::Vruta::SoundRoutine::get_state_impl_raw ( const std::string &  key)
overrideprotectedvirtual

Implements MayaFlux::Vruta::Routine.

Definition at line 190 of file Routine.cpp.

191{
192 if (!m_handle) {
193 return nullptr;
194 }
195
196 auto& state_map = m_handle.promise().state;
197 auto it = state_map.find(key);
198 if (it != state_map.end()) {
199 return &it->second;
200 }
201 return nullptr;
202}
std::coroutine_handle< promise_type > m_handle
Handle to the underlying coroutine.
Definition Routine.hpp:452

References m_handle.