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

◆ update_params_impl() [2/2]

template<typename T , typename... Args>
void MayaFlux::Vruta::Event::update_params_impl ( const std::string &  key,
T  value,
Args...  args 
)
inlineprotected

Implementation helper for update_params.

Parameters
promiseThe promise object to update
keyName of the state value
valueValue to store
argsRemaining key-value pairs to process

Recursive template function that processes each key-value pair in the update_params variadic argument list.

Definition at line 235 of file Event.hpp.

236 {
237 set_state(key, std::move(value));
238 if constexpr (sizeof...(args) > 0) {
239 update_params_impl(std::forward<Args>(args)...);
240 }
241 }
glm::vec3 value
void set_state(const std::string &key, T value)
Sets a named state value in the coroutine.
Definition Event.hpp:175
virtual void update_params_impl()
brief Implementation helper for update_params
Definition Event.hpp:222

References value.