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

◆ get_config()

std::optional< std::any > MayaFlux::Kinesis::Stochastic::Stochastic::get_config ( const std::string &  key) const

Gets configuration parameter.

Parameters
keyParameter name
Returns
Parameter value or std::nullopt

Definition at line 38 of file Stochastic.cpp.

39{
40 auto it = m_config.find(key);
41 if (it != m_config.end()) {
42 return it->second;
43 }
44 return std::nullopt;
45}
std::map< std::string, std::any > m_config

References m_config.

Referenced by generate_brownian_impl(), and rebuild_distributions_if_needed().

+ Here is the caller graph for this function: