MayaFlux 0.2.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 208 of file Routine.cpp.

209{
210 if (!m_handle) {
211 return nullptr;
212 }
213
214 auto& state_map = m_handle.promise().state;
215 auto it = state_map.find(key);
216 if (it != state_map.end()) {
217 return &it->second;
218 }
219 return nullptr;
220}
std::coroutine_handle< promise_type > m_handle
Handle to the underlying coroutine.
Definition Routine.hpp:469

References m_handle.