MayaFlux 1.0.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 203 of file Routine.cpp.

204{
205 if (!m_handle) {
206 return nullptr;
207 }
208
209 auto& state_map = m_handle.promise().state;
210 auto it = state_map.find(key);
211 if (it != state_map.end()) {
212 return &it->second;
213 }
214 return nullptr;
215}
std::coroutine_handle< promise_type > m_handle
Handle to the underlying coroutine.
Definition Routine.hpp:468

References m_handle.