MayaFlux 0.1.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 199 of file Routine.cpp.

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

References m_handle.